RE: Advice sought on PHP site maintenance

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxx]
> Sent: 16 August 2005 3:33 pm
> To: php-general@xxxxxxxxxxxxx
> Subject: Re:  Advice sought on PHP site maintenance
>
>
> ""George Pitcher"" <george.pitcher@xxxxxxxxxxx> wrote in message
> news:AMEPJAJDOFCDLPGFDOIFKEAEHGAA.george.pitcher@xxxxxxxxxxxxxx
> > 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@xxxxxxxxxxxx]
> > > Sent: 16 August 2005 2:25 pm
> > > To: php-general@xxxxxxxxxxxxx
> > > Subject: Re:  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
>
>

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux