标签:sas link hosts .htaccess writer module virtual write ant
vhosts.conf
<VirtualHost *:80>
DocumentRoot "E:\sasa"
ServerName sasa.cn
ServerAlias sasa.cn
<Directory "E:\sasa">
Options FollowSymLinks ExecCGI
AllowOverride All
Order allow,deny
Allow from all
Require all granted
</Directory>
</VirtualHost>
.htaccess
<IfModule mod_rewrite.c>
Options +FollowSymlinks -Multiviews
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php?/$1 [QSA,PT,L]
</IfModule>
标签:sas link hosts .htaccess writer module virtual write ant
原文地址:https://www.cnblogs.com/Gupq/p/10493819.html