Announcement

Collapse
No announcement yet.

https only?

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

  • https only?

    Does any one of you setup these .
    How to use only https?
    How to use only virtualname.. Servername url should not work.

    Thank you in advance. - Sreedhar

  • #2
    Re: https only?

    Simply remove port 80 from httpd.conf
    Code:
    Listen xxx.xxx.xxx.xxx:80
    If you would like to use virtual host in Apache, make sure you have corresponding web server name and URL set in glog.properties
    --
    Joseph Liang
    MavenWire APAC
    http://www.mavenwire.com/

    Comment


    • #3
      Re: https only?

      You can do what Joseph has mentioned but people who go to http will get a timeout. What I have done for one of our customers is created a redirect page for port 80 so it takes them to 443 instead. To do this you will need to create a separate document root directory for port 80, create a html doc to redirect to the htdocs of OTM on 443.
      If my post was helpful please click on the Thanks! button

      MavenWire Hosting Admin
      15 years of OTM experience

      Comment


      • #4
        Re: https only?

        Thank you , thats what oracle also said. but I wonder do i need to add these virtual entries to restrict individual webserver access :

        1) Add the following section at the end of $ORACLE_HOME/apache/conf/httpd.conf in all Web-Tier.

        NameVirtualHost *:7779
        <VirtualHost *:7779>
        ServerName dns.domain.com
        Port 443
        ServerAdmin [email protected]
        RewriteEngine On
        RewriteOptions inherit
        SimulateHttps On
        </VirtualHost>

        Thank you Sreedhar

        Comment


        • #5
          Re: https only?

          You can do it this way or like this:

          <VirtualHost *:80>
          DocumentRoot /opt/otm/apache/redirect/
          <Directory "/opt/otm/apache/redirect">
          Options None
          AllowOverride None
          Order deny,allow
          Allow from all
          </Directory>
          </VirtualHost>

          Then create a directory call /opt/otm/apache/redirect/ and have an html file that does a redirect to your https URL.
          If my post was helpful please click on the Thanks! button

          MavenWire Hosting Admin
          15 years of OTM experience

          Comment


          • #6
            Re: https only?

            Does it redirects the individual access to dns alias. For example : I have two servers
            web -1
            web -2
            and dns domain as mydomain.
            I am able to access web-1 individually as well as mydomain. I wanted to restrict every thing via mydomain and https. But your solution was great. I am not sure what html file I need to place under redirect and what it should contain.

            Thank you Sredhar

            Comment


            • #7
              Re: https only?

              Multiple web servers should be handled by a load balancer to the outside world.

              As far as the redirect, Google "html page redirect". There should be some examples of how to do this.
              If my post was helpful please click on the Thanks! button

              MavenWire Hosting Admin
              15 years of OTM experience

              Comment

              Working...
              X