| Author |
What are ScriptAliased directories?
|
|
|
| I am having trouble getting CGI's to work in user directories. I think
part of the problem is that I don't understand how apache handles CGI
scripts.
I am working on a mac and have started with the default apache config,
which has CGI scripts go into the directory:
/Library/WebServer/CGI-Executables/
Does the apache directive 'ScriptAlias /cgi-bin/
"/Library/WebServer/CGI-Executables/"' mean that a directory placed in
a user's Sites folder called "cgi-bin" should be able to call any
script in CGI-Executables? Is an actual directory called cgi-bin
treated as an alias for CGI-Executables?
Yes, I'm a newbie...
| |
| MikeDawg 2006-02-17, 10:30 pm |
| /Library/WebServer/CGI-Executables is being treated as an alias for
/htdocs/cgi-bin (where htdocs is the root of your httpd server).
If a user goes to http://your.site/cgi-bin/ in all actuality they
are really aiming towards your /Library/WebServer/CGI-Executables/
directory.
| |
|
| Thanks MikeDawg - I've finally got this working.
|
|
|
|