You are here: RE: [PHP] Advice sought on PHP site maintenance « PHP « IT news, forums, messages
RE: [PHP] Advice sought on PHP site maintenance

Posted by "George Pitcher" on 08/16/05 17:53

Mark,

Thanks, I'll follow that up as well. I don't have to do this straight away.

Cheers

George

> -----Original Message-----
> From: Mark Rees [mailto:mrees@itsagoodprice.com]
> Sent: 16 August 2005 3:33 pm
> To: php-general@lists.php.net
> Subject: Re: [PHP] Advice sought on PHP site maintenance
>
>
> ""George Pitcher"" <george.pitcher@ingenta.com> wrote in message
> news:AMEPJAJDOFCDLPGFDOIFKEAEHGAA.george.pitcher@ingenta.com...
> > John,
> >
> > Thanks for the input. I just knew I hadn't covered everything. My server
> is
> > currently set up as NT4/IIS. I suppose I could look to
> switching to Apache
> > though.
>
> Far be it from me to discrouage you from switching to Apache. However, on
> IIS, you can store the include files and classes you wish to use across
> several sites in a single location. You can then make this
> accessible to all
> sites by adding the location in as a virtual directory. This basically
> allows you to refer to it as if it were a directory within your
> webroot (if
> I remember right, it's been a while).
>
> There's a brief guide here:
> http://www.mvps.org/marksxp/WindowsXP/IIS/iis3.php
>
> Giood luck
>
> Mark
>
> >
> > Cheers
> >
> > George
> >
> > > -----Original Message-----
> > > From: John Nichel [mailto:john@kegworks.com]
> > > Sent: 16 August 2005 2:25 pm
> > > To: php-general@lists.php.net
> > > Subject: Re: [PHP] Advice sought on PHP site maintenance
> > >
> > >
> > > George Pitcher wrote:
> > > > Hi,
> > > >
> > > > I manage several sites for my company. Some are running our own
> > > service to
> > > > about 80 customers and others are running a service for some (5
> > > and growing)
> > > > of our customers. Its the latter one that I need advice on.
> > > >
> > > > I have an application where each customer has a website on our
> > > service. The
> > > > functionality and layout are almost identical throughout these
> > > sites and I
> > > > am striving to move any differences into configuration files.
> > > However, when
> > > > I make a change, I then need to make that change on each site.
> > > >
> > > > I would like, if possible to maintain a single set of web pages and
> have
> > > > that work for all sites. I currently use PEAR::DB and Smarty
> > > templating. The
> > > > current url syntax is www.mysite.com/client/ and I would like
> > > to keep them
> > > > thinking that they each have their own unique site.
> > > >
> > > > Can anyone suggest a structure for this?
> > >
> > > If I'm reading you right, you're looking to keep a group of
> > > scripts/classes in one place that all sites can draw from. If this is
> > > the case, you could always set a global include directory
> (make it read
> > > only for the users of your service), and configure that path
> in Apache's
> > > httpd.conf or an .htaccess. I do this on our box (all the sites are
> > > ours, but when I have to update Smarty/PEAR/custom scripts, I like to
> > > just do it in one place).
> > >
> > > <VirtualHostDirectory>
> > > -><VirtualHost1>
> > > -><docs>
> > > -><VirtualHost2>
> > > -><docs>
> > > -><VirtualHost3>
> > > -><docs>
> > > -><VirtualHost4>
> > > -><docs>
> > > -><GlobalInclude>
> > > -><PEAR>
> > > -><Smarty>
> > > -><Custom>
> > >
> > > So on, and so forth.
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация