|
The UKHA-ARCHIVE IS CEASING OPERATIONS 31 DEC 2024
|
|
[Date Prev][Date
Next][Thread Prev][Thread Next][Date
Index][Thread Index]
Re: URL Rewriting in Apache anyone?
Yup bearing in mind that you will need to set the Options Directive in
httpd.conf/apache.conf to All otherwise .htaccess files wont work.
Kind Regards,
Chris Bond
----- Original Message -----
From: "Philip Coombes" <philip.coombes@xxxxxxx>
To: <ukha_d@xxxxxxx>
Sent: Tuesday, December 17, 2002 9:03 AM
Subject: Re: [ukha_d] URL Rewriting in Apache anyone?
> I would also add that rewrite directives can normally also go in a
.htaccess
> file in the directory that the web files are held in. This allows you
to
> mess around with things without restarting apache all the time, even
if in
> the end you put them in your httpd.conf anyway.
>
> Cheers,
>
> Phil,
>
> ----- Original Message -----
> From: "Broadfoot, Kieran J"
<Kieran.Broadfoot@xxxxxxx>
> To: <ukha_d@xxxxxxx>
> Sent: Tuesday, December 17, 2002 8:55 AM
> Subject: RE: [ukha_d] URL Rewriting in Apache anyone?
>
>
> > The syntax is probably a little off but in your httpd.conf you'll
want
> > something like:
> >
> > <VirtualHost tivo.mydomain.com>
> > ServerAdmin tony@xxxxxxx
> > Redirect / http://mydomain.dnsalias.org/house/tivo
> > </VirtualHost>
> >
> > The Redirect is passed to the browser so any URLs referenced on
the
pages
> > under /house/tivo which are relative are viewed as if they
belonged to
> > tivo.mydomain.com
> >
> > If you want to redirect to a different port then that's ok as
well as
> you'd
> > just change the redirect url to something like:
> > http://mydomain.dnsalias.org:8080/
> >
> > hope this helps but please note this is for version 1.3 apache
not 2.x
> which
> > I think changes the syntax a little and its untested!
> >
> > kieran
> >
> > -----Original Message-----
> > From: BUTLER, Tony, FM [mailto:roaming@xxxxxxx]
> > Subject: [ukha_d] URL Rewriting in Apache anyone?
> >
> > Not as OT as it might seem, given that it is to aide in HA!
> >
> > I would like to redirect from say:
> >
> > house.mydomain.com to mydomain.dnsalias.org/house (This in turn
directs
on
> > to my dynamic IP cable modem connection).
> >
> > so that I can access Homeseer from the web, using a
"nicer" URL than the
> > dnsalias one.
> >
> > The idea is I'd have a number of these set up:
> > music.mydomain.com, TiVo.mydomain.co etc etc.
> >
> > The webserver at mydomain.com is an apache server.
> > I know that the URL can be rewritten, but I just don't know how
:-(
> > A search ont he web reveals various places talking about
mod_rewrite,
but
> > sadly they don't seem to cover the basics of "which file do
I put the
> > instructions in and where do I place the file" :-(
> >
> > Can one of you *nix guru's help? /me is a windoze bod &
a bit @ sea
> without
> > a GUI :-)
> >
> > I would like to retain the url originally typed in rather than
the user
> > seeing mydomain.dnsalias.org/something in the title bar.
> >
> > The other thing is:
> > Can I also get it to handle ports, so I am talking over port 80
to
> > mydomain.com and it is rewriting behind the scenes to talk to a
URL on
> port
> > 1234? (Still web traffic, just a different port no)
> >
> > thanks in advance,
> >
> >
> > Tony
> >
> >
> >
********************************************************************
> > Visit our Internet site at http://www.rbsmarkets.com
> >
> > This e-mail is intended only for the addressee named above.
> > As this e-mail may contain confidential or privileged
information,
> > if you are not the named addressee, you are not authorised to
> > retain, read, copy or disseminate this message or any part of
it.
> > The Royal Bank of Scotland plc is registered in Scotland No
90312
> > Registered Office: 36 St Andrew Square, Edinburgh EH2 2YB
> > Regulated by the Financial Services Authority
> >
********************************************************************
> >
> >
> > http://www.automatedhome.co.uk
> > Post message: ukha_d@xxxxxxx
> > Subscribe: ukha_d-subscribe@xxxxxxx
> > Unsubscribe: ukha_d-unsubscribe@xxxxxxx
> > List owner: ukha_d-owner@xxxxxxx
> >
> > List of UKHA Groups here -
http://groups.yahoo.com/group/UKHA_Grouplists/
> >
> > Your use of Yahoo! Groups is subject to
http://docs.yahoo.com/info/terms/
> >
> >
> > http://www.automatedhome.co.uk
> > Post message: ukha_d@xxxxxxx
> > Subscribe: ukha_d-subscribe@xxxxxxx
> > Unsubscribe: ukha_d-unsubscribe@xxxxxxx
> > List owner: ukha_d-owner@xxxxxxx
> >
> > List of UKHA Groups here -
http://groups.yahoo.com/group/UKHA_Grouplists/
> >
> > Your use of Yahoo! Groups is subject to
http://docs.yahoo.com/info/terms/
> >
> >
>
>
>
>
> http://www.automatedhome.co.uk
> Post message: ukha_d@xxxxxxx
> Subscribe: ukha_d-subscribe@xxxxxxx
> Unsubscribe: ukha_d-unsubscribe@xxxxxxx
> List owner: ukha_d-owner@xxxxxxx
>
> List of UKHA Groups here - http://groups.yahoo.com/group/UKHA_Grouplists/
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>
http://www.automatedhome.co.uk
Post message: ukha_d@xxxxxxx
Subscribe: ukha_d-subscribe@xxxxxxx
Unsubscribe: ukha_d-unsubscribe@xxxxxxx
List owner: ukha_d-owner@xxxxxxx
List of UKHA Groups here - http://groups.yahoo.com/group/UKHA_Grouplists/
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
Home |
Main Index |
Thread Index
|
|