Projects/kde.org/Staging Setup: Difference between revisions

From KDE TechBase
No edit summary
 
No edit summary
Line 15: Line 15:
vHost for your localhost running on port 8080.
vHost for your localhost running on port 8080.


Listen 8080
  Listen 8080
<VirtualHost 127.0.0.1:8080>
  <VirtualHost 127.0.0.1:8080>
    DocumentRoot <path_to_www>
      DocumentRoot <path_to_www>
    ErrorDocument 404 /media/404.php
      ErrorDocument 404 /media/404.php
</VirtualHost>
  </VirtualHost>

Revision as of 05:36, 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 8080
 <VirtualHost 127.0.0.1:8080>
     DocumentRoot <path_to_www>
     ErrorDocument 404 /media/404.php
 </VirtualHost>