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 !! Removing this will break certain functionality !!

Discussion in 'General Discussion' started by hekri, Jan 3, 2008.

  1. hekri

    hekri Well-Known Member

    Joined:
    Oct 14, 2003
    Messages:
    147
    Likes Received:
    2
    Trophy Points:
    168
    Hello

    Today i compile couple times apache 2.0.61 and allways have it without mod_rewrite, WHY?

    I go to profiles in ssh and change in my profile Rewrite from 0 to 1, now i see in profile details

    Rewrite
    !! Removing this will break certain functionality !!


    In any option i have the same problem, no mod_rewrite :(

    Centos (on last stable and on last relase) the same problem.
     
  2. LiNUxG0d

    LiNUxG0d Well-Known Member

    Joined:
    Jun 25, 2003
    Messages:
    206
    Likes Received:
    1
    Trophy Points:
    168
    Location:
    Gatineau, Quebec, Canada
    Same here.

    I've compiles 2.2 and I can't seem to find mod_rewrite in the /usr/local/apache/modules/ folder nor in the 'Exhaustive List of Options' that cPanel provides in EA3.

    Any ideas? Is it now default to Apache 2.0+?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. cPanelNick

    cPanelNick Administrator
    Staff Member

    Joined:
    Mar 9, 2015
    Messages:
    3,480
    Likes Received:
    30
    Trophy Points:
    158
    cPanel Access Level:
    DataCenter Provider
    mod_rewrite is compiled in. Its not a dso.
     
  4. Francisco

    Francisco Well-Known Member

    Joined:
    Jun 3, 2003
    Messages:
    99
    Likes Received:
    0
    Trophy Points:
    156
    Its not working here. There's notthing mentioning it on .httpd.conf

    Is there a setting missing on httpd.conf??
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. jdlightsey

    jdlightsey Perl Developer III
    Staff Member

    Joined:
    Mar 6, 2007
    Messages:
    126
    Likes Received:
    2
    Trophy Points:
    243
    Location:
    Houston Texas
    cPanel Access Level:
    Root Administrator
    Nothing in httpd.conf needs to mention it. Since it's compiled into Apache there's no need for LoadModule or AddModule lines.

    /usr/local/apache/bin/httpd -l
    ...
    mod_rewrite.c
    ...

    You'd need to be more specific about what isn't working. The Redirect functionality in cPanel uses mod_rewrite and works fine. All of the directives from the Redirect functionality go in .htaccess files. Nothing gets added to the main httpd.conf.
     
  6. Francisco

    Francisco Well-Known Member

    Joined:
    Jun 3, 2003
    Messages:
    99
    Likes Received:
    0
    Trophy Points:
    156
    The following directive on .htaccess used to work in apache 1.3 but no longer works in 2.2


    <FilesMatch "^archive|archives|blog|category|extra|feed|item|member$">
    SetHandler application/x-httpd-php
    </FilesMatch>
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,563
    Likes Received:
    42
    Trophy Points:
    308
    cPanel Access Level:
    Root Administrator
    What error is recorded in the logs?
     
    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