Difference between revisions of "Projects/kde.org/Staging Setup"

Jump to: navigation, search
Line 1: Line 1:
==Needed Software==
==Needed Software==

Revision as of 05:46, 5 October 2006

Needed Software

On the machine you use for this setup, you need to have installed a Linux/*BSD with a working Apache (1 or 2) with mod_php4.

Getting the needed module from SVN

You need to checkout the www module from our SVN, it's located in /trunk. The www module will be the documentroot of your apache, therefor keep care that the apache process can read this dir.

Setup of the Apache vHost for the Staging

You need to setup a vHost for the staging, here an example to have some vHost for your localhost running on port 8080.

 # listen on this port, too
 Listen 8080
 # staging vhost
     # set documentroot + 404 handler
     DocumentRoot <path_to_www>
     ErrorDocument 404 /media/404.php
     # php part
     php_value short_open_tag Off
     php_value register_globals No
     php_value safe_mode On
     php_value include_path ".:<path_to_www>/media/includes"

Using the Staging

After restarting your Apache, you should have a running staging area on You can now simply access and test all *.kde.org sites within this vhost. They all will behave like they are on their own domain, in their own vhost.

www.kde.org is now available under:

pim.kde.org is now available under:

Content is available under Creative Commons License SA 4.0 unless otherwise noted.