All pastes #415952 Raw Edit

Untitled

public text v1 · immutable
#415952 ·published 2007-03-29 23:30 UTC
rendered paste body
ServerTokens Prod

### Entorno Global ###

ServerRoot "usr/local/apache2"

PidFile logs/httpd.pi

<IfModule !perchild.c>
	ScoreBoardFile logs/apache_runtime_status
</IfModule>

Timeout 300
KeepAlive On
MaxKeepAliveRequests 100
KeepAliveTimeout 15

<IfModule threaded.c>
	StartServers		3
	MaxClients		8
	MinSpareThreads		5
	MaxSpareThreads		10
	ThreadsPerChild		25
	MaxRequestsPerChild	30
</IfModule>

### Configuracion rpincipal del servidor ###

Listen *:80
User pau	
Group	local
ServerAdmin pct_87@hotmail.com

#Aañadido	
ServerName www.hdi.com

DocumentRoot "usr/local/apache2/htdocs"

<Directory />
	Options FollowSymLinks
	AllowOverride None
</Directory>

UserDire public_html
DirectoryIntex index.html
AccessFileName .htaccess

<Files ~ "^\.ht">
	Order allow,deny
	Deny from all
</Files>

UseCanonicalName On
TypesConfig conf/mime.types
DefaultType text/plain

<IfModule mod_mime_magic.c>
	MIMEMagicFile conf/magic
</IfModule>

HostnameLookups Off
ErrorLog logs/error_log
LogLevel warn
LogFormat "%h %l %t  \"%r\" %>s %b \"%{Referer]i\" \"%{User-Agent}i\"" combined
LogFormat "%{Referer}i -> %U" referer
LogFormat "%{User-agent}i" agent
CustomLog logs/acces_log common
ServerSignature On
Alias /icons/ "/usr/local/apache2/icons/"

<Directory "usr/local/apache2/icons">
	Options Indexes MultiViews
	AllowOverride None
	Order allow,deny
	Allow from all
</Directory>

IndexOptions FanciIndexing VersionSort
AddIconByEncoding (CMP, /icons/compressed.gif) x-compress x-gzip

AddIconByType (TXT,/icons/text.gif) text/*

AddIcon /icons/binary.gif .bin .exe

DefaultIcon /icons/unknown.gif
ReadmeName README
HeaderName HEADER
IndezIgnore .??* *~ *# HEADER* README* RCS CVS *,v *,t
AddEncoding x-compress Z
AddEncoding x-gzip gz tgz

AddLanguage da .dk
AddLanguage nl .nl
AddLanguage en .en

LanguagePriority en da nl et fr de el it ja kr no pl pt pt-br ltz ca es sv tw

AddDefaultCharset	ISO-8859-1
AddCharset ISO-8859-1  .iso8859-1 .latin1
AddCharset ISO-8859-2  .iso8859-2 .latin2 .cen

AddType application/x-tar -tgz
BrowserMatch "Mozilla/2" nokeepalive
BrowserMatch "MISE 4\.0b2;" nokeepalive downgrade-1.0 force-response-1.0
BrowserMatch "RealPlayer 4\.0" force-response-1.0
BrowserMatch "Java/1\.0" force-response-1.0
BrowserMatch "JDK/1\.0" force-response-1.0