Jump to content

[SOLVED] Best way to access files outsite site root?


Fynn

Recommended Posts

Hi,

 

I've an Apache config with a number of name based vhosts running within a common root.

 

Within the same root directory, I have a library of common javascript / css / image files that I would like to be able to reference from within any site root.

 

I've read about following symlinks etc., but I'm not sure that's the best way to proceed.  Essentially, I was looking for a redirect I could put in the <virtualhost> declaration which would redirect all requests to /library to the library folder which sits outside the root of that particular vhost.

 

Any ideas?

 

Thanks in anticipation.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.