sorry Walter, ANDREW thank you, YOU saved my day ! Andrew Boyce-Lewis wrote:
Make sure that selinux isn't causing the problem. Either set it to 'disabled' or 'permissive' in /etc/selinux/config (you will need to reboot).You should be able to see logs about selinux in /var/log/messages.Good luck, -Andrew Andrew E. Boyce-Lewis System and Network Administrator Conduit Internet Technologies, Inc. 800.493.5045 x 210 814.867.8248 Fax http://www.conduit-it.com aboyce@xxxxxxxxxxxxxx <mailto:aboyce@xxxxxxxxxxxxxx> On Aug 23, 2005, at 10:01 AM, Ivar Bratberg wrote: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.icoI 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 <mailto:users-unsubscribe@xxxxxxxxxxxxxxxx> " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx <mailto:users-digest-unsubscribe@xxxxxxxxxxxxxxxx> For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx <mailto:users-help@xxxxxxxxxxxxxxxx>
--------------------------------------------------------------------- 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