Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.