我真正的網址是:的FollowSymLinks的.htaccess重寫規則404錯誤
www.mysite.com/site/index.php
我需要:
www.mysite.com/home.html
我寫在.htaccess:
Options +FollowSymlinks
RewriteEngine On
RewriteRule (.*)/home.html$ /site/index.php
但去的404
任何幫助嗎?
的傳統知識。
UPDATE:
有一個域實際上是沒有任何影響:www.my-site.com?
UPDATE:
我保存www.my-site.com和更改此:
<IfModule mod_rewrite.c>
Options +FollowSymlinks
RewriteEngine On
RewriteBase/
RewriteRule ^home\.html$ site/index.php
</IfModule>
但沒有工作。
我改變了這一點: 選項+的FollowSymLinks RewriteEngine敘述 在 RewriteBase/ 重寫規則^家\ html的$網站/ index.php文件 但是,沒有工作 文件的.htaccess是保存www.mysite.com/site/ –
2013-03-21 22:31:30