PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Hébergement serveur > comp.info.servers.unix > A challenging Proxy setup? Or impossible?
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
comp.info.servers.unix Web servers for UNIX platforms.

A challenging Proxy setup? Or impossible?

Réponse
 
LinkBack Outils de la discussion
Vieux 18/05/2005, 14h58   #1
CheekyGeek
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut A challenging Proxy setup? Or impossible?

We are transitioning from static pages (on one server) to a CMS
(running on another server - unfortunately IIS). To make the
transistion as transparent as possible, we have set up a Linux/Apache
2.0 reverse proxy which has become the WWW machine. It directs URLs to
either the old server or the new server, depending upon whether the
department or office has converted their content into the CMS yet, or
not.

This is working well, but here is the challenging part. We had some
VirtualHosts on the old server. For example: its.domain.com used to
equal www.domain.com/offices/its/ (you could get to the pages with
either URL. If you came via its.domain.com then the user saw that
domain as long as they were clicking relatively addressed links.

We'd like to do the same thing when those page move to the CMS machine,
but there is a problem. The CMS writes some things (like scripts and
images) using links relative to the IIS web root. For example:
<img src="/uploadedImages/offices/its/image.gif">

So how does one set up the VirtualHost (and/or the Proxy config) on the
WWW proxy machine so that some directories (like uploadedImages) are
proxied to the CMS machine, but NOT affected by the VirtualHost root
definition?

Is this even possible?

Currently we are simply using a REDIRECT directive in the VirtualHost
definition, but that means that the user loses the virtual domain as
soon as they are redirected.

You may also need to know that the virtualhost info is defined in a
vhost.conf while the reverse proxy stuff is defined in a separate
revproxy.conf.

Any suggestions would be greatly appreciated!

  Réponse avec citation
Vieux 18/05/2005, 18h22   #2
Nick Kew
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: A challenging Proxy setup? Or impossible?

CheekyGeek wrote:

> [chop]
> Any suggestions would be greatly appreciated!
>


http://www.apacheweek.com/features/reverseproxies

--
Nick Kew
  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 22h41.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,08251 seconds with 10 queries