All pastes #990968 Raw Edit

Anonymous

public text v1 · immutable
#990968 ·published 2008-04-20 16:53 UTC
rendered paste body
# warning : wild cards override specific values !
# test config in command line with apache2ctl -S

##### default

# This is the filesystem root directory. You want as little access as necessary for this
# as this is outside of the document root for subsequent vhosts.
#
<Directory />
  Options SymLinksIfOwnerMatch
  AllowOverride None
  Order deny,allow
  Deny from all
</Directory>

<Directory /var/www/*>
    Options -Indexes MultiViews
    AllowOverride Options Indexes
    Order Allow,Deny
</directory>

<Directory /var/www/phpmyadmin/>
    AllowOverride AuthConfig Limit FileInfo Options Indexes
</Directory>

# Possible values include: debug,info, notice, warn, error, crit, alert, emerg.
LogLevel warn

##### main host

NameVirtualHost *:80
ServerName www.ringabell.org:80

<VirtualHost *:80>
    ServerAdmin webmaster@localhost
    ServerName www.ringabell.org
    ServerAlias ringabell.org
    Alias /phpmyadmin /var/www/phpmyadmin
    DocumentRoot /var/www/ringabell

    CustomLog /var/log/apache2/access.log combined
</VirtualHost>

##### 1brin2web
<VirtualHost *:80>
    ServerName www.1brin2web.com
    ServerAlias 1brin2web.com
    Alias /phpmyadmin /var/www/phpmyadmin
    DocumentRoot /var/www/1brin2web/
</VirtualHost>