News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Kae Verens' Blog:
Hosting multiple sites from the same CMS engine
January 21, 2009 @ 10:21:33

Kae Verens has a few tips to help simplify your life with your current content management system by using one code base to run multiple sites.

I haven't studied how other engines do it, but here's how I do it. First off, some benefits to sharing the CMS across separate sites: reduced resource usage, easier upgrades, easier bug-fixing. Convinced yet? Of course you are. Here's how you do it.

There's four steps to his process:

  • Separate out the site-specific files from one another
  • Serve all site-specific files out through a "proxy" script that can intelligently grab the needed ones based on the site
  • Override the default configuration at request time (forcing it to use that "proxy" script)
  • Create that proxy file that the web server can funnel the requests through (his example is included).
0 comments voice your opinion now!
host multiple website cms engine site specific configure proxy


blog comments powered by Disqus

Similar Posts

Secunia: rPath Update for gd and Multiple php Packages

Buildmeister.com: Automating the PHP deployment process with Phing, dbdeploy and FTP

Pablo Viquez: PHP debugging with JMeter and Zend Debugger

Jani Hartikainen's Blog: What would make template engines actually useful?

Helgi's Blog: New features and changes in pear.php.net


Community Events





Don't see your event here?
Let us know!


interview introduction release list version artisanfiles podcast symfony series framework language community laravel library voicesoftheelephpant security composer conference tool opinion

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework