Forum Moderators: phranque

Message Too Old, No Replies

dynamic vhosts: multiple domains pointing to one directory?

         

safran

12:28 pm on Oct 20, 2004 (gmt 0)



Hello!

I've setup an apache2 webserver with dynamic vhosts.
Right now I can serve pages from /var/www/www.test.com/htdocs when I call [test.com,...] but I want the server to do the same when calling www.test.org.
So I created a symbolic link from www.test.org -> www.test.com, but the server shows me:

Forbidden
You don't have permission to access / on this server.
Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.

When removing the symbolic link, I get:

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

So it symbolic linking does not work, what would be the easiest way to achieve what I have described above?

Any help would be appreciated!

safran