httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pkm2112 <pkm2...@singnet.com.sg>
Subject Re: [users@httpd] Re: Mod rewrite
Date Sun, 10 Jan 2010 05:48:20 GMT
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
> 
> 
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server
> Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
> 
> 

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message