Search squid archive

reverse proxy redirect https

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

 



Hello there





I have the following configuration:



#acl port80 myport 80

#acl site1 dstdomain www.betterhomes.ch

#acl site2 dstdomain www.betterhomes.de

#acl site3 dstdomain www.betterhomes-international.com

#acl site4 dstdomain www.betterhomes.at



#http_access deny port80 site1

#http_access deny port80 site2

#http_access deny port80 site3

#http_access deny port80 site4



#deny_info https://www.betterhomes.ch site1

#deny_info https://www.betterhomes.de site2

#deny_info https://www.betterhomes-international.com site3

#deny_info https://www.betterhomes.at site4







The problem ist hat the URI, for example www.betterhomes.ch/about/ is
not preserved in the redirection.



So in fact a user which requests http://www.betterhomes.ch/about/ is
then redirected to https://www.betterhomes.ch/

Instead of the correct url which would be https://www.betterhomes.ch/about/ .





Is there any way similar to apache mod_rewrite to pass the uri part
into a variable and append to the redirect rule ?





Cheers

Stefan




[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux