ivytony Posted October 15, 2008 Share Posted October 15, 2008 OK, I have this file on my server http://www.rcholic.com/cgi-bin/uu_upload.pl However, when I try to run it in the browser (firefox 3), I got 404 error: Not Found The requested URL /cgi-bin/uu_upload.pl was not found on this server. However, I have the following code in the virtual host in httpd.conf ScriptAlias /cgi-bin/ /home/rchol/public_html/cgi-bin <Directory /home/rchol/public_html/cgi-bin> Options ExecCGI SetHandler cgi-script </Directory> The cgi-bin folder and its subfolder & files are all chmod to 755, and the ownership is correct. I wonder what could be wrong ??? ???. I appreciate your reply Quote Link to comment Share on other sites More sharing options...
corbin Posted October 16, 2008 Share Posted October 16, 2008 http://httpd.apache.org/docs/2.2/mod/mod_alias.html#alias (ScriptAlias is similar to Alias.) "Note that if you include a trailing / on the url-path then the server will require a trailing / in order to expand the alias. That is, if you use Alias /icons/ /usr/local/apache/icons/ then the url /icons will not be aliased." Try making your slashes on the ScriptAlias directive match up. Quote Link to comment Share on other sites More sharing options...
neogranas Posted October 17, 2008 Share Posted October 17, 2008 I may be leading you on a side trail that goes no where, but you may also want to look at putting in an 'allow from all' line in there to make sure apache isn't blocking access. 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.