Jump to content

vhost 403 forbidden


kb2tfa

Recommended Posts

I setup vhost according to the manual, but I get a permission issue when I try to access the site.

 

The path is /usr/home/user/public_html  on freebsd 6.2

 

this folder is 755 but cannoot use it.

 

the only folder that works is root folder /usr/local/www/data

 

I don't understand why the permission comes about.

 

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

 

 

NameVirtualHost *:80

 

<VirtualHost *:80>

ServerAdmin my email

DocumentRoot /usr/home/user1/public_html

ServerName mylocalhost

</VirtualHost>

 

but if the path is www then it works

 

 

<VirtualHost *:80>

ServerAdmin my email

DocumentRoot /usr/local/www/www.kb2tfa.com/public_html

ServerName localhost

</VirtualHost>

Link to comment
https://forums.phpfreaks.com/topic/40458-vhost-403-forbidden/
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.