Skip to main content

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

Comments

2 comments

  • vkimura
    I figured it out. Thank the Lord. Was really stressful. For some reason when I went to the Apache Configuration->Global configuration and changed the SSL Cipher I had to rebuild the Apache conf. But what WHM did was add this line on some (not all the FQDNs): Include "/usr/local/apache/conf/userdata/std/2_2/myultrat/*.conf" Creating a backup vhost.conf and appended /public/ directory as the Document Root to what was previously: DocumentRoot /home/myultrat/public_html/testthis In other words, that line became DocumentRoot /home/myultrat/public_html/testthis/public Strange. Or perhaps that was there before. Whatever the case, the WHM Apache added to some of the FQDN's this line: Include "/usr/local/apache/conf/userdata/std/2_2/myultrat/*.conf" So I change some of my vhost and created a default for the domains that were affected by adding the line: Include "/usr/local/apache/conf/userdata/std/2_2/myultrat/domain.com/*.conf" So now I have this on some of the FQDNs:
    ServerName domain.com ServerAlias 47.201.173.in-addr.arpa www.47.201.173.in-addr.arpa www.domain.com DocumentRoot /home/myultrat/public_html ServerAdmin webmaster@domain.com UseCanonicalName Off CustomLog /usr/local/apache/domlogs/domain.com combined CustomLog /usr/local/apache/domlogs/domain.com-bytes_log "%{%s}t %I .\n%{%s}t %O ." ## User myultrat # Needed for Cpanel::ApacheConf UserDir enabled myultrat suPHP_UserGroup myultrat myultrat SuexecUserGroup myultrat myultrat RMode config RUidGid myultrat myultrat # For more information on MPM ITK, please read: # http://mpm-itk.sesse.net/ AssignUserID myultrat myultrat ScriptAlias /cgi-bin/ /home/myultrat/public_html/cgi-bin/ #Include "/usr/local/apache/conf/userdata/std/2_2/myultrat/*.conf" Include "/usr/local/apache/conf/userdata/std/2_2/myultrat/domain.com/*.conf"
    I hope this helps someone out there. :)
    0
  • cPanelMichael
    Hello, I am happy to see that your issue is resolved. Do you have any custom applications installed that would have changed the default Apache configuration (e.g. LiteSpeed, Nginx)? The default include entry in the VirtualHost is commented out. Thank you.
    0

Please sign in to leave a comment.