Created
September 16, 2015 04:10
-
-
Save ahmedmusawir/ba823b46a58cf5bdf2a6 to your computer and use it in GitHub Desktop.
XAMPP Virtual Host Setup
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
| F:\xampp\apache\conf | |
| File Name: httpd.conf | |
| * Go all the way to the bottom and paste: | |
| # VirtualHost | |
| Alias /localhost "F:/xampp/htdocs/" | |
| <Directory "F:/xampp/htdocs/"> | |
| AllowOverride All | |
| Order allow,Deny | |
| Allow from all | |
| </Directory> | |
| Alias /finalboot "F:/xampp/htdocs/final-bootsass/" | |
| <Directory "F:/xampp/htdocs/final-bootsass/"> | |
| AllowOverride All | |
| Order allow,Deny | |
| Allow from all | |
| </Directory> | |
| Alias /dfound "F:/xampp/htdocs/discovery-foundation/" | |
| <Directory "F:/xampp/htdocs/discovery-foundation/"> | |
| AllowOverride All | |
| Order allow,Deny | |
| Allow from all | |
| </Directory> | |
| Alias /finalfound "F:/xampp/htdocs/final-foundation/" | |
| <Directory "F:/xampp/htdocs/final-foundation/"> | |
| AllowOverride All | |
| Order allow,Deny | |
| Allow from all | |
| </Directory> | |
| Alias /jointswp "F:/xampp/htdocs/wordpress3/" | |
| <Directory "F:/xampp/htdocs/wordpress3/"> | |
| AllowOverride All | |
| Order allow,Deny | |
| Allow from all | |
| </Directory> | |
| ============================================================ | |
| Go to F:\xampp\apache\conf\extra | |
| Open file httpd-vhosts.conf | |
| Paste: | |
| NameVirtualHost *:80 | |
| <VirtualHost *:80> | |
| ServerAdmin [email protected] | |
| DocumentRoot "F:/xampp/htdocs/" | |
| ServerName localhost | |
| ErrorLog "logs/error.log" | |
| CustomLog "logs/access.log" common | |
| </VirtualHost> | |
| NameVirtualHost *:80 | |
| <VirtualHost *:80> | |
| ServerAdmin [email protected] | |
| DocumentRoot "F:/xampp/htdocs/final-bootsass/" | |
| ServerName finalboot | |
| ErrorLog "logs/finalboot-error.log" | |
| CustomLog "logs/finalboot-access.log" common | |
| </VirtualHost> | |
| NameVirtualHost *:80 | |
| <VirtualHost *:80> | |
| ServerAdmin [email protected] | |
| DocumentRoot "F:/xampp/htdocs/discovery-foundation/" | |
| ServerName dfound | |
| #ErrorLog "logs/finalboot-error.log" | |
| #CustomLog "logs/finalboot-access.log" common | |
| </VirtualHost> | |
| NameVirtualHost *:80 | |
| <VirtualHost *:80> | |
| ServerAdmin [email protected] | |
| DocumentRoot "F:/xampp/htdocs/final-foundation/" | |
| ServerName finalfound | |
| #ErrorLog "logs/finalboot-error.log" | |
| #CustomLog "logs/finalboot-access.log" common | |
| </VirtualHost> | |
| NameVirtualHost *:80 | |
| <VirtualHost *:80> | |
| ServerAdmin [email protected] | |
| DocumentRoot "F:/xampp/htdocs/wordpress3/" | |
| ServerName jointswp | |
| #ErrorLog "logs/finalboot-error.log" | |
| #CustomLog "logs/finalboot-access.log" common | |
| </VirtualHost> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment