Jump to content

403 Forbidden help


neo777ph

Recommended Posts

"Forbidden

You don't have permission to access / on this server." - My browser reflects this error while I had tried to check if apache perfectly interprets PHP files. I am stuck with the httpd configuration. I believe I lack some right's configuration. I just don't know what should o change on the httpd file.please help me.

 

the apache and PHP installer I had used are:

apache_2.2.4-win32-x86-no_ssl.msi

php-5.2.2-Win32

 

thank's a lot!

 

Link to comment
https://forums.phpfreaks.com/topic/52439-403-forbidden-help/
Share on other sites

Guest JMitchell

Do you have an file which is specified in your DirectoryIndex setting in the DocumentRoot

 

e.g.

If you have:

DocumentRoot c:/htdocs

DocumentIndex index.html

 

Does index.html exist?

 

I'd say possibly if this is your first PHP and Apache installation, you missed adding index.php to the DocumentIndex setting, and because your running apache 2.2 your going to need to download seperately the php module for apache 2.2 seperately and specify it in your httpd.conf

 

http://php.net/install.windows.apache2

 

Apache 2.2.x Support:  Users of Apache 2.2.x may use the documentation below except the appropriate DLL file is named php5apache2_2.dll and it only exists as of PHP 5.2.0. See also » http://snaps.php.net/
Link to comment
https://forums.phpfreaks.com/topic/52439-403-forbidden-help/#findComment-258765
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.