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.

httpd.conf personal configuration

Discussion in 'General Discussion' started by ruunix, Nov 5, 2012.

  1. ruunix

    ruunix Registered

    Joined:
    Nov 5, 2012
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hello my friends . Bless for everybody !

    In WHM > Apache configuration > Global Configuration > Directory “/” Options .

    We have options like FollowSymLinks or FollowSymLinksifOwnerMAtch , but is not options about AllowOverride , so i edit /etc/httpd/conf/httpd.conf and manually change

    AllowOverride All

    to

    AllowOverride Fileinfo AuthConfig Limit Indexes

    the problem is that the file is always overwrited by the WHM config, put it in the includes dont work too .

    Is there a way to edit some options in httpd.conf manually , to not get the changes overwrited ?
     
  2. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,476
    Likes Received:
    202
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
  3. ruunix

    ruunix Registered

    Joined:
    Nov 5, 2012
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Nice.

    "At times, cPanel software cannot be used to create a particular configuration. In these instances, it is possible to directly edit the Apache configuration file. However, it is generally not advised. We are swiftly moving away from the need to directly edit configuration files. "

    I dont see how can i make this configuration from easyapache , is not a way to make that that i want ?
     
  4. thelirou_

    thelirou_ Member

    Joined:
    Sep 14, 2005
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
  5. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,476
    Likes Received:
    202
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    And your "...or similar" comment is more helpful than the Official Documentation how exactly?
     
  6. thelirou_

    thelirou_ Member

    Joined:
    Sep 14, 2005
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    Sure... because I point where is the configuration, the "similar" is like ruunix can to configure vhosts too for his clients. You only said "Read the manual or documentation"... more one number for your posts...

    I reply when I can help. We wait the ruunix reply for know who help him.
     
  7. ruunix

    ruunix Registered

    Joined:
    Nov 5, 2012
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hi InfoPro , i apreciatte your help .. but anyone can make me read the manual , even somebody that never have used Cpanel Before , at this time the manual dont help at all ... the Information gived by thelirou was very good , i have looked for this for many weeks , and now , the httpd.conf is overwrited with the directives that i want .

    Thanks a Lot !
     
  8. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,476
    Likes Received:
    202
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    You bet I did. :)

    For a good reason, you should want to know about what you're going to be editing that might blow up your server if done incorrectly. Understanding the reason why his changes are not being saved, is covered properly in the docs. Repeating it here in full is time consuming and not needed when the docs cover it so well.

    That link I posted:
    The Apache Configuration File & Building Apache - cPanel Documentation

    And this one:
    Changes Contained within a VirtualHost Directive - cPanel Documentation

    And this one:
    Custom Directives outside of a VirtualHost Tag - cPanel Documentation

    ...are all great sources of Info to get you a better idea of what you're doing.

    I'm running up my post count you think? Ouch.

    I hope you have a great afternoon. :)
     
Loading...

Share This Page