Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ########################################################################
- /etc/hosts:
- --------------------
- 127.0.0.1 main.lan.local
- 127.0.0.1 tsghntt.main.lan.local
- 127.0.1.1 vbox-localhost
- # The following lines are desirable for IPv6 capable hosts
- ::1 ip6-localhost ip6-loopback
- fe00::0 ip6-localnet
- ff00::0 ip6-mcastprefix
- ff02::1 ip6-allnodes
- ff02::2 ip6-allrouters
- ########################################################################
- /etc/host:
- --------------------
- 127.0.0.1 tsghntt.main.lan.local
- ########################################################################
- /etc/apache2/sites-available/default
- --------------------
- <VirtualHost *:80>
- ServerAdmin webmaster@localhost
- ServerName main.lan.local
- DocumentRoot /var/www
- <Directory />
- Options FollowSymLinks
- AllowOverride none
- </Directory>
- <Directory /var/www/>
- Options Indexes FollowSymLinks MultiViews
- AllowOverride all
- Order allow,deny
- allow from all
- </Directory>
- ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
- <Directory "/usr/lib/cgi-bin">
- AllowOverride None
- Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
- Order allow,deny
- Allow from all
- </Directory>
- ErrorLog ${APACHE_LOG_DIR}/error.log
- # Possible values include: debug, info, notice, warn, error, crit,
- # alert, emerg.
- LogLevel warn
- CustomLog ${APACHE_LOG_DIR}/access.log combined
- Alias /doc/ "/usr/share/doc/"
- <Directory "/usr/share/doc/">
- Options Indexes MultiViews FollowSymLinks
- AllowOverride None
- Order deny,allow
- Deny from all
- Allow from 127.0.0.0/255.0.0.0 ::1/128
- </Directory>
- #Settings for CGI
- ScriptAlias /local-bin /usr/bin
- AddHandler application/x-httpd-php5 php
- Action application/x-httpd-php5 /local-bin/php-cgi
- </VirtualHost>
- ########################################################################
- /etc/apache2/sites-available/dings
- --------------------
- <VirtualHost *:80>
- DocumentRoot /var/www/dings/
- ServerName dings.main.lan.local
- <Directory /var/www/dings/>
- Options Indexes FollowSymLinks MultiViews +Includes
- AllowOverride All
- Order allow,deny
- allow from all
- </Directory>
- </VirtualHost>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement