Re: Another mod_proxy Question/Issue

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>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@xxxxxxxxxxx
	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@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx





[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux