- apache virtualhost
- <VirtualHost *:80>
DocumentRoot "D:wampwwwwww.pimei.com"
ServerName www.pimei.com
<Directory "D:wampwwwwww.pimei.com">
Options Indexes FollowSymLinks Includes ExecCGI
RewriteEngine On
DirectoryIndex index.php
AllowOverride All
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
- <VirtualHost *:80>
DocumentRoot "D:wampwwwchat.pimei.com"
ServerName chat.pimei.com
ServerAlias chat.pimei.com
<Directory "D:wampwwwchat.pimei.com">
Options Indexes FollowSymLinks Includes ExecCGI
RewriteEngine On
DirectoryIndex index.php
AllowOverride All
Order allow,deny
Allow from all
</Directory>
</VirtualHost>