Question Regarding Local Host SubDirectory
| From: | Douglas Pollock | Date: | Mon, 23 Jun 2003 21:16:52 +0000 |
| Subject: | Question Regarding Local Host SubDirectory | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-20525@lists.php.net to get a copy of this message | ||
I have installed PHP4 on Windows XP Professional.
I have a C:\Inetpub\wwwroot and a C:\Inetpub\wwwroot\PHP directory.
When I use IE6 with a URL of http://localhost/php02.htm the
script php02.htm
works fine.
When I use IE6 with a URL of http://localhost/php/php02.htm I get a "The
page cannot be found" error.
I would like to keep my scripts organized in separate directories. Is there
a way to have the scripts recognized in addressable directories?
Thanks in advance
Doug
php02.php
-----------------------------------------------------------------
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>Untitled</title>
</head>
<body>
This is php02.htm
<?php print("hello, world"); ?>
</body>
</html>