LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 04-24-2010, 02:30 AM   #1
tkmsr
Member
 
Registered: Oct 2006
Distribution: Ubuntu,Open Suse,Debian,Mac OS X
Posts: 798

Rep: Reputation: 39
some findings for reverse proxy apache2 and CMS's like joomla drupal grails etc


Hi all,
I could understand which forum to put this post in but then I feel it is important that people do take a note of it.

In my previous posts on LQ I was discussing errors which I faced while using a reverse proxy on apache2 and Content Management Systems.

Here are a few findings which I feel should be documented.


The problem I had was previously I configured some sites like this before formatting my server
http://myserver.com/site2

and now like this after formatting
http://site1.myserver.com

now here comes the problem.
if I want to use both the type of settings
http://site1.myserver.com
http://myserver.com/site2
Where I have been struggling and Googling for things. If you use a framework such as Grails,Drupal,Joomla or try to use some thing then there is a thing known as X-Forwarded-For in the headers of the site which reverse proxy will pass it on.

The internal site in both the above cases has to be configured differently.So that it works on the client side properly.


Some googling will tell to css to load on client side at some place on configuration you need to activate a variable this variable will be different in Joomla and different on another web CMS.

If you program in PHP no frame work then you have to have a different strategy to maintain session. Like this.I wish if while installing CMS or some thing on client side the servers or CMS's can ask the person if he is using reverse proxy.

In both the cases
http://site1.myserver.com
and http://myserver.com/site2

settings are different and settings are even different if you have multiple sites and each on different framework that makes the work difficult.It took me hours to figure all that out and probably more than a week before I could make things work.
I am giving two links which were very useful to me
http://wiki.uniformserver.com/index....mod_proxy_html

http://swik.net/MySQL/Planet+MySQL/O...pache%29/dcslr

and

http://wiki.apache.org/httpd/CommonMisconfigurations

http://www.linuxquestions.org/questi...=1#post3946064

http://planet.mysql.com/entry/?id=22457
Would like to thank all those LQ members who helped me in reaching this conclusion and making things work.

Last edited by tkmsr; 04-24-2010 at 02:35 AM.
 
  


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
Apache2 SSL Reverse Proxy doublejoon Linux - Networking 4 08-04-2011 09:29 AM
[SOLVED] how to setup reverse proxyapache2 drupal problem clean urls tkmsr Linux - Server 15 04-17-2010 01:17 PM
configure reverse proxy and apache2 hobbitmage Linux - Newbie 2 07-04-2009 05:21 PM
Apache2.2 as reverse proxy 4play Linux - Server 1 06-25-2009 12:19 PM
Squid as Reverse Proxy and LAN proxy? zivota Linux - Security 2 02-26-2007 05:00 PM

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

All times are GMT -5. The time now is 11:54 PM.

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