|
Posted by Willem Bogaerts on 02/13/07 15:48
Aggelos wrote:
> Hello,
> Is it possible to run a script that will be used from all the websites
> on the server outside of the web dir ?
> At the moment for every site I have I upload the script in the web dir
> of the specific site...
>
> Specifically it is a RichEditor so it has javascripts as well ...
> But it is difficult to maintain updates of the script to all websites
> so I would prefer if I had only one place to update it...
>
> Any ideas will be appreciated.
As it contains javascript, I understand that it has to be
browser-accessible. In that case, and since you are running unix, I
think a symbolic link is the easiest way.
Another approach is to share the directory in a source code control
system (subversion, for instance), but this will result in physical
multiple copies.
Best regards
--
Willem Bogaerts
Application smith
Kratz B.V.
http://www.kratz.nl/
Navigation:
[Reply to this message]
|