Problems with cgi permissions. Hello, I have just intalled Apache 2.0.1 on fedora core 4, gnomeI manage to use a perl script for a cgi script by putting the perl file "first.pl" in /var/www/cgi-script/
BUT if I do the following: Make a simple c++ program writing to stout "hello world" try to compile using g++ 4.0.something, renaming the file to world.cgi chmod 755 world.cgi i get You don't have permission to access /cgi-bin/ttt.cgi on this server.Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.
In the errorlog it says :[Tue Aug 23 15:53:56 2005] [error] [client 127.0.0.1] (13)Permission denied: access to /cgi-bin/world.cgi denied [Tue Aug 23 15:53:56 2005] [error] [client 127.0.0.1] File does not exist: /var/www/html/favicon.ico
I have tried to fix thins in the httpd.conf file, even though I think it should not be necessary:
-----------snip------------------- ScriptAlias /cgi-bin/ "/var/www/cgi-bin/" # # "/var/www/cgi-bin" should be changed to whatever your ScriptAliased # CGI directory exists, if you have that configured. # <Directory "/var/www/cgi-bin"> AllowOverride None Options ExecCGI Order allow,deny Allow from all </Directory> ------snip----------------- I hope somebody can help me with this. Best regards, IB --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx