|
|
|
|
||||||
| alt.apache.configuration Apache web server configuration issues. |
![]() |
|
|
LinkBack | Outils de la discussion |
|
|
#1 |
|
Messages: n/a
Hébergeur: |
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 |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
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 |
|
|
|
#3 |
|
Messages: n/a
Hébergeur: |
> 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 |
|
![]() |
| Outils de la discussion | |
|
|