tsw Posted May 27, 2008 Share Posted May 27, 2008 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! Quote Link to comment Share on other sites More sharing options...
corbin Posted May 28, 2008 Share Posted May 28, 2008 Try opening httpd.conf and searching for wht, and see if you come across anything weird. Quote Link to comment Share on other sites More sharing options...
tsw Posted May 28, 2008 Author Share Posted May 28, 2008 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 :/.... Quote Link to comment Share on other sites More sharing options...
wildteen88 Posted May 28, 2008 Share Posted May 28, 2008 Have a look through Apaches error logs too. Seems a strange issue to me. Quote Link to comment Share on other sites More sharing options...
tsw Posted May 28, 2008 Author Share Posted May 28, 2008 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.