All pastes #187042 Raw Edit

Miscellany

public text v1 · immutable
#187042 ·published 2006-09-30 19:02 UTC
rendered paste body
ServerRoot "/usr/local/apache-2.2.3"
Listen 80
LoadModule php5_module        modules/libphp5.so

<IfModule !mpm_netware_module>
User daemon
Group daemon
</IfModule>

ServerAdmin kirsch@example.com
ServerName example.com
DocumentRoot "/www/example.com/ht_docs"

<Directory /www>
    Options FollowSymLinks
    AllowOverride None
    Order deny,allow
    Deny from all
</Directory>

<Directory "/www">
    Options Indexes FollowSymLinks Includes
    AllowOverride None
    Order allow,deny
    Allow from all
</Directory>

<IfModule dir_module>
    DirectoryIndex index.html index.htm index.shtml index.php
</IfModule>

<FilesMatch "^\.ht">
    Order allow,deny
    Deny from all
    Satisfy All
</FilesMatch>

ErrorLog logs/error_log
LogLevel warn

<IfModule log_config_module>
    LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
    LogFormat "%h %l %u %t \"%r\" %>s %b" common

    <IfModule logio_module>
      LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %I %O" combinedio
    </IfModule>
    CustomLog logs/access_log common
</IfModule>

<IfModule alias_module>
    ScriptAlias /cgi-bin/ "/www/example.com/cgi-bin/"
</IfModule>

<IfModule cgid_module>
</IfModule>

<Directory "/www/example.com/cgi-bin">
    AllowOverride None
    Options None
    Order allow,deny
    Allow from all
</Directory>

DefaultType text/plain
<IfModule mime_module>
    TypesConfig conf/mime.types
    AddType application/x-compress .Z
    AddType application/x-gzip .gz .tgz
    # AddType application/x-httpd-php .php
    # AddType application/x-httpd-php-source .phps
    AddType text/html .shtml
    AddOutputFilter INCLUDES .shtml
</IfModule>

AddHandler application/x-httpd-php .php .phtml

Include conf/extra/httpd-vhosts.conf

<IfModule ssl_module>
SSLRandomSeed startup builtin
SSLRandomSeed connect builtin
</IfModule>