Last active
December 14, 2015 07:58
-
-
Save MaraScott/5053997 to your computer and use it in GitHub Desktop.
Name : httpd-vhosts - Language : ApacheConf - type : conf - platform : xampp - tag :
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Virtual Hosts configuration on xampp | |
| # see : http://www.tildemark.com/setting-up-virtual-hosts-with-xampp-running-on-windows-xp/ | |
| # add your domain name in F:\Windows\System32\drivers\etc\hosts like | |
| # 127.0.0.1 sub.domain.tld | |
| # see : http://httpd.apache.org/docs/2.2/vhosts/ | |
| # NameVirtualHost *:80 useless | |
| <VirtualHost *:80> | |
| DocumentRoot "F:/PATH/TO/XAMPP/htdocs/ | |
| ServerName localhost | |
| </VirtualHost> | |
| <VirtualHost sub.domain.tld> | |
| DocumentRoot "F:/PATH/TO/XAMPP/htdocs/working_on/server/localhost/turnigy/dev" | |
| ServerName sub.domain.tld | |
| ServerAlias sub.domain.tld | |
| CustomLog "F:/PATH/TO/XAMPP/htdocs/logs/turnigy/dev/custom.log" combined | |
| ErrorLog "F:/PATH/TO/XAMPP/htdocs/logs/turnigy/dev/error.log" | |
| <Directory "F:/PATH/TO/XAMPP/htdocs/working_on/server/localhost/turnigy/dev"> | |
| Options Indexes FollowSymLinks | |
| AllowOverride All | |
| Order allow,deny | |
| Allow from all | |
| </Directory> | |
| </VirtualHost> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment