ScriptAlias - cgi-bin
Hi,
I have got mysql working, DBI and Perl but when I try to config apache to accept the ScriptAlias I get the following message when I try to restart apache: Executing: /etc/rc5.d/S85httpd start > Starting httpd: Syntax error on line 4 of /etc/httpd/conf/httpd.conf: > Invalid command 'ScriptAlias', perhaps mis-spelled or defined by a module not included in the server configuration > [FAILED] I fill in the ScriptAlias box as </cgi-bin/ /var/www/cgi-bin/>. The "May execute CGI" box is crossed. I've set all the files and directories to nobody/nogroup. Any help would be appreciated. David |
i guess u have to enclose the directory in ""
"/var/www/cgi-bin/" that's the way in my config and it works if this is not the solution post your entire <ScriptAlias-tag> good luck jens |
...a couple lines below the ScriptAlias there u have to define the same directory once more but without a / at the end
have u done that? |
Hi j-ray,
Thanks for your input. I just got it working by using Webmin. I went to Servers > Apache Webserver > Virtual servers > default server > Per-directory options > Directory /var/www/cgi-bin > Access control > There I set "Allow all requests" and it worked!!! Now I have to find out what has really happened. One book told me that it was all a matter of directory permissions. I tried everything I could think of but it wouldnt work. My error log was telling me "client denied by server configuration". I have been trying to setup with linuxconf and I cannot see any changes after my new settings with webmin. I've had trouble before with linuxconf putting the conf files in a different directory. Maybe this has happened this time. Anyway, thanks |
All times are GMT -5. The time now is 11:10 AM. |