running cgi scripts in other directories
Hi everybody,
I wanted to know if I could run CGI-Perl scripts in a directory other than the /cgi-bin directory. The directory structure of my webserver is something like this - ... ... /cgi-bin /httpdocs /httpsdocs ... ... I wanted to know if I could execute CGI-Perl scripts inside a sub-directory under /httpdocs For instance - /httpdocs/scripts/try.cgi The URL - http://www.domain.com/ - points to the /httpdocs directory and the URL - http://www.domain.com/cgi-bin/ - points to the /cgi-bin directory. Right now I can only run scripts in the /cgi-bin directory. Thank You. |
//Please don't crosspost. It's bad netiquette, a waste of time for LQ members and not respectful towards those whose resources you're using. The fact your question wasn't answered yesterday doesn't give you any right to crosspost. Bump the thread if you have to, but better try being patient. If you're impatient or need it really quick, consider supporting the Linux case by hiring a local Linux guru.
That said, it's an Apache thing. Look in httpd.conf for how the container for the cgi-bin directory was set up with ExecCGI. |
sorry for the cross post. guess i was a bit impatient. anyway, for a college student, hiring a professional to do a job isn't feasible.
anyways, my mistake. |
All times are GMT -5. The time now is 05:02 AM. |