Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

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:
    151
    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,460
    Likes Received:
    22
    Trophy Points:
    463
    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>
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice