Hi,
I am a newbie to apache.
I am currently working on a project which requires to run a ssl site and a non ssl site in the same host using different ports. Another host will also be set up with the same configuration and we will use a software router as a load balancer for connecting to one of the hosts when a request is made for either of the sites.
Now the problem is, ssl site works without any problem but the non ssl site works fine when it is accessed from the host directly but when I try to access the same through the load balancer, it goes to the login page and then redirects to "User already logged in page" and stays there always. Clearing browser cache/cookies doesn't seem to solve the problem.
Now how to find out whether the problem is due to my apache configuration? Here is the virtual host part of my config file
<VirtualHost *:8443>
Port 9999
ServerName $(INTERNAL_DOMAIN)
SSLEngine On
SSLCertificateFile ~/ssl.crt/internal.server.crt
SSLCertificateKeyFile ~/ssl.key/internal.server.key
RewriteEngine On
RewriteOptions inherit
RewriteRule ^/((index\.html)?)$ /index.html
</VirtualHost>
<VirtualHost *:8080>
Port 4080
ServerName $(INTERNAL_DOMAIN)
SSLEngine Off
RewriteEngine On
RewriteOptions inherit
RewriteRule ^/((index\.html)?)$ /index.html
</VirtualHost>
It will be very helpful if any of you can provide me help / suggestion to solve this issue.
TIA.
Thanks & Regards,
Bindu
I am a newbie to apache.
I am currently working on a project which requires to run a ssl site and a non ssl site in the same host using different ports. Another host will also be set up with the same configuration and we will use a software router as a load balancer for connecting to one of the hosts when a request is made for either of the sites.
Now the problem is, ssl site works without any problem but the non ssl site works fine when it is accessed from the host directly but when I try to access the same through the load balancer, it goes to the login page and then redirects to "User already logged in page" and stays there always. Clearing browser cache/cookies doesn't seem to solve the problem.
Now how to find out whether the problem is due to my apache configuration? Here is the virtual host part of my config file
<VirtualHost *:8443>
Port 9999
ServerName $(INTERNAL_DOMAIN)
SSLEngine On
SSLCertificateFile ~/ssl.crt/internal.server.crt
SSLCertificateKeyFile ~/ssl.key/internal.server.key
RewriteEngine On
RewriteOptions inherit
RewriteRule ^/((index\.html)?)$ /index.html
</VirtualHost>
<VirtualHost *:8080>
Port 4080
ServerName $(INTERNAL_DOMAIN)
SSLEngine Off
RewriteEngine On
RewriteOptions inherit
RewriteRule ^/((index\.html)?)$ /index.html
</VirtualHost>
It will be very helpful if any of you can provide me help / suggestion to solve this issue.
TIA.
Thanks & Regards,
Bindu