SSL enabled, now site does not load with http

Hello,

I'm new to using SSL. I received a comercial certificate and uploaded it to my server, everything checks out fine.

My site loads when using https, except the images are now broke, and I receive a 302 error when trying http.

Any help would be appreciated, below are all the pieces (I think):

Apache error:

"Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace."

my virtual host file is

 <virtualhost *:80="">ServerAdmin admin@mysite.com
     ServerName www.mysite.com
     ServerAlias mysite.com

     DirectoryIndex index.html index.php
     DocumentRoot /srv/www/mysite.com/public_html/

     <directory srv="" www="" mysite.com="" public_html="">Options -Indexes +Includes -ExecCGI -MultiViews +SymLinksIfOwnerMatch</directory> 

     ErrorLog /srv/www/mysite.com/logs/error.log
     CustomLog /srv/www/mysite.com/logs/access.log combined</virtualhost> 

 <virtualhost *:443="">SSLEngine on
     SSLCertificateFile /etc/ssl/www_mysite_com.crt
     SSLCertificateKeyFile /etc/ssl/www.mysite.com.key
     SSLCertificateChainFile /etc/ssl/www_mysite_com.crt

     ServerAdmin admin@mysite.com
     ServerName www.mysite.com
     ServerAlias mysite.com

     DirectoryIndex index.html index.php
     DocumentRoot /srv/www/mysite.com/public_html/

     ErrorLog /srv/www/mysite.com/logs/error.log
     CustomLog /srv/www/mysite.com/logs/access.log combined</virtualhost> 

And my ports.conf file is:

NameVirtualHost *:80
Listen 80

 <ifmodule mod_ssl.c=""># If you add NameVirtualHost *:443 here, you will also have to change
    # the VirtualHost statement in /etc/apache2/sites-available/default-ssl
    # to <virtualhost *:443=""># Server Name Indication for SSL named virtual hosts is currently not
    # supported by MSIE on Windows XP.
   NameVirtualHost *:443
    Listen 443</virtualhost></ifmodule> 

 <ifmodule mod_gnutls.c="">Listen 443</ifmodule> 

1 Reply

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct