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.

Include editor

Discussion in 'General Discussion' started by d0840001, Jun 2, 2008.

  1. d0840001

    d0840001 Registered

    Joined:
    May 31, 2008
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Hi, want to add this line to the httpd.conf using Apache Setup >> Include editor:

    LoadModule rewrite_module modules/mod_rewrit.so

    But always receiving the same error:

    Configuration problem detected on line 1 of file /usr/local/apache/conf/includes/pre_main_global.conf: module rewrite_module is built-in and can't be loaded --- /usr/local/apache/conf/includes/pre_main_global.conf --- 1 ===> LoadModule rewrite_module modules/mod_rewrit.so <=== --- /usr/local/apache/conf/includes/pre_main_global.conf ---

    Tryed in all three sections, Pre Main Include, Pre VirtualHost Include and Post VirtualHost Include.

    What's going on? Isn't include editor intended to do this kind of things? If not, how can I change the http.conf on WHM?

    Thanks!

    Enric
     
  2. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,460
    Likes Received:
    195
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    You can recompile apache with mod_rewrite fairly easy can't you? It's added by default.

    Either way, not sure you're spelling is correct. Shouldn't that be, mod_rewrite.so
     
Loading...

Share This Page