Alias /mytest /www/mytest
<Directory /www/mytest>
AllowOverride all
Order allow,deny
Allow from all
</Directory>
為保證正常通路
需要在.htaccees檔案裡加入
RewriteBase /mytest
如下
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?url=$1 [L]
RewriteBase /mytest