Re: Sharing resources across virtual hosts

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> 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.

To further expand on the scenario, there may be several branded webs, in addition to each one having it's own stylesheet it will also have it's own index.php and contact.php pages but will share faqs.php and gallery.php with the main site. So each branded needs it's own document root and vhost but pull in faqs.php and gallery.php and apply it's style sheet to them.

Can rewrite rules be used, like aliases, to map to resources that are not within the webroot? I don't see any examples of this on this page http://httpd.apache.org/docs/2.0/mod/mod_rewrite.html.

Thanks
Spencer


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux