Non puoi selezionare più di 25 argomenti
Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.
42 righe
1.2 KiB
42 righe
1.2 KiB
24 anni fa
|
##
|
||
|
## apache.vhost -- Apache Virtual Host Configuration Template
|
||
|
## ______________________________________________________
|
||
|
##
|
||
|
## PLEASE DO NOT EDIT THIS TEMPLATE!! COPY IT TO "apache.vhost-xxx",
|
||
|
## REMOVE THIS COMMENT AND EDIT THAT FILE INSTEAD, PLEASE!
|
||
|
## ______________________________________________________
|
||
|
##
|
||
|
|
||
|
<VirtualHost www.foo.com:80>
|
||
|
# server information
|
||
|
ServerName www.foo.com
|
||
|
ServerAlias www.foo.net www.foo.org
|
||
|
ServerAdmin webmaster@foo.com
|
||
|
ServerSignature on
|
||
|
ServerTokens Full
|
||
|
|
||
|
# document area
|
||
|
DocumentRoot /home/foo/htdocs/
|
||
|
<Directory "/home/foo/htdocs/">
|
||
|
Options Indexes FollowSymLinks MultiViews
|
||
|
AllowOverride None
|
||
|
Order allow,deny
|
||
|
Allow from all
|
||
|
</Directory>
|
||
|
|
||
|
# executable area
|
||
|
ScriptAlias /cgi-bin/ /home/foo/cgi-bin/
|
||
|
<Directory "/home/foo/cgi-bin">
|
||
|
Options Indexes FollowSymLinks MultiViews ExecCGI
|
||
|
AllowOverride None
|
||
|
Order allow,deny
|
||
|
Allow from all
|
||
|
</Directory>
|
||
|
|
||
|
# logging
|
||
|
CustomLog /home/foo/logs/access.log common
|
||
|
ErrorLog /home/foo/logs/error.log
|
||
|
LogLevel warn
|
||
|
</VirtualHost>
|
||
|
|