fedora You don’t have permission to access / on this server.


[XXXX@SSS]# cd /home/yoesoff/Documents/project/myvirtualdirectory
and my virtual host setting is

<VirtualHost 127.0.0.10:80>
    ServerAdmin webmaster@yakon.com
    ServerName http://www.yakon.com
    DocumentRoot /var/www/yokan_yokan/app/webroot
    <Directory />
        Options FollowSymLinks
        AllowOverride All
    </Directory>
    <Directory /var/www/yokan_yokan/app/webroot>
        Options Indexes FollowSymLinks MultiViews
        AllowOverride All
        allow from all
    </Directory>
</VirtualHost>

The setting Above always return   You don’t have permission to access / on this server.

I assumed that virtual host can be placed in anywhere but always return same error  “You don’t have permission to access / on this server.”

move here : /var/www/  And the problem is done

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s