Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
November 25, 2024, 07:35:18 AM
News
: LinuxSolved.com Linux Help Community Forum..
Home
Search
Login
Register
Linux Forums - Linux Help,Advice & support community:LinuxSolved.com
»
Network Troublshooting
»
Linux Servers Support
»
https and port forwarding
« previous
next »
Print
Pages: [
1
]
Author
Topic: https and port forwarding (Read 7357 times)
klakshman03
Tux Awared
Posts: 35
https and port forwarding
«
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
Logged
gauravbajaj
LST CareTaker
Experienced
Posts: 658
Re: https and port forwarding
«
Reply #1 on:
July 23, 2007, 01:25:22 PM »
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
Logged
klakshman03
Tux Awared
Posts: 35
Re: https and port forwarding
«
Reply #2 on:
July 24, 2007, 06:20:05 AM »
Its not working Gaurav..can any one pls
when iam trying http://mydomain.com ...it redirects to https://mydomain.com
OS --RHEL4
regds
laxman
Logged
gauravbajaj
LST CareTaker
Experienced
Posts: 658
Re: https and port forwarding
«
Reply #3 on:
July 24, 2007, 07:15:19 AM »
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
Logged
klakshman03
Tux Awared
Posts: 35
Re: https and port forwarding
«
Reply #4 on:
July 25, 2007, 09:44:58 AM »
Finally i got Gaurav by making some changes in ssl.conf file
thanking u
laxman
Logged
gauravbajaj
LST CareTaker
Experienced
Posts: 658
Re: https and port forwarding
«
Reply #5 on:
July 25, 2007, 10:23:39 AM »
Could you please share how you resolved that?
What changes you have made to ssl.conf ?
Thanks
Gaurav
Logged
klakshman03
Tux Awared
Posts: 35
Re: https and port forwarding
«
Reply #6 on:
July 26, 2007, 04:05:34 AM »
<Directory "/var/www/html">
Options +Indexes
SSLOptions +StrictRequire
SSLRequire %{SSL_CIPHER_USEKEYSIZE} >= 128
Order deny,allow
# deny from all
Satisfy any
</Directory>
regds
laxman
Logged
gauravbajaj
LST CareTaker
Experienced
Posts: 658
Re: https and port forwarding
«
Reply #7 on:
July 26, 2007, 06:31:18 AM »
Thanks dear
Logged
Print
Pages: [
1
]
« previous
next »
Linux Forums - Linux Help,Advice & support community:LinuxSolved.com
»
Network Troublshooting
»
Linux Servers Support
»
https and port forwarding