PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Serveur - Sécurité et techniques > alt.apache.configuration > translating finance.mysite.com to www.mysite.com/finance
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
alt.apache.configuration Apache web server configuration issues.

translating finance.mysite.com to www.mysite.com/finance

Réponse
 
LinkBack Outils de la discussion
Vieux 17/02/2007, 23h09   #1
ttyp32000@yahoo.com
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut translating finance.mysite.com to www.mysite.com/finance

hey,

the subject says it all; I'd like to be able to redirect requests from
URLS of the form:

http://finance.mysite.com

to

http://www.mysite.com/finance

both to get rid of the dependency of having two separate machines and
to prevent users from typing extra characters..

Is there any quick way to do this? I'm not sure how to translate the
above into an apache rule to do the redirect..

Any would be appreciated..

Thanks,

jon

  Réponse avec citation
Vieux 18/02/2007, 08h59   #2
Davide Bianchi
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: translating finance.mysite.com to www.mysite.com/finance

On 2007-02-17, ttyp32000@yahoo.com <ttyp32000@yahoo.com> wrote:
> the subject says it all; I'd like to be able to redirect requests from
> URLS of the form:
>
> http://finance.mysite.com
>
> to
>
> http://www.mysite.com/finance


NameVirtualHost *:80

<VirtualHost *:80>
ServerName finance.mysite.com
ProxyVia Off
ProxyPass / http://localhost/finance/
ProxyPassReverse / http://localhost/finance/
</VirtualHost>

> both to get rid of the dependency of having two separate machines and
> to prevent users from typing extra characters..


haven't they discovered bookmarks yet?

Davide

--
Linux - because software problems should not cost money.
-- Shlomi Fish
  Réponse avec citation
Vieux 20/02/2007, 14h53   #3
ttyp32000@yahoo.com
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: translating finance.mysite.com to www.mysite.com/finance


> NameVirtualHost *:80
>
> <VirtualHost *:80>
> ServerName finance.mysite.com
> ProxyVia Off
> ProxyPass /http://localhost/finance/
> ProxyPassReverse /http://localhost/finance/
> </VirtualHost>
>
> > both to get rid of the dependency of having two separate machines and
> > to prevent users from typing extra characters..

>
> haven't they discovered bookmarks yet?


Well yes, but if you are typing in a url that you see in a magazine
you really don't have bookmarks, do you?

anyways, thanks for the response, I thought it was easy but I thought
I'd make sure..

jon

>
> Davide
>
> --
> Linux - because software problems should not cost money.
> -- Shlomi Fish



  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 18h53.


É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,10438 seconds with 11 queries