Re: Server Wide Scripts in a Linux Environment



Aggelos wrote:
Hello,
I have developed a content management system and every time I want to
create some short of server wide repository of the classes I am using.

So when I update a bug I don't have to go and edit the code or upload
the new file to every virtual site I have on the server.

Do you have any ideas of what is the best way to do it ?
I am on a Linux OS by the way.

If you need any further clarification, please ask.

Thank you.


Probably the easiest way to do this would be to use symbolic links to where you want the files to go (although it may not be the most secure as if one site is exploited they all could be). Alternatively if you use SVN or CVS you should have no problem doing exports where you want the files to go, maybe even scripting this.

Regards
Andrew
.



Relevant Pages

  • Re: Server Wide Scripts in a Linux Environment
    ... create some short of server wide repository of the classes I am using. ... I have developed a content management system that I am using in ... SVN or CVS like Andrew Hutchings suggested is probably one of the best ...
    (comp.lang.php)
  • Server Wide Scripts in a Linux Environment
    ... I have developed a content management system and every time I want to ... create some short of server wide repository of the classes I am using. ... If you need any further clarification, ...
    (comp.lang.php)
  • RE: Events Every 5 minutes (Userenv 1090, 1104)
    ... corruption in the repository for the Windows Management Instrumentation ... try rebuilding the WMI Repository using the following steps: ... Stop the Windows Management Instrumentation service, ... enable and start the "Collect Server ...
    (microsoft.public.windows.server.sbs)
  • Re: Offline update
    ... server is isolated and not able to go out on the web to RHN? ... *) Use another host with external access as a RHEL mirror, using "reposync" to mirror the entire download repository channels. ... which has a far more reliable software downlod and repository mirroring capability and has fundamental software compatibility with RHEL. ... The software channels and their associated DRM are one of the most irritating aspects of RHEL: even the recent "yum-rhn-plugin" in RHEL 5 is actually "up2date", wearing granny's nightgown, and ignores basic features of yum such as channel-specific configuration files to provide channel-specific "exclude" ...
    (linux.redhat)
  • Re: urgent: problem with IIS caching - delivers old files while new are there
    ... development server is okay. ... > physical directory which is not mapped to any existing IIS virtual ... >>> i replaced asp and other files one of my virtual site with new ones, ... >>> resolve the problem, i had to change the name of the file, and update ...
    (microsoft.public.inetserver.iis.security)