[code=XML]
Alias /bbs1/ "/var/www/html/bbs1"<Directory "/var/www/html/bbs1">
Options Indexes MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>Alias /bbs2/ "/var/www/html/bbs2"<Directory "/var/www/html/bbs2">
Options Indexes MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>
[code]
Alias /bbs1/ "/var/www/html/bbs1"<Directory "/var/www/html/bbs1">
Options Indexes MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>Alias /bbs2/ "/var/www/html/bbs2"<Directory "/var/www/html/bbs2">
Options Indexes MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>
[code]
http://192.168.100.162(虚拟机) 我配置 打开就是phpmyadmin
如果我希望 http://192.168.100.162/bbs 打开是 bbs
Options Indexes MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>