Computing.Net > Forums > Linux > apache configuration.cgi-bin.URGENT

Computing.Net: Over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to sign up now, it's free!

apache configuration.cgi-bin.URGENT

Reply to Message Icon

Original Message
Name: jyoti
Date: May 23, 2005 at 04:50:54 Pacific
Subject: apache configuration.cgi-bin.URGENT
OS: RHL-EL-3
CPU/Ram: p4/512
Comment:

i want to configure cgi-bin directory such that /home/<usera/c>/cgi-bin
i.e every user should have own workspace for running cgi whereas the script alias I've set to
ScriptAlias /cgi-bin/ "/home/cgi-bin/"

It's urgent


Report Offensive Message For Removal


Response Number 1
Name: scooby108
Date: June 8, 2005 at 16:59:05 Pacific
Reply: (edit)

Don't know if you figured it out yet, but here is a response for others looking for the same thing.
Make sure the /home/(username)/cgi-bin directory exists with READ and EXECUTE permissions. Then, add this to httpd.conf:

<Directory "/home/(username)/cgi-bin/">
AllowOverride None
AddHandler cgi-script .cgi
Options ExecCGI
Order allow,deny
Allow from all
</Directory>



Report Offensive Follow Up For Removal







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Linux Forum Home








Do you own an iPhone?

Yes
No, but soon
No


View Results

Poll Finishes In 7 Days.
Discuss in The Lounge
Poll History




Data Recovery Software