LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Apache2, enabling user cgi-bin directories...? (https://www.linuxquestions.org/questions/slackware-14/apache2-enabling-user-cgi-bin-directories-700928/)

arfon 01-29-2009 09:17 PM

Apache2, enabling user cgi-bin directories...?
 
How do you enable cgi-bin directories for users?

I would like them to be at:

/home/USER/cgi-bin

Guidance?

John VV 01-29-2009 10:22 PM

seethe apache docs
http://httpd.apache.org/docs/2.2/
"Apache Tutorial: Dynamic Content with CGI"
http://httpd.apache.org/docs/2.2/howto/cgi.html
and "Per-user web directories"
http://httpd.apache.org/docs/2.2/howto/public_html.html
and "suEXEC Support"
http://httpd.apache.org/docs/2.2/suexec.html

arfon 01-30-2009 07:58 AM

Okay, so, does the
<Directory /home/*/public_html/cgi-bin/>
Options ExecCGI
SetHandler cgi-script
</Directory>
...go into /etc/httpd/httpd.conf or in /etc/httpd/extra/httpd-userdir.conf?


All times are GMT -5. The time now is 10:35 PM.