All pastes #402313 Raw Edit

apache conf

public text v1 · immutable
·published 2007-03-19 21:02 UTC
rendered paste body
ServerRoot "/usr/local/apache2"


Listen 80



<IfModule !mpm_netware_module>

User www-data	
Group www-data
</IfModule>


ServerAdmin webmaster@dns

ServerName dominio.org

DocumentRoot /home/web


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


<IfModule dir_module>
    DirectoryIndex index.html index.htm default.htm 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>
      # You need to enable mod_logio.c to use %I and %O
      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/ "/usr/local/apache2/cgi-bin/"

</IfModule>

<IfModule cgid_module>
    
</IfModule>


<Directory "/home/web">
    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

    
</IfModule>


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