/ Published in: Apache

Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
apache httpd.conf: <VirtualHost *:80> DocumentRoot "<absolute path to site web root>" ServerName <subdomain>.local SetEnv APPLICATION_ENV development <Directory "<absolute path to site web root>"> Options Indexes MultiViews FollowSymLinks AllowOverride All Order allow,deny Allow from all </Directory> </VirtualHost> windows host file: C:\WINNT\system32\drivers\etc\hosts C:\Windows\system32\drivers\etc\hosts > > 127.0.0.1 <subdomain>.localhost
URL: http://apptools.com/phptools/virtualhost.php
Comments
