Announcement

Collapse
No announcement yet.

SSL on subfolder not working on apache with vbulletin 5

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • SSL on subfolder not working on apache with vbulletin 5

    I don't know if I can post this question here, but I give it a try.

    I am having a heck of a time getting my subfolder (not sub domain) site working off of my main domain certificate.

    For example i have www.mydomain.com and i have www.mydomain.com/forum

    https works fine on www.mydomain.com but does not work on www.meydomain.com/forum

    i get "the page isnt redirecting properly" on firefox and on chrome it just fails.

    In the /forum folder I have the htaccess file for vbulletin. In the main /var/www/ I don't have a htaccess file. The only htaccess file is available in the root of the forum folder which comes with the installation of Vbulletin

    I enabled mydomain.conf file with the following:



    <IfModule mod_ssl.c>
    <VirtualHost *:443>
    ServerAdmin [email protected]
    ServerName mydomain.net:443
    DocumentRoot /var/www/

    <Directory />

    Options FollowSymLinks
    AllowOverride none

    </Directory>

    <Directory /var/www/>

    Options Indexes FollowSymLinks MultiViews
    AllowOverride none
    Order allow,deny
    allow from all

    </Directory>

    SSLEngine on

    SSLCertificateFile /etc/ssl/certs/mydomain.crt
    SSLCertificateKeyFile /etc/ssl/certs/mydomain.key
    SSLCertificateChainFile /etc/ssl/certs/Comodo_PositiveSSL_bundle.crt
    </VirtualHost>
    </IfModule>

  • #2
    If you can post a link to your actual site we can see if we can spot what's going on.

    However this is quite likely server configuration, support for which is best directed at your server provider.
    MARK.B | vBULLETIN SUPPORT

    TalkNewsUK - My vBulletin 5.6.3 Demo
    AdminAmmo - My Cloud Demo

    Comment


    • #3
      Originally posted by Mark.B View Post
      If you can post a link to your actual site we can see if we can spot what's going on.

      However this is quite likely server configuration, support for which is best directed at your server provider.
      Http://www.meydan1967.net/forum

      thank you for taking time. I set this server up by myself. I am almost done. This is the last thing I need to figure out.

      Comment


      • #4
        Check your stylevar settings for some of the images...you're getting mixed content warnings, such as:
        HTML Code:
        Mixed Content: The page at 'https://www.meydan1967.net/forum/' was loaded over HTTPS, but requested an insecure image 'http://207.180.236.163/forum/images/css/bckg_page.png?v=3'. This content should also be served over HTTPS.
        
        Mixed Content: The page at 'https://www.meydan1967.net/forum/' was loaded over HTTPS, but requested an insecure image 'http://meydan1967.net/forum/images/css/bckg_page.png?v=3'. This content should also be served over HTTPS.
        Ideally these should use relative path (eg /images/image.gif) rather than absolute path (eg http://www.domain.com/images/image.gif)
        MARK.B | vBULLETIN SUPPORT

        TalkNewsUK - My vBulletin 5.6.3 Demo
        AdminAmmo - My Cloud Demo

        Comment


        • #5
          If you're using images from another site, an option for absolute URLS would be //www.meydan1967.net. This tells the browser to try and match the connection with the rest of the page.
          Translations provided by Google.

          Wayne Luke
          The Rabid Badger - a vBulletin Cloud demonstration site.
          vBulletin 5 API

          Comment


          • #6
            Originally posted by Mark.B View Post
            Check your stylevar settings for some of the images...you're getting mixed content warnings, such as:
            HTML Code:
            Mixed Content: The page at 'https://www.meydan1967.net/forum/' was loaded over HTTPS, but requested an insecure image 'http://207.180.236.163/forum/images/css/bckg_page.png?v=3'. This content should also be served over HTTPS.
            
            Mixed Content: The page at 'https://www.meydan1967.net/forum/' was loaded over HTTPS, but requested an insecure image 'http://meydan1967.net/forum/images/css/bckg_page.png?v=3'. This content should also be served over HTTPS.
            Ideally these should use relative path (eg /images/image.gif) rather than absolute path (eg http://www.domain.com/images/image.gif)
            I should have known. I did something stupids while testing and did not notice that. Copy paste and upload thw wrong css file.

            Thank you very much for checking and taking time. I really appreciate the knowledge and kindness of you guys.

            Comment

            Related Topics

            Collapse

            Working...
            X