Re: [us...@httpd] Re: Mod rewrite

2010-01-09 Thread Jonathan Zuckerman
On Sat, Jan 9, 2010 at 9:48 PM, pkm2112 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 do

Re: [us...@httpd] Re: Mod rewrite

2010-01-09 Thread pkm2112
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 rg

[us...@httpd] Re: Mod rewrite

2010-01-09 Thread Nicholas Sherlock
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

Re: [us...@httpd] Re: Mod rewrite help

2009-05-08 Thread Jonathan Zuckerman
On Fri, May 8, 2009 at 8:37 AM, Justin Pasher wrote: > Brent Clark wrote: >> >> Hiya >> >> Sorry to give and example, I have inherited this machine, and I have this >> in the conf file >> >>       Alias "/dms-bookings/"       "/bookingsdata/bookings_data/bookings/" >>       Alias "/dms-bookings-ne

Re: [us...@httpd] Re: Mod rewrite help

2009-05-08 Thread Justin Pasher
Brent Clark wrote: Hiya Sorry to give and example, I have inherited this machine, and I have this in the conf file Alias "/dms-bookings/" "/bookingsdata/bookings_data/bookings/" Alias "/dms-bookings-new/" "/bookingsdata/bookings_data/bookings/" Alias "/dms-booki

[us...@httpd] Re: Mod rewrite help

2009-05-08 Thread Brent Clark
Brent Clark wrote: Hiya I need help with a rewrite rule, and I was hoping someone would be kind to help. I need to mod_rewrite and /or alias for the following example links. http://192.168.111.124/dms-bookings-1/34873/ACC_1_Comm01_34873_20080303.pdf http://192.168.111.124/dms-bookings-