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

4 posts / 0 new
Last post
#1 Fri, 05/25/2007 - 12:40
StephanLafontaine

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

Hi folks,

I'm working on migrating a number of websites I host from a WHM/CPanel environment to Webmin/Virtualmin. (In case anyone wants to know why, I'm planning on using Scalix as my email server.)

I used the Virtualmin/Add Servers/Migrate Server command to import a CPanel backup. It seems to move everything over. I've updated the A rec in the DNS on the WHM/CPanel server to point to the new server and while a tracert confirms I'm getting to the new server, my browser returns a "Forbidden - You don't have permission to access / on this serve" when I try to view the website.

Is this an Apache configuration issue?

Steve

Sun, 06/07/2009 - 07:03
ah...lifes...good

A couple of suggestions:

1. Check the permission of your index file (index.php or index.html etc.)

chmod 644 index.php

2. You may get that error message if you don't have an index file and you don't allow Indexes in your httpd.conf or .htaccess

Sun, 06/07/2009 - 07:03
ah...lifes...good

Also check permission of directory.

Sun, 06/07/2009 - 07:03
ah...lifes...good

ls -la
(to show list of files and directories with their permission setting)

Topic locked