Re: [EMAIL PROTECTED] Rewrite Rule help

2008-09-17 Thread Eric Covener
On Wed, Sep 17, 2008 at 4:58 PM, André Warnier <[EMAIL PROTECTED]> wrote: > Eric Covener wrote: >> >> On Wed, Sep 17, 2008 at 4:02 PM, André Warnier <[EMAIL PROTECTED]> wrote: (you can do the latter via your regex, but it's usually simpler to guard it the other way) >>> Rew

Re: [EMAIL PROTECTED] Rewrite Rule help

2008-09-17 Thread André Warnier
Eric Covener wrote: On Wed, Sep 17, 2008 at 4:02 PM, André Warnier <[EMAIL PROTECTED]> wrote: (you can do the latter via your regex, but it's usually simpler to guard it the other way) RewriteRule !^/maintenance\.html$ /maintenance.html [R=302,NC,L] It quickly gets unamangeable as you need

Re: [EMAIL PROTECTED] Rewrite Rule help

2008-09-17 Thread Eric Covener
On Wed, Sep 17, 2008 at 4:02 PM, André Warnier <[EMAIL PROTECTED]> wrote: >> (you can do the latter via your regex, but it's usually simpler to >> guard it the other way) >> >> > RewriteRule !^/maintenance\.html$ /maintenance.html [R=302,NC,L] It quickly gets unamangeable as you need to add captu

Re: [EMAIL PROTECTED] Rewrite Rule help

2008-09-17 Thread André Warnier
Eric Covener wrote: On Wed, Sep 17, 2008 at 2:49 PM, Yoom Nguyen <[EMAIL PROTECTED]> wrote: DocumentRoot /srv/www/maintenance/ RewriteEngine on RewriteCond %{REQUEST_METHOD} ^(TRACE|TRACK) RewriteRule .* -[F] RewriteRule ^/(.*)$ maintenance.html [R=302,NC,L] Add a / before maintenance.htm

Re: [EMAIL PROTECTED] Rewrite Rule help

2008-09-17 Thread Yoom Nguyen
Eric, That was it, I need that RewriteCond. Thank you so much for your help. Y - Original Message - From: "Eric Covener" <[EMAIL PROTECTED]> To: users@httpd.apache.org Sent: Wednesday, September 17, 2008 3:40:15 PM (GMT-0500) America/New_York Subject: Re: [EMAIL PR

Re: [EMAIL PROTECTED] Rewrite Rule help

2008-09-17 Thread Agus
2008/9/17 Eric Covener <[EMAIL PROTECTED]>: > On Wed, Sep 17, 2008 at 2:49 PM, Yoom Nguyen <[EMAIL PROTECTED]> wrote: > >> >> DocumentRoot /srv/www/maintenance/ >> >> RewriteEngine on >> RewriteCond %{REQUEST_METHOD} ^(TRACE|TRACK) >> RewriteRule .* -[F] >> >> RewriteRule ^/(.*)$ maintenance.html

Re: [EMAIL PROTECTED] Rewrite Rule help

2008-09-17 Thread Eric Covener
On Wed, Sep 17, 2008 at 2:49 PM, Yoom Nguyen <[EMAIL PROTECTED]> wrote: > > DocumentRoot /srv/www/maintenance/ > > RewriteEngine on > RewriteCond %{REQUEST_METHOD} ^(TRACE|TRACK) > RewriteRule .* -[F] > > RewriteRule ^/(.*)$ maintenance.html [R=302,NC,L] Add a / before maintenance.html, and Pro

[EMAIL PROTECTED] Rewrite Rule help

2008-09-17 Thread Yoom Nguyen
I am using Apache2 on SuSe 10 ES My redirect rule get my webserver go into a loop. I need to bring a production server down for a maintenance.  So when this happen I want the apache server to redirect everything from this particular production domain to a new DocumentRoot to display

Re: [EMAIL PROTECTED] Rewrite Rule Help

2008-05-22 Thread Krist van Besien
On Thu, May 22, 2008 at 3:35 PM, Scott Moseman <[EMAIL PROTECTED]> wrote: >> Could yo ube more specific? Is the web application configured with / >> as base URL or with /portal/ as base URL? Do you want to hide the >> "/portal" path for your users, of for the web application? > > Maybe my proxy con

Re: [EMAIL PROTECTED] Rewrite Rule Help

2008-05-22 Thread Scott Moseman
> Could yo ube more specific? Is the web application configured with / > as base URL or with /portal/ as base URL? Do you want to hide the > "/portal" path for your users, of for the web application? Maybe my proxy configuration will give you more of an idea. The site has a custom port and /porta

Re: [EMAIL PROTECTED] Rewrite Rule Help

2008-05-21 Thread Krist van Besien
On Tue, May 20, 2008 at 10:56 PM, Scott Moseman <[EMAIL PROTECTED]> wrote: > I'm trying to hide the /portal/ path for a website behind the scenes > using mod_proxy. I had to use the RewriteEngine because the website > (not under rmy control) uses some absolute URL references in the code, > and if

[EMAIL PROTECTED] Rewrite Rule Help

2008-05-20 Thread Scott Moseman
I'm trying to hide the /portal/ path for a website behind the scenes using mod_proxy. I had to use the RewriteEngine because the website (not under rmy control) uses some absolute URL references in the code, and if I don't remove the /portal/ reference it obviously breaks the site. RewriteEngine

Re: [EMAIL PROTECTED] ReWrite Rule help required

2007-06-20 Thread GKapitany
PM Subject Re: [EMAIL PROTECTED] ReWrite Rule help Please respond to required

Re: [EMAIL PROTECTED] ReWrite Rule help required

2007-06-20 Thread Lalit Kapoor
cc PM Subject [EMAIL PROTECTED] ReWrite Rule help Please respond to required [EMAIL PROTECTED] e.org Hi, We hav

Re: [EMAIL PROTECTED] ReWrite Rule help required

2007-06-20 Thread GKapitany
PM Subject [EMAIL PROTECTED] ReWrite Rule help Please respond to

[EMAIL PROTECTED] ReWrite Rule help required

2007-06-20 Thread Lalit Kapoor
Hi, We have written Rewrite Rule to direct HTTP traffic to HTTPS page. It works as : http://sitename.com ---> https://sitename.com + CA siteminder login ->http://sitename.com ( after authentication ) Here is the rule: **# URL rewrite to redirect access to /entrycheck/login.html