Welcome to WebmasterWorld Guest from

Forum Moderators: Ocean10000 & incrediBILL & phranque

Message Too Old, No Replies

Apache and mod vhost alias

apache, mod_vhost_alias

1:39 pm on Feb 9, 2013 (gmt 0)

New User

10+ Year Member

joined:Mar 24, 2005
posts: 14
votes: 0


I manage my domains using mod_vhost_alias. All domains pointed down in /var/sites/%0/www
But I have a problem. I need to send all requests to one particular folder, but only if they do not exist in /var/sites/...

If www.domain.org not found in /var/sites/.., then this one request instead points down in the directory /var/no-sites/index.php - everything must be done dynamically.

How do I fix it?