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!

Link to comment
Share on other sites

hi corbin,

 

thanks for the response.

searched thru httpd.conf... no wht

searched thru for wh and didn't see anything out of ordinary either..

 

thanks... any other idea? pls :/....

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.