Forum Moderators: phranque
Congrats on your forum and community...looks great, and friendly people as well.
Anyway, here is my problem: I have configured my .htaccess to show ErrorDocuments as follows:
ErrorDocument 404 /errors/notfound.html
ErrorDocument 403 /errors/forbidden.html
ErrorDocument 401 /errors/authreq.html
So, when I type in http://www.example.com/indeeex.html, I get the correct errordoc, no probs here.
Now I check my docs in the cgi-local (I left these open for illustration purposes):
Try this: http://www.example.com/cgi-local/mcc/data/
I do get an errordoc (the text is dutch and similar to a 403), and I have two questions:
1. There is no protection on these dirs, so why the 403? All dirs in this tree are chmod 755...
2. I do get the 403, but without pics...so it does retrieve the errordoc as specified in the .htaccess, but why does it not load the pics? It does load the pics in the first example, so they are there...
Thanks in advance for all your help. I think I need to make some adjustments to my httpd.conf file, but am not sure...
Cheers,
HappyGoat Alex.
[edited by: jdMorgan at 12:06 am (utc) on Jan. 20, 2004]
[edit reason] No specific URLs, per TOS, Thanks! [/edit]
Welcome to WebmasterWorld [webmasterworld.com]!
It is likely that some other mechanisim is preventing access to your cgi-local directory. Since it would be the usual case that you would not want your cgi directories accessible to direct HTTP requests, it would not surprise me to find out that your httpd.conf is configured to protect that directory against direct HTTP access. In other words, scripts in that dir can be called from within the server, but pages/files within that dir cannot be accessed by typing their URLs into a browser. For security reasons, that is a good idea.
Jim