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
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
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.