Virtual Host to Enablye the Header Rewrite.

If we got the message show as as below, we may not enablye the apache rewrite function.
2009-02-28_071618.png
To enable this function we should modify the httpd.conf.
Add these command line in the virual host block

RewriteEngine On
Options +FollowSymlinks

To save the httpd.conf and Restart the apache.
when you wirte the .htaccess file without errors, and
your will get the rewrite function.
if not, you man find out the issue from the log.

隨機文章

隨機美圖

發佈留言

發佈留言必須填寫的電子郵件地址不會公開。 必填欄位標示為 *