How to check the Mod_rewrite is enabled or not .

First steps in cPanel, creating emails, databases, etc

How to check the Mod_rewrite is enabled or not .

Postby Mark » Sat Dec 19, 2009 7:01 am

If you want to check Mod_rewrite is enabled or not on your server then follow this steps
In the public_html folder of your site make the test folder and in that test folder create the .htaccess file and add the following code in the .htaccess file .



Code: Select all
Options +FollowSymlinks
RewriteEngine on


and then access test folder in the browser ( http://yourdomain.com/test/ ) If you did not get any error then Mod_rewrite is enabled on the server and If you get 500 Inetrnal Server Error then Mod_rewrite is not enabled on the server .
Mark
 
Posts: 124
Joined: Fri Dec 11, 2009 2:18 pm

Return to Basic cPanel usage tutorials

Who is online

Users browsing this forum: No registered users and 1 guest

cron