User Tools

Site Tools


vhosts
no way to compare when less than two revisions

Differences

This shows you the differences between two versions of the page.


vhosts [2014/11/24 01:14] (current) – created 0.0.0.0
Line 1: Line 1:
 +====== Vhosts ======
  
 +===== Pitchfork =====
 +The following packages need to be installed:
 +  * {{Package|direct=yes|dev-php/PEAR-PEAR}}
 +
 +Create the following vhost:
 +{{File|/etc/apache/vhosts.d/04_pitchfork.sihnon.net.conf|<syntax lang="apache">
 +<VirtualHost *:80>
 +    # you will probably want to change the two following settings:
 +    ServerName pitchfork.sihnon.net
 +    ServerAlias pitchfork
 +    DocumentRoot /var/www/sihnon.net/pitchfork/html
 +    <Directory /var/www/sihnon.net/pitchfork/html>
 +            AllowOverride all
 +    </Directory>
 +    DirectoryIndex index.php
 +    Options -Indexes
 +    php_flag magic_quotes_gpc off
 +    php_flag display_errors off
 +    php_flag allow_url_fopen on
 +    php_flag log_errors on
 +    #AddType application/x-httpd-php .php
 +    # switch comment marks on the two items to disable access logging
 +    # completely for pitchfork. See INSTALL
 +    SetEnvIf Request_URI "player/command\.php" pitchforknolog
 +    #SetEnv pitchforknolog
 +</VirtualHost>
 +</syntax>}}
 +
 +Then extract the pitchfork source into <tt>/var/www/sihnon.net/pitchfork/pitchfork-//version//</tt>, and symlink the webroot to the appropriate directory
 +{{Command|<source lang="bash">
 +cd /var/www/sihnon.net/pitchfork
 +ln -s pitchfork-version html
 +</source>}}
vhosts.txt · Last modified: by 0.0.0.0

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki