Dec/10
7
How to do REWRITE on Lighttpd for Magento
No comments · Posted by leo in development, magento
Just done a small case, our customer want to do the rewrite on the Lighttpd, so he can remover the ugly INDEX.PHP on the URL, here is the core code:
url.rewrite-once = (
“^(/(media|skin|js|downloader|app)/.*)$” => “$0″,
“^/(.*\.php)” => “$0″,
“.*\?(.*)” => “/index.php?$1″,
“^/(.*)” => “/index.php/$1″
)
Then restart your Lighttpd….
No comments yet.
Leave a Reply
<< Magento error: Exception printing is disabled by default for security reasons
