Mod_rewrite Help!

Fix it!!

Mod_rewrite Help!

Postby joeleo » Fri May 30, 2008 10:50 am

Hi All,

I am hoping someone can help me with a solution. I have a main website that is also acting as a reverse proxy. Thes proxy is a frontend to a few other web servers on the backend. All is working o.k... What I'm looking to do now is to put in place some kind of access control so that the proxy will ONLY serve web pages from those who are authenticate from the main site. Again, the main site in on the same server as the proxy.

Here's the setup:

www.mainsite.com (Proxy)
server1.mainsite.com
server2.mainsite.com
server3.mainsite.com

The www.mainsite.com has my CMS users where they can sign-up and authenticate. What I want is: If users enter url server1.mainsite.com then the proxy would somehow prompt users to first login. But, I'm not sure how this can be done/achieved. Should I look into Mod_Rewrite? I am not to experience in Mod_Rewrite - Can anyone help! I need to have this setup ASAP!

I would appreciate any comments/suggestions to accomplish this.

Regards,
Joe
joeleo
 
Posts: 1
Joined: Fri May 30, 2008 10:45 am

Postby richardk » Sun Jun 01, 2008 10:29 am

How does the login work? cookies?
do you have full access to all the server's configuration (Apache)?
richardk
 
Posts: 8800
Joined: Wed Dec 21, 2005 7:50 am


Return to Security with Mod_Rewrite

Who is online

Users browsing this forum: No registered users and 3 guests

cron