Advertisement

12.21.2007 at 11:23PM PST, ID: 23039620
[x]
Attachment Details

How can I run both https:// and http:// port on the same server

Asked by tooki in Unix Operating Systems, Sun Solaris, Apache Web Server

I run my application on SSL port (https://) and I need to enable the server's http:// port as well. How can I do that? I am running apache version 1.3.28 (with mod_ssl) on solaris 9.
Can I specify this in the VirtualHost setup in the httpd.conf configuration file? If so, how can I do that.

I need this so that the following two URLs point to the same:
https://myserver.myco.com/myapp/index.html
http://myserver.myco.com/myapp/index.html

Also any calls to https://.../.. goes to corresponding http://.../.. location.

I have attached the VirtualHost part of the httpd.conf file.

Also wanted this all because, suddenly for some whatever reason, the https:// port has become extremeny slow. The application is very very slow. I get lots of error on the ssl error log. Now I run the application on the http port (instead of previous https). But several links are hard coded in the app. So need to run the https port as well so that the links do not get broken.Start Free Trial
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
<VirtualHost 100.100.210.4:443>
        DocumentRoot "/usr2/apache1.3.28/htdocs"
        ServerName myapp.myco.com
        ServerAdmin root@myapp.myco.com
        ErrorLog /usr2/apache1.3.28/logs/error_log
        TransferLog /usr2/apache1.3.28/logs/access_log
        SSLEngine on
        SSLCipherSuite ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP
:+eNULL
SSLCertificateFile /usr2/apache1.3.28/conf/2007/app.crt
SSLCertificateKeyFile /usr2/apache1.3.28/conf/2007/server.key
SSLCACertificateFile /usr2/apache1.3.28/conf/2007/myco-ca.crt
        <Files ~ "\.(cgi|shtml|phtml|php3?)$">
                SSLOptions +StdEnvVars
        </Files>
        <Directory "/usr2/apache1.3.28/cgi-bin">
                SSLOptions +StdEnvVars
        </Directory>
        SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown downgrad
e-1.0 force-response-1.0
        CustomLog /usr2/apache1.3.28/logs/ssl_request_log "%t %h %{SSL_PROTOCOL}
x %{SSL_CIPHER}x \"%r\" %b"
</VirtualHost>
[+][-]12.21.2007 at 11:47PM PST, ID: 20518012

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]12.22.2007 at 01:11AM PST, ID: 20518105

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]12.22.2007 at 07:06PM PST, ID: 20520382

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]12.23.2007 at 11:00AM PST, ID: 20522287

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]12.23.2007 at 01:26PM PST, ID: 20522647

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]12.24.2007 at 08:26PM PST, ID: 20526416

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]12.24.2007 at 08:58PM PST, ID: 20526513

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]12.25.2007 at 11:16AM PST, ID: 20527586

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Unix Operating Systems, Sun Solaris, Apache Web Server
Sign Up Now!
Solution Provided By: tooki
Participating Experts: 3
Solution Grade: A
 
 
[+][-]12.25.2007 at 12:20PM PST, ID: 20527695

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628