Jump to content

403 errors with any file beginning with "wht"


tsw

Recommended Posts

Hi all,

 

has anyone seen this odd behavior before? accessing any files from apache thru browser that start with wht keywords gives a 403 access forbidden error.

file permissions are all right... even 777 gives this error.

 

any ideas where to look for this permission denied?

our files are on solaris and ARE NOT related to "web hosting toolkit"...

could this be a bug with apache?

 

thanks in advance for any help!

hi all,

 

finally found the problem...

customer put in based some security to deny .htaccess file to be accessed with something like:

 

<filesmatch ^.ht>

...

</filesmatch>

 

but the correct syntax should be:

 

<filesmatch "^\.ht">

...

</filesmatch>

 

i believe . matches any single character in POSIX regexp...

they really needed a \.

 

thanks all!

hopefully this will help somebody in the future.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.