Re: [PHP] Advice sought on PHP site maintenance
George Pitcher wrote: 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. Cheers George I really don't know the Windows world, but there _may_ be a way to set up include paths globally/locally. Sorry I can't be of more help. -- John C. Nichel ÜberGeek KegWorks.com 716.856.9675 [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Advice sought on PHP site maintenance
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:[EMAIL PROTECTED] > Sent: 16 August 2005 3:33 pm > To: php-general@lists.php.net > Subject: Re: [PHP] Advice sought on PHP site maintenance > > > ""George Pitcher"" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > > 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:[EMAIL PROTECTED] > > > 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). > > > > > > > > > -> > > > -> > > > -> > > > -> > > > -> > > > -> > > > -> > > > -> > > > -> > > > -> > > > -> > > > -> > > > > > > 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
Re: [PHP] Advice sought on PHP site maintenance
""George Pitcher"" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > 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:[EMAIL PROTECTED] > > 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). > > > > > > -> > > -> > > -> > > -> > > -> > > -> > > -> > > -> > > -> > > -> > > -> > > -> > > > > So on, and so forth. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Advice sought on PHP site maintenance
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. Cheers George > -Original Message- > From: John Nichel [mailto:[EMAIL PROTECTED] > 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). > > > -> > -> > -> > -> > -> > -> > -> > -> > -> > -> > -> > -> > > So on, and so forth. > > > > -- > John C. Nichel > ÜberGeek > KegWorks.com > 716.856.9675 > [EMAIL PROTECTED] > > -- > 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
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). -> -> -> -> -> -> -> -> -> -> -> -> So on, and so forth. -- John C. Nichel ÜberGeek KegWorks.com 716.856.9675 [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Advice sought on PHP site maintenance
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? MTIA George in Oxford -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php