Sign-up so I do not to approve your messages any more.
I will even have to probably turn off "anonymous posting with approval first" since every day I now get about 10 "spam posts". Man those spammers what a waste of time...
Back to your question.
You probably don't know a tool called "Filemon". This tool is free and enables you to see in real time what is happening at the file system level (file reads/writes...). This is excellent to troubleshoot file permission issues on windows.
Get the tool here:
http://www.sitebuddy.com/windows/excellent_free_windows_administrator_software_tools
Then familiarize your self with the tool (about 5 to 10 minutes). To basically learn how to start and stop and clean the logging of file system events.
And if on a busy server or for convenient, learn how to use the filters, to reduce the amount of logging.
Now that you are familiar with FileMon.
Be ready to load your page in your browser (from a different machine if possible or if the same machine try to filter out the browsers activity). Now enable logging in FileMon and load the "faulty page" in your browser.
You should see a bunch of entries in FileMon related to your web page being loaded.
Now look at the "Results" column and search for any line with something like "access denied" or "not found".
Note: Sometimes these entries ("access denied" or "not found") can be intentional.
Most likely "access denied" will indicate a file your system is trying to access but does not adequate permissions. In the "Other" column you might even see the actually impersonated user (like IUSR_ServerName ).
Adjust permissions accordingly.
Now that you know "how to fish" (i.e. how to troubleshoot any permission issue on windows). My guess is that you need to adjust the permissions of your PHP folder. To test this quickly:
1) Set your site under IIS with: Application Protection: "Low (IIS Process)"
2) Give IUSR_Your_Server_Name account full permissions on your PHP folder only (write down the current IUSR_XXXX permissions) make sure you check the option to apply this permission to sub-folders.
3) Try to load your page. If it does not work, you might even want to reboot just in case your got some stuff locked up and try again.
If it works it is a permission issue...you should fine tune the IUSR_BLABLA user permissions to only what is required and nothing more...
In summary:
Most likely the PHP DLLS with Read_Execute
The temp folders (for upload and sessions) with read_write
Joined: 2006-01-02
Hi Jamel,
Sign-up so I do not to approve your messages any more.
I will even have to probably turn off "anonymous posting with approval first" since every day I now get about 10 "spam posts". Man those spammers what a waste of time...
Back to your question.
You probably don't know a tool called "Filemon". This tool is free and enables you to see in real time what is happening at the file system level (file reads/writes...). This is excellent to troubleshoot file permission issues on windows.
Get the tool here:
http://www.sitebuddy.com/windows/excellent_free_windows_administrator_software_tools
Then familiarize your self with the tool (about 5 to 10 minutes). To basically learn how to start and stop and clean the logging of file system events.
And if on a busy server or for convenient, learn how to use the filters, to reduce the amount of logging.
Now that you are familiar with FileMon.
Be ready to load your page in your browser (from a different machine if possible or if the same machine try to filter out the browsers activity). Now enable logging in FileMon and load the "faulty page" in your browser.
You should see a bunch of entries in FileMon related to your web page being loaded.
Now look at the "Results" column and search for any line with something like "access denied" or "not found".
Note: Sometimes these entries ("access denied" or "not found") can be intentional.
Most likely "access denied" will indicate a file your system is trying to access but does not adequate permissions. In the "Other" column you might even see the actually impersonated user (like IUSR_ServerName ).
Adjust permissions accordingly.
Now that you know "how to fish" (i.e. how to troubleshoot any permission issue on windows). My guess is that you need to adjust the permissions of your PHP folder. To test this quickly:
1) Set your site under IIS with: Application Protection: "Low (IIS Process)"
2) Give IUSR_Your_Server_Name account full permissions on your PHP folder only (write down the current IUSR_XXXX permissions) make sure you check the option to apply this permission to sub-folders.
3) Try to load your page. If it does not work, you might even want to reboot just in case your got some stuff locked up and try again.
If it works it is a permission issue...you should fine tune the IUSR_BLABLA user permissions to only what is required and nothing more...
In summary:
Most likely the PHP DLLS with Read_Execute
The temp folders (for upload and sessions) with read_write
Let me know how it goes,
C