httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jonathan Zuckerman <j.zucker...@gmail.com>
Subject Re: [users@httpd] Re: Mod rewrite
Date Sun, 10 Jan 2010 06:52:09 GMT
On Sat, Jan 9, 2010 at 9:48 PM, pkm2112 <pkm2112@singnet.com.sg> wrote:

> Ok let me explain
> From http://clc.ncs.com/inventoryappl, I'm redirected to
> http://server1.ncs.com/inventoryappl.
>
> Instead of displaying  http://server1.ncs.com/inventoryappl,
> want to display http://s1.ncs.com/inventoryappl
>
> Can it be done with RewriteRule. I'm new to apache server. Please help
>
> rgds
> PKM
>
> --- Nicholas Sherlock <n.sherlock@gmail.com> wrote:
>
> > On 9/01/2010 8:07 p.m., pkm2112 wrote:
> > > Hello experts,
> > > Need help to mask url. I understand it can be done using
> > RewriteRule in httpd.conf file.
> > >
> > > Can I display http://server1.ncs.com/inventoryappl as
> > > http://s1.ncs.com/inventoryappl
> >
> > If this is on the same server, just add a ServerAlias entry for "s1"
> > to
> > your "server1" host definition.
> >
> > Cheers,
> > Nicholas Sherlock
>

Needs more explanation still, when you said you "want to display" do you
mean you want the browser to render the page at a different URL as the one
in the URL bar, or you want the URL bar to actually change and redirect to
the second URL?

Mime
View raw message