List Info

Thread: mod_rewrite




mod_rewrite
user name
2007-05-23 15:12:02
 

need to change a bahaviour on the rewrite of the apache server. Right now, if I type in a path that does not exist (like /nopage.html) Apache will serve up the 404 page (/html/404.html), but the URL will still read /nopage.html. I need the URL to be /html/404.html

Conversely, when someone goes to a page that does exist (/x10) Apache will serve up the redirected page (/landing/index.jsp?wfId=685) We need Apache to instead serve up /x10.
 
Thanks
Re: mod_rewrite
user name
2007-05-23 15:42:42
Cross-posted and already answered on usershttpd.

On 5/23/07, Marco Polo <marcop123gmail.com> wrote:
>
>
> I need to change a bahaviour on the rewrite of the
apache server. Right now,
> if I type in a path that does not exist (like
/nopage.html) Apache will
> serve up the 404 page (/html/404.html), but the URL
will still read
> /nopage.html. I need the URL to be /html/404.html
> Conversely, when someone goes to a page that does exist
(/x10) Apache will
> serve up the redirected page
(/landing/index.jsp?wfId=685) We need Apache to
> instead serve up /x10.
>
> Thanks

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )