voipbytes How To Check If mod_rewrite is Enabled in Apache





voipbytes How To Check If mod_rewrite is Enabled in Apachevoipbytes - How To Check If mod_rewrite is Enabled in Apache
How To Check If mod_rewrite is Enabled in Apache - This page contains information about How To Check If mod_rewrite is Enabled in Apache Here you can also give your thought about the subject of How To Check If mod_rewrite is Enabled in Apache
Mon May 21, 2012, 11:40 pm
Categories
 

How To Check If mod_rewrite is Enabled in Apache

  By: Travis

 if you have shell access or SSH access to your sever, the easiest way is to check your configuration file. check this post to see how:

EASY MOD_REWRITE TUTORIAL

-------------------------------------------------------------------------------

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 it
Options +FollowSymLinks
RewriteEngine On

Save the file to a subdirectory of your main site something like this

/rewrite-testfolder/.htaccess

Now 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:

http://www.wallpaperama.com/disp-post9.html

  Posted on: Apr 06, 2006