You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
42 lines
1.2 KiB
42 lines
1.2 KiB
24 years ago
|
##
|
||
|
## 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>
|
||
|
|