Jump to content

ForbiddenYou don't have permission to access / on this server.


shams

Recommended Posts

hi,
i have lcoal webserver for my domain, i can open my domain without problem, i added the virtual host when i try to open them this is the error:

Forbidden
You don't have permission to access / on this server.

DocumentRoot is the /home/user/www/html/htdocs and the permissions are set to 755 with the same permissions  my domain is working, any one can help please?
Link to comment
Share on other sites

Its loaded in my config, could that be whats my problem?  In my post below this one, I can't even get the default server to serve anything. It used to server the default pages, but when I moved the already existing content from an old server and changed the document root, it won't serve anything.

Help?
Link to comment
Share on other sites

Firstly try it with 777 as the permisions to see what happens.  Also chwon it to apache:apache (or whatever user name its running under).  If all that fails it may be something in your <directory> tags not allowing access.  Can you post you vhosts config bit?
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.