hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Hosting Security and Technology : troubles with reverse proxy
Reply

Hosting Security and Technology Configuring and optimizing web hosting servers and operating systems, developing administration scripts, building servers, protecting against hackers, and general security (SSL certificates, etc.)
Forum Jump

troubles with reverse proxy

Reply Post New Thread In Hosting Security and Technology Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 10-21-2005, 02:31 AM
5ven 5ven is offline
New Member
 
Join Date: Oct 2005
Posts: 2

troubles with reverse proxy


I am setting up reverse proxy for my servers. One server is running Apache 2.0 and others are running lighttpd, php-fastcgi and mysql instances. The users I have are using CMS systems.

This far the commands I have been trying in Apache conf are like these:

<Location /user1/>
ProxyPass onelocalhostip/
ProxyPassReverse /
ProxyPassReverseCookieDomain onelocalhostipwithhypertexttransferprotocol heresmyhost
ProxyPassReverseCookiePath / /user1/
SetOutputFilter proxy-html
ProxyHTMLURLMap / /user1/
ProxyHTMLURLMap /user1/ /user1/
RequestHeader unset Accept-Encoding
</Location>

<Location /user2/>
ProxyPass anotherlocalhostipwithhypertexttransferprotocol/
ProxyPassReverse /
ProxyPassReverseCookieDomain anotherlocalhostip heresmyhost
ProxyPassReverseCookiePath / /user2/
SetOutputFilter proxy-html
ProxyHTMLURLMap / /user2/
ProxyHTMLURLMap /user2/ /user2/
RequestHeader unset Accept-Encoding
</Location>

Now the problem with Apache 2.053 (with proxy cookie patch) - for user1 everything seems OK, but when user2 tries to log in to his CMS from front page (heresmyhost/user2/), he is taken to user1's front page (heresmyhost/user1/). How could I fix this?

Reply With Quote


Sponsored Links
Reply

Related posts from TheWhir.com
Title Type Date Posted
NGINX 1.2.0 Update of Web Server Improves HTTP Proxy Support Web Hosting News 2012-04-24 16:47:23
Could Growing Resin Web Server Exert a Web Hosting Influence? Web Hosting News 2012-02-28 17:12:13
Apache Web Server Adds Cloud Capabilities with First Major Update in 5 Years Web Hosting News 2012-02-21 16:05:02
InterNetX Launches Server Administration Software Web Hosting News 2011-12-22 22:06:48
Web Host SpexHost Launches New Reseller Hosting Plans Web Hosting News 2011-08-19 15:35:58


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?