You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Luca Ghedini <lu...@mail.ing.unibo.it> on 1999/03/20 15:05:14 UTC

config/4094: diffucult to redirect fra virtual server

>Number:         4094
>Category:       config
>Synopsis:       diffucult to redirect fra virtual server
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Sat Mar 20 06:10:00 PST 1999
>Last-Modified:
>Originator:     luca.ghedini@mail.ing.unibo.it
>Organization:
apache
>Release:        1.3.4
>Environment:
SunOS lamu.ing.unibo.it 5.6 Generic_105181-08 sun4u sparc SUNW,Ultra-Enterpris

Gcc 2.8.1
>Description:
I'he the vhosts (A and B) on the same IP Addr.

A il i a  secure server (https) B is a standard server (http)

hear the httpds.conf topic piece:

<VirtualHost 137.204.58.1:443>
        SSLDisable
        ServerName yum.ing.unibo.it
        ServerAdmin root@lamu.ing.unibo.it
	Redirect permanent / http://yum.ing.unibo.it:80
</VirtualHost>

<VirtualHost 137.204.58.1:80>
        SSLDisable
        ServerName yum.ing.unibo.it
        ServerAdmin aomicini@deis.unibo.it
        DocumentRoot /home0/www/yum
        <Directory /home0/www/yum >
		Options Indexes 
		IndexOptions FancyIndexing 
		allow from all
	</Directory>
</VirtualHost>


# Cose relative a webplan

<VirtualHost 137.204.58.1:80>
        SSLDisable
        ServerName webplan.ing.unibo.it
        ServerAdmin root@lamu.ing.unibo.it
	Redirect permanent / https://webplan.ing.unibo.it:443
</VirtualHost>

<VirtualHost 137.204.58.1:443>
        SSLEnable
        SSLCertificateFile /usr/local/apache/ssl/certificate/lamu.pem
        ServerName webplan.ing.unibo.it
        ServerAdmin root@lamu.ing.unibo.it
        ErrorLog logs/webplan_elog 
        TransferLog logs/webplan_log
	DocumentRoot /home0/www/webplan
	<Directory /home0/www/webplan >
		Options Indexes ExecCGI
		IndexOptions FancyIndexing 
		allow from all
	</Directory>

</VirtualHost>



the apache serve hangs: no one virtual are available!
>How-To-Repeat:

>Fix:
Is the problem related to the the hash algoritm the choose the right vhost?

The port of the vhost is considered?
>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, ]
[you need to include <ap...@Apache.Org> in the Cc line ]
[and leave the subject line UNCHANGED.  This is not done]
[automatically because of the potential for mail loops. ]
[If you do not include this Cc, your reply may be ig-   ]
[nored unless you are responding to an explicit request ]
[from a developer.                                      ]
[Reply only with text; DO NOT SEND ATTACHMENTS!         ]