Results 1 to 3 of 3

Thread: mod_rewrite enable in apache

  1. #1
    Join Date
    Oct 2012
    Posts
    1

    mod_rewrite enable in apache

    How can I ensure that I have mod_rewrite enabled in Apache? Where do I check/set this?

    Thanks.

  2. #2
    Join Date
    Apr 2007
    Posts
    243
    Code:
    <?php phpinfo(); ?>
    Crtl+F mod_rewrite

  3. #3
    Join Date
    Apr 2005
    Location
    GMT +7.00
    Posts
    11,023
    Quote Originally Posted by artmonger View Post
    How can I ensure that I have mod_rewrite enabled in Apache? Where do I check/set this?

    Thanks.
    Hello,

    Suurbier is right if you're using apache+php with mod_php, otherwise it will show no mod_rewrite in phpinfo(). So you'll need to login via SSH as root and run this command:


    Code:
    # apachectl -M 2>&1 | grep rewrite --color
    it should show:

    Code:
     rewrite_module (static)
    With regards, Alex.

    Professional Server Management for web hosting companies and individuals
    Hourly Support, Disaster Recovery, Server Hardening, Monthly Subscription
    Directadmin installation and optimization

    Click here if you need a Linux Admin

Similar Threads

  1. Mod_Rewrite; how to enable?
    By operator in forum Apache (WWW)
    Replies: 4
    Last Post: 12-05-2008, 10:09 AM
  2. Apache 2.2.9 mod_rewrite
    By frog9394 in forum Apache (WWW)
    Replies: 0
    Last Post: 08-16-2008, 08:06 AM
  3. Install/ Enable mod_rewrite
    By firekicker in forum Installation / System Requirements
    Replies: 2
    Last Post: 06-03-2008, 02:54 PM
  4. Enable mod_rewrite in apache 2.0.54
    By Trrunde in forum Apache (WWW)
    Replies: 9
    Last Post: 05-16-2008, 06:23 AM
  5. How to enable mod_rewrite
    By gamecock in forum Apache (WWW)
    Replies: 1
    Last Post: 04-23-2005, 11:09 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •