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

Discussion in 'General Discussion' started by Cityhost, Jan 31, 2005.

  1. Cityhost

    Cityhost Member

    Joined:
    Nov 3, 2004
    Messages:
    13
    Likes Received:
    0
    Trophy Points:
    1
    Hello, i did a search in the entire forum regarding this issue, i found many topics but none solved my problem.

    We 're trying to enable mod_rewrite into apache's cofiguration but it doesn't "want" to be enabled... Any solutions?I tried through WHM [Software/Update Apache], through easyapache script... nothing worked!

    Thanks for your time.
     
  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
    Odd. It's configured by default. Do you not have the following lines in your httpd.conf?

    LoadModule rewrite_module libexec/mod_rewrite.so
    AddModule mod_rewrite.c
     
  3. Cityhost

    Cityhost Member

    Joined:
    Nov 3, 2004
    Messages:
    13
    Likes Received:
    0
    Trophy Points:
    1
    No. The module does not being compiled (dont know why) and therefore is not loaded at all. There might be a wrong apache configuration..
     
  4. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    I'd suggest that you check the build logs if you haven't already. They're in:
    /home/cpapachebuild/buildapache/build-log/*

    mod_rewrite compilation is in:

    apache_1.3.33.*

    I presume that you have checked that you have "Rewrite Module" checked under WHM > Software > Update Apache > Load Previous Config > Rewrite Module (at the bottom of the page)?
     
  5. Cityhost

    Cityhost Member

    Joined:
    Nov 3, 2004
    Messages:
    13
    Likes Received:
    0
    Trophy Points:
    1
    Yeap.. mod_rewrite is checked..

    I have tried both easyapache + whm to recompile the apache with mod_rewrite selected, several times, but doesn't being installed. Check the following list of all modules compiled with apache:
    *******@server [~]# /usr/local/apache/bin/httpd -l
    Compiled-in modules:
    http_core.c
    mod_env.c
    mod_log_config.c
    mod_mime.c
    mod_negotiation.c
    mod_status.c
    mod_include.c
    mod_autoindex.c
    mod_dir.c
    mod_cgi.c
    mod_asis.c
    mod_imap.c
    mod_actions.c
    mod_userdir.c
    mod_alias.c
    mod_access.c
    mod_auth.c
    mod_so.c
    mod_setenvif.c
    mod_ssl.c
    mod_perl.c
    mod_frontpage.c
    suexec:
    suexec: enabled; valid wrapper /usr/local/apache/bin/suexec

    it doesn't compile :(
    Any other ideas chirpy [thanks for your time btw!!!]
     
  6. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    Did you check the log files I mentioned for mod_rewrite? If it's not there, I'd suggest logging a ticket with cPanel.
     
Loading...

Share This Page