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.
Morning, can somebody help me with this problem, I've got Mandrake 8.2 running on my system with Apache setup and running quite happily, the only stumbling block is that Apache does not have access to the cgi-bin which is where I'm wanting to throw my perl scripts.
I've checked ownership/group of the cgi-bin, it was originally root and I've changed it to apache and still no luck.
Speedy help would be appreciated 'cos I can't get any further with my HNC web design assignment and it's got to be finished real soon.
have you uncommented the add handler for cgi execution in the /etc/httpd/httpd.conf? if not do that. script alias should be set correct by default or did you change the directory of the cgi-bin? cheers
jens
in my conf (/usr/local/apache/etc/hhtpd.conf) it is in line 831. that should look like:
AddHandler cgi-script cgi pl plx
it's important that the script (form.pl) is executable (chmod 0755 or 0777)
i'm not sure whether or not i forget sth important, but try that, if it doesn't work i'll have a closerl look at it again
cheers jens
that's the trick:
<Directory "/home/jens/webs/perl/cgi-bin">
Options +ExecCGI
</Directory>
put that to the httpd.conf, name the directory correct, that should work if you have the cgi-bin in your home directory
jens
to make it clearer:
go to the section `script alias' in httpd.conf. there you might find a line
Options none
replace the 'none' with '+ExecCGI'
i`m sorry i guess i made it more complicated than necessary yesterday
good luck
jens
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.