Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Member
    Join Date
    Feb 2007
    Posts
    134

    Default mod_rewrite

    HI,


    I have installed mod_rewrite using following option

    1)/scripts/easyapache
    2)select module mod_rewrite
    but it is not installed i am unable to find his .so file as well as mod_rewrite not working.

    how to install mod_rewrite?

  2. #2
    Member nilesh_kolte's Avatar
    Join Date
    Apr 2006
    Posts
    66

    Thumbs up

    Enable mod_rewrite

    1. Find the httpd.conf file (usually you will find it in a folder called conf, config or something along those lines)
    2. Inside the httpd.conf file uncomment the line LoadModule rewrite_module modules/mod_rewrite.so (remove the pound '#' sign from in front of the line)
    3. Also find the line ClearModuleList is uncommented then find and make sure that the line AddModule mod_rewrite.c is not commented out.


    Check to see if mod_rewrite is enabled

    There are several ways to check if its working, I will try to show you the simplest method, 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.
    ~~~ Cool Buddy ~~~

Similar Threads & Tags
Similar threads

  1. Mod_Rewrite
    By faison in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 11-30-2009, 05:16 PM
  2. help: mod_rewrite
    By marquis_ce in forum New User Questions
    Replies: 1
    Last Post: 06-18-2008, 03:00 PM
  3. mod_rewrite
    By Cityhost in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 02-02-2005, 03:26 AM
  4. mod_rewrite
    By elleryjh in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 01-23-2005, 09:06 AM
  5. mod_rewrite
    By cguimont in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 10-05-2004, 07:50 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube