Web Hosting Talk







View Full Version : Strange Forbidden Error


Bee
03-01-2002, 04:10 AM
These two URLs go to the same CGI script. The first one gives me a Forbidden error. The second one (preview URL) works fine. If any settings are wrong, then why not both URLs fail? Does anyone know what's going on?

Web server: Apache
Web server software: Ensim
Options +ExecCGI in /home/virtual/.htaccess
File path: /home/virtual/admin3/var/www/html/webdir.cgi
Permissions for webdir.cgi: 755

http://www.beetown.com/webdir.cgi (Forbidden)

http://216.40.227.216/~admin3/webdir.cgi (Works)

J Hero
03-01-2002, 05:35 AM
Take a look into apache error_log

AudiBoy
03-01-2002, 03:47 PM
probably using some sort of CGI wrapper which requires them to be run as the owner of the file

really nothing unusual about this..

bobcares
03-01-2002, 07:33 PM
Hi!
Both seem to be working..
Could you let us know what the problem was.
I guess it was something to do with suexec...

Have a great day :)

regards
amar

jahsh
03-01-2002, 08:57 PM
if this is ensim then the cgi-bin directory(or its contents) can't be group writeable, just figured that out today.