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!

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:
    51
    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:
    16,170
    Likes Received:
    370
    Trophy Points:
    583
    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
     
    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