On Nov 9, 2007 7:39 AM, Krist van Besien <[EMAIL PROTECTED]> wrote:
> On Nov 9, 2007 11:54 AM, SW <[EMAIL PROTECTED]> wrote:
>
> > Any help or pointers greatly appreciated.
>
> Have a look at rewriterules.
> Probably you could have both virtual hosts share the same docroot, but
> rewrite requests for the css stylesheets to the branded version on one
> of your vhosts.

RewriteRules are good if you need complicated mappings. For something
simple they are not needed:

<VirtualHost *:80>
ServerName MainSite
DocumentRoot /path/to/www
</VirtualHost>

<VirtualHost *:80>
ServerName BrandedSite
DocumentRoot /path/to/www
Alias /css /path/to/branded/css
Alias /specialdir /path/to/specialdir
</VirtualHost>

Joshua.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to