Link to home
Start Free TrialLog in
Avatar of Victor Kimura
Victor KimuraFlag for Canada

asked on

get a apache 500 error and redirects to domain.com/public after changing SSL cipher

Hi,

I tried to update or change the SSL cipher in my WHM. But after the update my main home pages are being redirected to the wrong url. The home pages and other pages now are no longer working. But sub-directories are working. For instance, when I go to:
http://myultratrust.com it forwards me to:

myultratrust.com/public

And testthis.myultratrust.com forwards me to
http://testthis.myultratrust.com/public

It shouldn't be doing that. Don't know what WHM does in the back but it shouldn't be messing around with the folders of a site because of an SSL configuration change. I tried to change things back but WHM doesn't fix it back to the original state. I'm disliking WHM more because I have no idea what it does in the background. :(

This page properly gets forwarded though:

https://secure.myultratrust.com/ to
https://secure.myultratrust.com/diy/login/login.php

And this site works properly still:
http://emailmarketingservicesco.com/ (it's supposed to be a blank page)

I checked in my httpd.conf settings and I have this:

<VirtualHost 173.201.47.54:80>
    ServerName myultratrust.com
    ServerAlias 47.201.173.in-addr.arpa www.47.201.173.in-addr.arpa www.myultratrust.com
    DocumentRoot /home/myultrat/public_html
    ServerAdmin webmaster@myultratrust.com
    UseCanonicalName Off
    CustomLog /usr/local/apache/domlogs/myultratrust.com combined
    CustomLog /usr/local/apache/domlogs/myultratrust.com-bytes_log "%{%s}t %I .\n%{%s}t %O ."
    ## User myultrat # Needed for Cpanel::ApacheConf
    UserDir enabled myultrat
    <IfModule mod_suphp.c>
        suPHP_UserGroup myultrat myultrat
    </IfModule>
    <IfModule !mod_disable_suexec.c>
        <IfModule !mod_ruid2.c>
            SuexecUserGroup myultrat myultrat
        </IfModule>
    </IfModule>
    <IfModule mod_ruid2.c>
        RMode config
        RUidGid myultrat myultrat
    </IfModule>
    <IfModule itk.c>
 # For more information on MPM ITK, please read:
        #   http://mpm-itk.sesse.net/
        AssignUserID myultrat myultrat
    </IfModule>
    ScriptAlias /cgi-bin/ /home/myultrat/public_html/cgi-bin/

    Include "/usr/local/apache/conf/userdata/std/2_2/myultrat/*.conf"

</VirtualHost>

Open in new window


I don't see anything wrong with that config. Anyone know what happened?
ASKER CERTIFIED SOLUTION
Avatar of Victor Kimura
Victor Kimura
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Victor Kimura

ASKER

This is the answer. Figured it out by God's grace.