Linux Forums - Linux Help,Advice & support community:LinuxSolved.com
Network Troublshooting => Linux Servers Support => Topic started by: klakshman03 on July 23, 2007, 10:43:03 AM
-
Hi guys.
I configured apache webserver in RHEL v4 with SSL.
now i am able to access my web as https://mydomain.com but i shud also access it as http://mydomain.com . i want to do port forwarding..can any one help me out
regds
laxman
-
I have worked before not sure but i think this is correct:
You can make entry of Virtual host in httpd.conf with ports 80 and 443....both
Like
<Virtualhost mydomain.com:80>
</Virtualhost>
<Virtualhost mydomain.com:443>
</Virtualhost>
Thanks
Gaurav
-
Its not working Gaurav..can any one pls
when iam trying http://mydomain.com ...it redirects to https://mydomain.com
OS --RHEL4
regds
laxman
-
Not sure but ,the config file should be like this :
Listen 80
Listen 443
NameVirtualHost 172.20.30.40:80
NameVirtualHost 172.20.30.40:443
<VirtualHost 172.20.30.40:80>
ServerName www.mydomain.com
DocumentRoot /www/domain-80
</VirtualHost>
<VirtualHost 172.20.30.40:443>
ServerName www.mydomain.com
DocumentRoot /www/domain-443
</VirtualHost>
Have you tried something like above ?
Thanks
Gaurav
-
Finally i got Gaurav by making some changes in ssl.conf file
thanking u
laxman
-
Could you please share how you resolved that?
What changes you have made to ssl.conf ?
Thanks
Gaurav
-
<Directory "/var/www/html">
Options +Indexes
SSLOptions +StrictRequire
SSLRequire %{SSL_CIPHER_USEKEYSIZE} >= 128
Order deny,allow
# deny from all
Satisfy any
</Directory>
regds
laxman
-
Thanks dear