I created a php script. The only text it had on it was <? phpinfo() ?> i then put it
in Apache's htdoc root directory. I later tried to access it via my web browser. Everytime
I tried, A Windows error would pop up and say It could not acces the speciefied device,
path, or file. Then it would say i might not have permission to access the item. I'm
including the parts of the main Apache config I edited to install php4.0.6-Win32
ScriptAlias: This controls which directories contain server scripts.
ScriptAliases are essentially the same as Aliases, except that
documents in the realname directory are treated as applications and
run by the server when requested rather than as documents sent to the client.
The same rules about trailing "/" apply to ScriptAlias directives as to
Alias.
#
ScriptAlias /cgi-bin/ "C:/Program Files/Apache Group/Apache/cgi-bin/"
edited-->ScriptAlias /php4/ "C:/php4/"
#
AddType allows you to tweak mime.types without actually editing it, or to
make certain files to be certain types.
#
For example, the PHP 3.x module (not part of the Apache distribution - see
#
#AddType application/x-httpd-php3 .phtml
#AddType application/x-httpd-php3-source .phps
edited--> AddType application/x-httpd-php .php .phtml .html
AddType application/x-httpd-php-source .phps<--Editend
#
Action lets you define media types that will execute a script whenever
a matching file is called. This eliminates the need for repeated URL
pathnames for oft-used CGI file processors.
Format: Action media/type /cgi-script/location
Format: Action handler-name /cgi-script/location
edited--># Action application/x-httpd-php /php4/php.exe
Hope you guys can help me out!Here is my error log too!
Apache server shutdown initiated...
Apache server shutdown initiated...
Apache server shutdown initiated...
Apache server shutdown initiated...
Apache server shutdown initiated...
Apache server shutdown initiated...
Apache server shutdown initiated...
Apache server shutdown initiated...
[Fri Nov 23 22:45:45 2001] [error] [client 66.92.170.208] File does not exist: c:/program files/apache group/apache/htdocs/scripts/root.exe
[Fri Nov 23 22:45:50 2001] [error] [client 66.92.170.208] File does not exist: c:/program files/apache group/apache/htdocs/msadc/root.exe
[Fri Nov 23 22:45:52 2001] [error] [client 66.92.170.208] File does not exist: c:/program files/apache group/apache/htdocs/c/winnt/system32/cmd.exe
Apache server shutdown initiated...
Apache server shutdown initiated...
Apache server shutdown initiated...
[Sat Nov 24 13:46:49 2001] [error] [client 66.76.71.13] File does not exist: c:/program files/apache group/apache/htdocs/scripts/root.exe
[Sat Nov 24 13:46:49 2001] [error] [client 66.76.71.13] File does not exist: c:/program files/apache group/apache/htdocs/msadc/root.exe
[Sat Nov 24 13:46:50 2001] [error] [client 66.76.71.13] File does not exist: c:/program files/apache group/apache/htdocs/c/winnt/system32/cmd.exe
[Sat Nov 24 13:46:51 2001] [error] [client 66.76.71.13] File does not exist: c:/program files/apache group/apache/htdocs/d/winnt/system32/cmd.exe
[Sat Nov 24 13:46:51 2001] [error] [client 66.76.71.13] File does not exist: c:/program files/apache group/apache/htdocs/scripts/..%5c/winnt/system32/cmd.exe
[Sat Nov 24 13:46:52 2001] [error] [client 66.76.71.13] File does not exist: c:/program files/apache group/apache/htdocs/vti_bin/..%5c/..%5c/..%5c/winnt/system32/cmd.exe
[Sat Nov 24 13:46:52 2001] [error] [client 66.76.71.13] File does not exist: c:/program files/apache group/apache/htdocs/mem_bin/..%5c/..%5c/..%5c/winnt/system32/cmd.exe
[Sat Nov 24 13:46:53 2001] [error] [client 66.76.71.13] File does not exist: c:/program files/apache group/apache/htdocs/msadc/..%5c/..%5c/..%5c/..Á/..Á/..Á/winnt/system32/cmd.exe
[Sat Nov 24 13:46:54 2001] [error] [client 66.76.71.13] File does not exist: c:/program files/apache group/apache/htdocs/scripts/..Á/winnt/system32/cmd.exe
[Sat Nov 24 13:46:55 2001] [error] [client 66.76.71.13] File does not exist: c:/program files/apache group/apache/htdocs/scripts/..À¯/winnt/system32/cmd.exe
[Sat Nov 24 13:46:55 2001] [error] [client 66.76.71.13] File does not exist: c:/program files/apache group/apache/htdocs/scripts/..Áœ/winnt/system32/cmd.exe
[Sat Nov 24 13:46:57 2001] [error] [client 66.76.71.13] File does not exist: c:/program files/apache group/apache/htdocs/scripts/..%5c/winnt/system32/cmd.exe
[Sat Nov 24 13:46:58 2001] [error] [client 66.76.71.13] File does not exist: c:/program files/apache group/apache/htdocs/scripts/..%2f/winnt/system32/cmd.exe
Apache server shutdown initiated...
Apache server shutdown initiated...
Apache server shutdown initiated...
[Sat Nov 24 20:22:51 2001] [error] [client 66.76.152.145] File does not exist: c:/program files/apache group/apache/htdocs/scripts/root.exe
[Sat Nov 24 20:22:54 2001] [error] [client 66.76.152.145] File does not exist: c:/program files/apache group/apache/htdocs/msadc/root.exe
[Sat Nov 24 20:22:57 2001] [error] [client 66.76.152.145] File does not exist: c:/program files/apache group/apache/htdocs/c/winnt/system32/cmd.exe
[Sat Nov 24 20:23:01 2001] [error] [client 66.76.152.145] File does not exist: c:/program files/apache group/apache/htdocs/d/winnt/system32/cmd.exe
[Sat Nov 24 20:23:07 2001] [error] [client 66.76.152.145] File does not exist: c:/program files/apache group/apache/htdocs/scripts/..%5c/winnt/system32/cmd.exe
[Sat Nov 24 20:23:10 2001] [error] [client 66.76.152.145] File does not exist: c:/program files/apache group/apache/htdocs/vti_bin/..%5c/..%5c/..%5c/winnt/system32/cmd.exe
[Sat Nov 24 20:23:13 2001] [error] [client 66.76.152.145] File does not exist: c:/program files/apache group/apache/htdocs/mem_bin/..%5c/..%5c/..%5c/winnt/system32/cmd.exe
[Sat Nov 24 20:23:17 2001] [error] [client 66.76.152.145] File does not exist: c:/program files/apache group/apache/htdocs/msadc/..%5c/..%5c/..%5c/..Á/..Á/..Á/winnt/system32/cmd.exe
[Sat Nov 24 20:23:20 2001] [error] [client 66.76.152.145] File does not exist: c:/program files/apache group/apache/htdocs/scripts/..Á/winnt/system32/cmd.exe
[Sat Nov 24 20:23:26 2001] [error] [client 66.76.152.145] File does not exist: c:/program files/apache group/apache/htdocs/scripts/..À¯/winnt/system32/cmd.exe
[Sat Nov 24 20:23:30 2001] [error] [client 66.76.152.145] File does not exist: c:/program files/apache group/apache/htdocs/scripts/..Áœ/winnt/system32/cmd.exe
[Sat Nov 24 20:23:38 2001] [error] [client 66.76.152.145] File does not exist: c:/program files/apache group/apache/htdocs/scripts/..%5c/winnt/system32/cmd.exe
[Sat Nov 24 20:23:41 2001] [error] [client 66.76.152.145] File does not exist: c:/program files/apache group/apache/htdocs/scripts/..%2f/winnt/system32/cmd.exe
[Sat Nov 24 21:17:15 2001] [error] [client 66.76.65.52] File does not exist: c:/program files/apache group/apache/htdocs/scripts/root.exe
[Sat Nov 24 21:17:16 2001] [error] [client 66.76.65.52] File does not exist: c:/program files/apache group/apache/htdocs/msadc/root.exe
[Sat Nov 24 21:17:17 2001] [error] [client 66.76.65.52] File does not exist: c:/program files/apache group/apache/htdocs/c/winnt/system32/cmd.exe
[Sat Nov 24 21:17:18 2001] [error] [client 66.76.65.52] File does not exist: c:/program files/apache group/apache/htdocs/d/winnt/system32/cmd.exe
[Sat Nov 24 21:17:18 2001] [error] [client 66.76.65.52] File does not exist: c:/program files/apache group/apache/htdocs/scripts/..%5c/winnt/system32/cmd.exe
[Sat Nov 24 21:17:19 2001] [error] [client 66.76.65.52] File does not exist: c:/program files/apache group/apache/htdocs/vti_bin/..%5c/..%5c/..%5c/winnt/system32/cmd.exe
[Sat Nov 24 21:17:20 2001] [error] [client 66.76.65.52] File does not exist: c:/program files/apache group/apache/htdocs/mem_bin/..%5c/..%5c/..%5c/winnt/system32/cmd.exe
[Sat Nov 24 21:17:21 2001] [error] [client 66.76.65.52] File does not exist: c:/program files/apache group/apache/htdocs/msadc/..%5c/..%5c/..%5c/..Á/..Á/..Á/winnt/system32/cmd.exe
[Sat Nov 24 21:17:22 2001] [error] [client 66.76.65.52] File does not exist: c:/program files/apache group/apache/htdocs/scripts/..Á/winnt/system32/cmd.exe
[Sat Nov 24 21:17:23 2001] [error] [client 66.76.65.52] File does not exist: c:/program files/apache group/apache/htdocs/scripts/..À¯/winnt/system32/cmd.exe
[Sat Nov 24 21:17:24 2001] [error] [client 66.76.65.52] File does not exist: c:/program files/apache group/apache/htdocs/scripts/..Áœ/winnt/system32/cmd.exe
[Sat Nov 24 21:17:26 2001] [error] [client 66.76.65.52] File does not exist: c:/program files/apache group/apache/htdocs/scripts/..%5c/winnt/system32/cmd.exe
[Sat Nov 24 21:17:27 2001] [error] [client 66.76.65.52] File does not exist: c:/program files/apache group/apache/htdocs/scripts/..%2f/winnt/system32/cmd.exe