Looking at my own config file, you have three extra characters.  No ~ after 
Files, and no ^\ before .ht.
 Note that this is on a Windows server and I am aware that there are some 
differences between Windows and the various unix variants. 
  
 Jim
  
  
  
  

----------------------------------------
 From: v...@michvhf.com
Sent: Thursday, June 23, 2016 1:55 PM
To: users@httpd.apache.org
Subject: [users@httpd] Files and Require   

I just upgraded from 2.0.55 to 2.4.20. I'm getting a syntax error on
startup on this:

<Files ~ "^\.ht">
Require all denied
</Files>

in the main configuration. Everything I've found in the docs say this is
how it's done. Is this supposed to be in a container or something?

Thanks!
Vince.
--
Michigan VHF Corp. http://www.nobucks.net/ http://www.CDupe.com/
http://www.foggymist.com The Foggy Mist Emporium

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

 

Reply via email to