Check out the howto.
update: I'm not a apache 2.2 expert by anymeans but I think you're going to want something like this in your httpd.conf:
That being said ... I think one of the drawbacks to your approach is your exposing way too much of your underlying architecture. User's are going to see something like this:<Directory /usr/local/apache/htdocs/*/cgi-bin> Options +ExecCGI </Directory>
I think a better approach would be to either use virtual servers:http://bioinfo-z.comp.nus.edu.sg/Test/cgi-bin/foo http://bioinfo-z.comp.nus.edu.sg/WebApp1/cgi-bin/bar http://bioinfo-z.comp.nus.edu.sg/WebApp2/cgi-bin/baz
Or something like CGI::Applicationhttp://test.comp.nus.edu.sg/cgi-bin/foo http://webapp1.comp.nus.edu.sg/cgi-bin/bar http://webapp2.comp.nus.edu.sg/cgi-bin/baz
http://bioinfo-z.comp.nus.edu.sg/cgi-bin/test?mode=foo http://bioinfo-z.comp.nus.edu.sg/cgi-bin/webapp1?mode=bar http://bioinfo-z.comp.nus.edu.sg/cgi-bin/webapp2?mode=baz
In reply to Re^3: Enabling CGI Script from Apache's htdocs directory
by derby
in thread Enabling CGI Script from Apache's htdocs directory
by monkfan
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |