Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9135761
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T08:51:56+00:00 2026-06-17T08:51:56+00:00

I am getting a SSL connection for my website, meaning I can access it

  • 0

I am getting a SSL connection for my website, meaning I can access it with HTTPS. This is the first time I did such a thing and I’d like to know the basic stuff I need to do on my script to make it work as it should with the new connection.

My website uses cookies and sessions. I also need to know how I should force the user to use HTTPS instead of HTTP (ie: redirect to HTTPS if the user used HTTP).

Thank you.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T08:51:56+00:00Added an answer on June 17, 2026 at 8:51 am

    If you need to force SSL for A particular URL’s then you can do something like this

    Rewrite incoming URL’s on port 80 with a particular pattern;

    RewriteCond %{REQUEST_URI} ^/PATH-YOU-WANT-TO-RESTRICT$
    RewriteCond %{SERVER_PORT} 80
    RewriteRule ^(.*)$ https://%{SERVER_NAME}$1 [R,L]
    

    You will also need to ensure that your apache server is listening for requests coming in on port 443. This can be done easily in your httpd.conf file;

    Listen servername:443
    

    You will also require a Virtual host on our Apache server;

    LoadModule ibm_ssl_module modules/mod_ibm_ssl.so
    
    <VirtualHost servername:443>
        SSLEnable
        ServerName servername
        SSLClientAuth None
        ErrorLog /servername/conf/ssl/logs/https-error_log
        RewriteEngine On
        Include conf/vanity_rules/vanity_rewrite_rules.conf
        KeyFile /servername/conf/ssl/yourkey.kdb
    </VirtualHost>
    

    This configuration will ensure that the transport between browser and your Apache server is all encrypted.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am further toward getting this SSL connection working but if someone could tell
I'm getting ready to finally deploy my first iPhone app. The app uses SSL
We've been having issues getting a successful SSL connection from a client app trying
I am getting Soap Response from this code SOAPConnectionFactory sfc = SOAPConnectionFactory.newInstance(); SOAPConnection connection
I am getting this error when I am try to make url connection through
I am getting this error on my website: Timeout expired. The timeout period elapsed
I'm trying to access a webservice with an SSL connection from an AIR application,
I'm having trouble getting Apple to generate an APN SSL certificate for my app
I'm trying to add SSL to an existing CORBA app, and I keep getting
Getting red warning message that expected identifier for this statement CALayer = ImageView.layer; Using

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.