目前我正在使用
NameVirtualHost *:80
<Virtualhost *:80>
VirtualDocumentRoot "/opt/lampp/htdocs/"
ServerName localhost
ServerAlias *.localhost
UseCanonicalName Off
<Directory "/opt/lampp/htdocs/crm">
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
Allow from all
</Directory>
</Virtualhost>
我在httpd-vhosts.conf中有上面的代码,但没有结果。请帮助
答案 0 :(得分:0)
在httpd.conf中启用httpd-vhosts.conf。