|
Posted by Martin Harran on 08/26/05 12:56
This is driving me nuts, I'm sure it is something simple or obvious I'm
missing but I just can't see it :(
Set up is W2003 SP1 i.e. IIS 6 with PHP Version 4.3.10
My basic structure is mydefaultsite.com under c:\inetpub\wwwroot. I also
have a number of sites, each with registered domain, which are stored on a
separate disk e.g. d:\Sites\myfirstsite, with HTTP headers for each site.
I'm using a simple test page called test.php to try this out, the page just
contains <?php phpinfo(); ?>
I cannot get this page to display in any of my sites in the d:\sites folder,
e.g myfirstsite.com\test.php gives "HTTP Error 404 - File or directory not
found".
It's not a php installation issue - if I create a virtual directory in my
default website pointing to folder containing myfirstsite.com, then
mydefaultsite.com\myvirtualdirectory\test.php displays ok.
It's not a script issue as an asp page works fine in both the above
situations.
Permissions seems the likely culprit but I've tried all the following to no
effect:
- sharing the myfirstsite folder with permission for everyone set to full
control
- enabling websharing on the myfirstsite folder
- specifically giving IUSR_machine name and IWAM_machinename access to the
d:\sites folder
- specifically giving IUSR_machine name and IWAM_machinename access to the
php.exe
One thing I do notice, is that IUSR_machine name and IWAM_machinename are
slightly out of kilter, the server name was changed after IIS was installed
and machinename is actually the former name but googling that suggests it
should not be an issue and is better left alone rather than trying to change
them.
Navigation:
[Reply to this message]
|