httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Arnold <carn...@electrichendrix.com>
Subject Re: [users@httpd] Another mod_proxy Question/Issue
Date Thu, 31 Oct 2013 15:06:27 GMT
>First of all, is "/folder/", "/path/" or "/share/"? You seem to have
>used them all so far.. please be careful when anonymizing your config
>that you aren't removing information that is necessary to determine
>what is wrong....

This really shouldn't matter what it is /folder /path/ or /share as long as i know what goes
there. There is certain stuff that i do not want posted to a public mailing list and this
is 1.

>Given your configuration, the error you are showing is impossible -
>there is absolutely no way that "ProxyPass / /share/" could result in
>the URL "/shareshare/" being requested on the backend. This leads me
>to think that your configuration that you are showing here is not
>indicative of the config you are running.

Seems this is possible but here is the config:

<IfDefine SSL>
<IfDefine !NOSSL>

<VirtualHost *:443>

	#  General setup for the virtual host
	#DocumentRoot "/srv/www/htdocs"
	ServerName servername.tld:443
	ServerAlias mail.* ifolder.*

	#This rewrites https://mail.anydomain.tld to our mail server
	RewriteEngine On
	RewriteCond %{HTTP_HOST} ^mail\.
	RewriteCond %{HTTPS} on
	RewriteRule ^/(.*) https://192.168.124.3/$1 [P]
	#RedirectMatch ^/$ /zimbra/

	RewriteCond %{HTTP_HOST} ^webmail\.
	RewriteCond %{HTTPS} on
	RewriteRule ^/(.*) https://192.168.124.3/$1 [P]

	

	#ServerAdmin webmaster@example.com
	ErrorLog /var/log/apache2/error_log
	TransferLog /var/log/apache2/access_log

	SSLProxyEngine On
	ProxyPreserveHost On
	ProxyPass / https://192.168.123.3:8443/share
	ProxyPassReverse / https://192.168.123.3:8443/share

Then there is a series of SSL entries and then:

</VirtualHost>                                  

</IfDefine>
</IfDefine>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message