HTTPS-Home Page issue.


 
Thread Tools Search this Thread
Top Forums Web Development HTTPS-Home Page issue.
# 1  
Old 08-26-2010
HTTPS-Home Page issue.

Hi Folks,

This might be a very question,but i have not been able to find the solution.

While accessing http://16.138.32.128/ in my LAN, i am able to read the index.html placed in DocumentRoot(/var/www/html).
However if i tab in https://xx.xx.xx.xx/ ,i am only able to access the default apache page. Trying to view the index.html page gives a 404 error.I have set the DocumentRoot to /var/www/html in /etc/httpd/conf.d/ssl.conf file.


I am a newbie and want to know where the DocumentRoot is set for https.

Am attaching httpd.conf herewith.Please help.

Code:
 
<VirtualHost *:80>
        ProxyRequests Off
        <Proxy *>
          Order deny,allow
          Allow from all
        </Proxy>
 

        ProxyPass /br balancer://myclustermages/ stickysession=JSESSIONID nofailover=On
        ProxyPassReverse / http://16.138.32.121:80
        ProxyPassReverse / http://16.138.32.254:80
        <Proxy balancer://myclustermages/>
          BalancerMember http://16.138.32.121:80/br loadfactor=1
          BalancerMember http://16.138.32.254:80/br loadfactor=1
          ProxySet lbmethod=byrequests
        </Proxy>
 
        ProxyPass /balancer-manager !
        ProxyPass /Brahma balancer://mycluster/ stickysession=JSESSIONID nofailover=On
        ProxyPassReverse / http://16.138.32.121:80
        ProxyPassReverse / http://16.138.32.254:80
        AllowCONNECT 443 81
        <Proxy balancer://mycluster>
          BalancerMember http://16.138.32.121:80/Brahma loadfactor=1
          BalancerMember http://16.138.32.254:80/Brahma loadfactor=1
          ProxySet lbmethod=byrequests
        </Proxy>
        ProxyPass /Brahma1 balancer://mycluster1/ stickysession=JSESSIONID nofailover=On
        ProxyPassReverse / http://16.138.32.128:80
        ProxyPassReverse / http://16.138.32.128:80
        <Proxy balancer://mycluster1>
          BalancerMember http://16.138.32.121:81/Brahma1 loadfactor=1
          BalancerMember http://16.138.32.254:81/Brahma1 loadfactor=1
          ProxySet lbmethod=byrequests
        </Proxy>
        <Location /balancer-manager>
          SetHandler balancer-manager
        </Location>
        ProxyPass /http-bind balancer://mylbejabberdcluster/ nofailover=On
        ProxyPassReverse / http://16.138.32.128:80
        ProxyPassReverse / http://16.138.32.128:80
        <Proxy balancer://mylbejabberdcluster/>
          BalancerMember http://16.138.32.121:81/http-bind loadfactor=1
          BalancerMember http://16.138.32.254:81/http-bind loadfactor=1
          ProxySet lbmethod=byrequests
        </Proxy>
</VirtualHost>

This is an existing QA-set up and i am asked to get the same home page for HTTP and HTTPS.

Also attaching relevant config in ssl.conf file:

Code:
 
<VirtualHost 16.138.32.128:443>
DocumentRoot "/var/www/html"
ServerName 16.138.32.128:443
<Files ~ "\.(cgi|shtml|phtml|php3?)$">
    SSLOptions +StdEnvVars
</Files>
#<Directory "/var/www/cgi-bin">
<Directory "/var/www/html">
    SSLOptions +StdEnvVars
</Directory>
        ProxyRequests Off
       <Proxy *>
          Order deny,allow
          Allow from all
        </Proxy>
        ProxyPass /balancer-manager !
        ProxyPass / balancer://mycluster/ stickysession=JSESSIONID nofailover=On
        ProxyPassReverse / http://16.138.32.121:80
        ProxyPassReverse / http://16.138.32.254:80
        <Proxy balancer://mycluster>
          BalancerMember http://16.138.32.121:80 loadfactor=1
          BalancerMember http://16.138.32.254:80 loadfactor=1
          ProxySet lbmethod=byrequests
       </Proxy>
        <Location /balancer-manager>
          SetHandler balancer-manager
        </Location>
</VirtualHost>


Please help.Thanks.

HG

---------- Post updated at 09:38 AM ---------- Previous update was at 09:35 AM ----------

Please replace https://xx.xx.xx.xx/ to https://16.138.32.128/ . The tyo is regretted.

HG
Login or Register to Ask a Question

Previous Thread | Next Thread

4 More Discussions You Might Find Interesting

1. Red Hat

Configuration Reverse Proxy - https issue

Hi All I need your valuable help on this. Im trying to setup reverse proxy using apache in rhel 5.5. I just started with Apache, and not much idea about going with advance level config, except that i have tried to set up this reverse proxy based on an online guide i found in internet. The... (0 Replies)
Discussion started by: niyas_gk
0 Replies

2. Cybersecurity

https MITM attack via user page

How serious is this hacking... I noticed if I went to Delicious' https login page via my user page (http://delicious.com/) then Firefox always gave a 'there is unencrypted content included in this https page' warning, and further that if I attempted to then log in the cursor jumps back up to the... (9 Replies)
Discussion started by: GSO
9 Replies

3. Solaris

How to change home page?

Hi I am new to Sun OS I am using "SunOS **** 5.9 Generic_122300-47 sun4u sparc SUNW,Sun-Fire-15000" I have logged on as user1, I could see sar -u 5 5. Now I wanted to execute the same command to another users (e.g user2) Question-1 ----------- ... (2 Replies)
Discussion started by: sbmk_design
2 Replies

4. Post Here to Contact Site Administrators and Moderators

new thread link in home page

Sir, I want to post a new thread but I am not able to find a new thread link anywhere in the home page. Every time i used to go to new post and selecting contact administrator after that there is a link for new thread is it the right method. (1 Reply)
Discussion started by: salaathi
1 Replies
Login or Register to Ask a Question