Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /etc/apache2/sites-available/ourserver.local
- --------------------------------------------
- <VirtualHost *:80>
- ServerAdmin webmaster@localhost
- ServerName ourserver.local
- ServerAlias www.ourserver.local
- DocumentRoot /home/auto-w24/public_html/our_project
- SetEnv APPLICATION_ENV "development"
- <Directory />
- Options FollowSymLinks
- AllowOverride None
- </Directory>
- <Directory /home/auto-w24/public_html/our_project>
- Options Indexes FollowSymLinks MultiViews
- DirectoryIndex index.php
- 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>
- </VirtualHost>
- /etc/hosts file
- --------------
- 127.0.0.1 localhost
- # User added virtaul hosts
- 127.0.0.1 ourserver.local www.ourserver.local
- # 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
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement