The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Mod rewrite not being used by apache

Discussion in 'EasyApache' started by BobbiNGEmu, Apr 1, 2005.

  1. BobbiNGEmu

    BobbiNGEmu Registered

    Joined:
    Feb 20, 2004
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Good day everyone,

    I'd like to use mod_rewrite on my server. However, every time I try to build apache through WHM with checked "Rewrite Module", and run /usr/local/apache/bin/httpd -l, mod_rewrite is not on the list. Did I miss anything or is there a way to find out why it's not working?

    Thanks,

    Bobbi
     
  2. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    It's not compiled into the httpd binary, it's an addon module:

    grep mod_rewrite /etc/httpd/conf/httpd.conf

    should give you:

    LoadModule rewrite_module libexec/mod_rewrite.so
    AddModule mod_rewrite.c


    plus a load of containers:

    <IfModule mod_rewrite.c>
     
Loading...

Share This Page