we are going to check If mod_rewrite is Enabled in Apache server, just follow these instructions on this page.
-------------------------------------------------------------------------------
Otherwise, follow these steps
Check to see if mod_rewrite is enabled
In addition, you can learn how to enable mod_rewrite in apache server at this post:
http://www.wallpaperama.com/disp-post10.html
There are several ways to check if its working, I will try to show you the easiest way-
Create a .htaccess file (a text file named .htaccess) with the following code in itOptions +FollowSymLinks |
Save the file to a subdirectory of your main site something like this
/rewrite-testfolder/.htaccessNow attempt to browse to the subdirectory (http://localhost/rewrite-testfolder/). One of two things could happen
- No errors Congrats mod_rewrite engine is now enabled.
- 500, Internal Server Error If you get this message then mod_rewrite was not installed/enabled on your computer.
If you get a 500 error, you can learn to how to enable mod_rewrite in apache by visiting this post: