Re-direct all requests to the same page

This is a discussion on Re-direct all requests to the same page within the Apache Web Server forums, part of the Web Server and Related Forums category; Hi group I'm running Apache 1.3 as part of an Oracle solution. For a short while (one day), ...


Go Back   Usenet Forums > Web Server and Related Forums > Apache Web Server

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 06-12-2008
david
 
Posts: n/a
Default Re-direct all requests to the same page

Hi group

I'm running Apache 1.3 as part of an Oracle solution. For a short
while (one day), I want all requests to pages in a site to go to a
specific html page in this site. So far I have the following in
http.conf:

RewriteEngine on
RewriteRule !^/holdingpage.html$ /holdingpage.html [L]

This is fine until I get into a specific Oracle directory. For
example,
http://servername.com/dat
will display
http://servername.com/holdingpage.html

However,
http://servername.com/data
displays
The page isn't redirecting properly (in Firefox).

Any suggestions for how I can handle this would be gratefully
received.

Many thanks
  #2 (permalink)  
Old 06-13-2008
david
 
Posts: n/a
Default Re: Re-direct all requests to the same page

On 12 Jun, 17:40, david <dknight.w...@googlemail.com> wrote:
> Hi group
>
> I'm running Apache 1.3 as part of an Oracle solution. For a short
> while (one day), I want all requests to pages in a site to go to a
> specific html page in this site. So far I have the following in
> http.conf:
>
> RewriteEngine on
> RewriteRule !^/holdingpage.html$ /holdingpage.html [L]
>
> This is fine until I get into a specific Oracle directory. For
> example,http://servername.com/dat
> will displayhttp://servername.com/holdingpage.html
>
> However,http://servername.com/data
> displays
> The page isn't redirecting properly (in Firefox).
>
> Any suggestions for how I can handle this would be gratefully
> received.
>
> Many thanks


Hi again

I've managed to fix this now - there was an oracle module taking over
all calls to the data URL. Disabling this by commenting out
include conf/oracle_apache.conf
has done the trick.
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 08:37 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0