[EMAIL PROTECTED] Alias & PHP open/save dialog problem

2007-11-12 Thread SW
Hi Further to my initial success in aliasing specific files, I have another problem. If I go to my web homepage (index.php) then the PHP runs correctly and displays the homepage. However if I click on a link to access /performance.php, which triggers the following alias to get the performa

Re: [EMAIL PROTECTED] Sharing resources across virtual hosts

2007-11-09 Thread SW
> Unless: > > Alias /faqs.php /path/to/mainsite/docroot/faqs.php > > is valid? I can answer my own question now as I finally got a test server up and running on my local machine. It appears you can indeed map to specific files, and tests are working nicely so far :) Cheers Spencer

Re: [EMAIL PROTECTED] Sharing resources across virtual hosts

2007-11-09 Thread SW
> RewriteRules are good if you need complicated mappings. For something > simple they are not needed: > > > ServerName MainSite > DocumentRoot /path/to/www > > > > ServerName BrandedSite > DocumentRoot /path/to/www > Alias /css /path/to/branded/css > Alias /specialdir /path/to/specialdir >

Re: [EMAIL PROTECTED] Sharing resources across virtual hosts

2007-11-09 Thread SW
> 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

[EMAIL PROTECTED] Sharing resources across virtual hosts

2007-11-09 Thread SW
Hi Say you have 2 virtual hosts set up and one of them runs your main website. On the other virtual host you want to run a "branded" (ie: differently styled, using CSS) version of the main website. Rather than copying all the content from your main web over to the branded version (since that w