LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 07-05-2010, 12:58 AM   #1
tkmsr
Member
 
Registered: Oct 2006
Distribution: Ubuntu,Open Suse,Debian,Mac OS X
Posts: 798

Rep: Reputation: 39
how to make ProxyPreserveHost On work


I am not clear with
ProxyPassReverseCookieDomain and ProxyPassReverseCookiePath
I checked this page
http://httpd.apache.org/docs/2.2/mod...oxypassreverse

but I am not able to understand it
I am having 8 websites running on a machine one of them is not getting
connected via internet

My virtual host configuration is as follows
Code:
<VirtualHost *:80>

       ServerAdmin webmaster@localhost
       ServerName mydomain.com
       ProxyRequests off
       <Proxy *>
       Order deny,allow
       Allow from all
       </Proxy>

       ProxyPreserveHost On

       ProxyPass /something1 http://192.168.1.5/something1
       ProxyPassReverse /something1 http://192.168.1.5/something1

       ProxyPass /something2 http://192.168.1.5/something2/www/
       ProxyPassReverse /something2 http://192.168.1.5/something2/www/

       ProxyPass /something3 http://192.168.1.5/something3/
       ProxyPassReverse /something3 http://192.168.1.5/something3/

       ProxyPass /something4 http://192.168.1.5/something4/
       ProxyPassReverse /something4 http://192.168.1.5/something4/

       ProxyPass /something5 http://192.168.1.5/something5
       ProxyPassReverse /something5 http://192.168.1.5/something5

      ProxyPass /something6 http://192.168.1.5:8080/something6
      ProxyPassReverse /something6 http://192.168.1.5:8080/something6

       ProxyPass /something7 http://192.168.1.5:6060/portal
       ProxyPassReverse /something7 http://192.168.1.5:6060/portal

       ProxyPass / http://192.168.1.5/
       ProxyPassReverse / http://192.168.1.5/

       ErrorLog /var/log/apache2/mydomain_error.log

       # Possible values include: debug, info, notice, warn, error, crit,
       # alert, emerg.
       LogLevel debug

       CustomLog /var/log/apache2/mydomain_access.log combined

       CustomLog /var/log/apache2/mydomain-resp_log resp
       LogFormat "%D %{X-Forwarded-For}i %t" resp

</VirtualHost>
I want to use ProxyPassReverseCookieDomain
2 websites are not working while rest are working in this setup

is it some how possible to make it I am totally confused
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Many hands make the light work; few make it shine LXer Syndicated Linux News 0 06-08-2010 04:20 AM
make Xconfig doesn't work, make menuconfig does work Debian/KDE bucovaina78 Linux - Kernel 1 10-15-2008 01:26 PM
1st time installing redhat - Make and Make Install does not work runlikeanantelope Linux - Newbie 4 02-19-2007 03:58 PM
How do I make a change to a current kernel? Would 'make oldconfig' work... jtp51 Slackware 11 11-01-2004 11:02 PM
'make' and 'make install' commands dont work on my system? ginda Linux - Newbie 9 04-18-2004 11:17 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 01:10 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration