Start Live Help Chat
LiveZilla Live Chat
Knowledgebase
Net Access
>
Customer Support Help Desk
>
Knowledgebase
Why is mod_rewrite not working on my site?
Solution
On Cloud Sites, due to our unique hosting environment, we require a slight addition to the code used for mod_rewrite. You will also need to make sure that the site is using either PHP4 or PHP5 as the default technology.
In the .htaccess file containing your rewrite rules, after RewriteEngine on, add RewriteBase /.
Example:
RewriteEngine on
RewriteBase /
Depending on the application, you may need to further specifiy the RewriteBase /
Example:
RewriteBase /subdirectory
You can find more information on mod_rewrite at this link:
http://httpd.apache.org/docs/1.3/mod/mod_rewrite.html
Was this article helpful?
yes
/
no
Article details
Article ID:
97
Category:
Cloud Hosting
Date added:
2009-09-14 09:53:38
Views:
30
Rating (Votes):
(4)
<<
Go back
Powered by
Help Desk Software
HESK™