Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Page 1 of 2 1 2 LastLast
Results 1 to 15 of 21
  1. #1
    Member
    Join Date
    Mar 2005
    Posts
    46

    Default EasyApache breaks httpd.conf (removal of www.domainname in Alias)

    We ran into a situation this weekend after running EasyApache to install the Curl library for PHP. After running it, it seemed to remove www.domainname.com in the ServerAlias for certain (not all) web sites. So some sites were only coming up when accessed without the www. preceding the name.

    I already opened a ticket with cPanel, but not sure if we know what's going on with why/how it happened. Has anyone else encountered this?

  2. #2
    cPanel Staff cpanelnick's Avatar
    Join Date
    Feb 2003
    Location
    Houston, TX
    Posts
    4,597

    Default

    Quote Originally Posted by meganet View Post
    We ran into a situation this weekend after running EasyApache to install the Curl library for PHP. After running it, it seemed to remove www.domainname.com in the ServerAlias for certain (not all) web sites. So some sites were only coming up when accessed without the www. preceding the name.

    I already opened a ticket with cPanel, but not sure if we know what's going on with why/how it happened. Has anyone else encountered this?
    Please post the ticket #

    Thanks

  3. #3
    Member
    Join Date
    Mar 2005
    Posts
    46

    Default

    I had 2 open, one before the weekend when I noticed it, then a second I had one of my on call techs open because I hadn't heard from cpanel for a good portion of Saturday morning.

    Most current: 213507
    From Friday: 213348

    Russel did explain to me on editing /var/cpanel/userdata/domainname.com, adding the www.domain to the ServerAlias, running /scripts/rebuildhttipd, then restarting apache. However, for one, I have to look at every single domain to see if it has the www. missing (which causes it to revert tot he default cpanel install page) and second when i rebuild httpdconf it removes my custom DirecoryIndex settings that I need for some of my customers.

    I'd really like to know a total fix so I dont have to go through every single domain.

    I just noticed someone was logged into my server so maybe I'll have an answer coming my way soon.

  4. #4
    Member
    Join Date
    Mar 2005
    Posts
    46

    Default

    Still nothing from anyone....could this be escalated?

  5. #5
    wtl
    wtl is offline
    Member
    Join Date
    Apr 2004
    Location
    Memphis, TN, USA
    Posts
    97

    Default

    I can confirm this is happening to us as well. It started with cPanel 11 stage 2 (current) after using EA to upgrade to Apache 2.2.6 and PHP 5.2.4.

  6. #6
    Member
    Join Date
    May 2005
    Posts
    100

    Default

    EasyApache does break a lot of httpd.conf directives. It breaks all admin-configured ones; however, I have not yet heard of it breaking cPanel-configured ones.

  7. #7
    wtl
    wtl is offline
    Member
    Join Date
    Apr 2004
    Location
    Memphis, TN, USA
    Posts
    97

    Default

    Quote Originally Posted by djbob2 View Post
    I have not yet heard of it breaking cPanel-configured ones.
    Yes, you have - right here

  8. #8
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Apr 2002
    Posts
    686
    cPanel/Enkompass Access Level

    DataCenter Provider

    Default

    Quote Originally Posted by meganet View Post
    I had 2 open, one before the weekend when I noticed it, then a second I had one of my on call techs open because I hadn't heard from cpanel for a good portion of Saturday morning.

    Most current: 213507
    From Friday: 213348

    Russel did explain to me on editing /var/cpanel/userdata/domainname.com, adding the www.domain to the ServerAlias, running /scripts/rebuildhttipd, then restarting apache. However, for one, I have to look at every single domain to see if it has the www. missing (which causes it to revert tot he default cpanel install page) and second when i rebuild httpdconf it removes my custom DirecoryIndex settings that I need for some of my customers.

    I'd really like to know a total fix so I dont have to go through every single domain.

    I just noticed someone was logged into my server so maybe I'll have an answer coming my way soon.

    What script did you run? /scripts/rebuildhttipd??? not awar eof that one

  9. #9
    Registered User
    Join Date
    Oct 2007
    Posts
    1

    Default

    Meganet, do u find a efficient solution about this problem with EA???

    I have a same problem with domains that have parked domains only...

    Thx!

  10. #10
    Member PPNSteve's Avatar
    Join Date
    Mar 2003
    Location
    Somewhere in Ilex Forest
    Posts
    309
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    add me to the list of those affected.. solution??
    Steve H.
    --------------
    1-GB.NET
    Domain Names

  11. #11
    Member
    Join Date
    Apr 2005
    Posts
    126

    Default

    Confirming it here too, it just removes www from the alias.

  12. #12
    Member
    Join Date
    May 2007
    Posts
    23

    Default

    Quote Originally Posted by meganet View Post
    We ran into a situation this weekend after running EasyApache to install the Curl library for PHP. After running it, it seemed to remove www.domainname.com in the ServerAlias for certain (not all) web sites. So some sites were only coming up when accessed without the www. preceding the name.

    I already opened a ticket with cPanel, but not sure if we know what's going on with why/how it happened. Has anyone else encountered this?
    I had the same problem when updated cpanel to CURRENT version and used easy apache 3 for updating Apache to 2.2

    I fixed almost all, with the help of cpanel tech

  13. #13
    Member
    Join Date
    Dec 2003
    Posts
    120

    Default

    so is it safe to use easyapache now ? is this bug fixed ?

  14. #14
    ike
    ike is offline
    Member
    Join Date
    Apr 2003
    Posts
    47

    Default

    i have a slightly different problem. i have a fairly new server and aded about 50 domains with no problem then used easyapache to update with a few things i needed and php5.*. the last 2 domains i have added since only go to the httpdocs apache/cpanel page. httpd.conf shows theyre added right though.. DocumentRoot /home/domain/public_html and even after comparing other virtual hosts in httpd.conf they all look added the same way. these two just dont work at all and im sure if i added more would be the same problem. BUT if i do a www.domain.com/~accountname for those new two the pages show fine, fantastico installs fine on them, there are no errors and nothing i can see in httpd.conf shows its being pointed elsewhere. all my other domains that were added before the update were affected.

  15. #15
    cPanel Staff
    Join Date
    Mar 2004
    Posts
    704

    Default

    Quote Originally Posted by ike View Post
    i have a slightly different problem. i have a fairly new server and aded about 50 domains with no problem then used easyapache to update with a few things i needed and php5.*. the last 2 domains i have added since only go to the httpdocs apache/cpanel page. httpd.conf shows theyre added right though.. DocumentRoot /home/domain/public_html and even after comparing other virtual hosts in httpd.conf they all look added the same way. these two just dont work at all and im sure if i added more would be the same problem. BUT if i do a www.domain.com/~accountname for those new two the pages show fine, fantastico installs fine on them, there are no errors and nothing i can see in httpd.conf shows its being pointed elsewhere. all my other domains that were added before the update were affected.
    Are the 2 domains resolving to your server?

Similar Threads & Tags
Similar threads

  1. Alias in httpd.conf
    By asmithjr in forum cPanel and WHM Discussions
    Replies: 7
    Last Post: 12-29-2008, 07:58 AM
  2. httpd.conf sites/www.domain.com.conf Wildcard DNS
    By ttremain in forum cPanel and WHM Discussions
    Replies: 6
    Last Post: 12-16-2008, 11:19 AM
  3. Need an alias for a server name - httpd.conf
    By dory36 in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 10-31-2007, 05:20 AM
  4. httpd.conf breaks with each new account
    By jimmshepard in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 01-22-2005, 02:13 PM
  5. Getting Alias in httpd.conf to work
    By asmithjr in forum cPanel and WHM Discussions
    Replies: 9
    Last Post: 11-03-2004, 06:25 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube