tommyelse Guest
|
Posted: Fri Aug 24, 2007 8:46 pm Post subject: Apache Web Server Permissions |
|
|
To anyone who can help,
I am running Windows XP service pack 2, Apache http server 2.2.4 and
active state perl 5.8.7.
httpd is configured as follows:
DocumentRoot "C:/Program Files/Apache Software Foundation/Apache2.2/
htdocs"
ScriptAlias /cgi-bin/ "C:/Program Files/Apache Software Foundation/
Apache2.2/cgi-bin/"
When I run a cgi program, Apache lets me do whatever I want to any
files in those two directories listed above.
However, if the cgi program I am running tries to access a file on my
hard drive; such as,
C:\test\test.doc, the program cannot access it. I get an error
message in the log stating that the path is not correct.
I know the path is correct, because if I put that file in the htdocs
directory or cgi-bin directory, the program opens the file and amends
it without any problems.
Tommy |
|