I have been working with my apache configuration, in one server where I only have one site.

That is the main site, and today I have tried to add a second site, a virtual one.

Of course I have created two virtual sites, one for the main site (otherwise it just dissapears), and the other for the real virtual site.

After I have created it, I have kept getting 403 forbidden errors. When I checked in the error_log file I found this error.

client denied by server configuration

Well after googling a little, I found the solution, and it was pretty simple.

Just be sure to have these lines in the Directory configuration of the virtual server.

        Options FollowSymLinks
        AllowOverride None
        Order deny,allow
        Allow from all

That is all, it will work then.