[prev in list] [next in list] [prev in thread] [next in thread] 

List:       apache-httpd-users
Subject:    Re: Redirection
From:       Raquel Rice <raquel () thericehouse ! net>
Date:       2002-01-31 19:42:57
[Download RAW message or body]

On Thu, 31 Jan 2002 14:25:44 -0500
Joshua Slive "Joshua Slive" <joshua@slive.ca> wrote:

> >
> > Apparently my thinking was not correct.  My test showed that it
> did
> > not work as expected.
> 
> I don't understand exactly what you are trying to do (a set of
> "before" and
> "after" URLs might help), but this should be closer:
> 
> RedirectMatch permanent /(.*)\.shtml
> http://trishxs.yellowline.com/pages.php?page=catalog
> 
> If that doesn't work, you can almost surely do it with
> mod_rewrite, but that
> will be a little more complicated.
> 
> Joshua.

When I learned, I learned the KISS principle.  Besides the above
didn't work.

What I'm trying to do is to redirect from
	http://www.yellowline.com/trishkayr/index.shtml
to
	http://www.yellowline.com/trishkayr/index.php
AND
	http://www.yellowline.com/trishkayr/catalog.shtml
to
	http://www.yellowline.com/trishkayr/pages.php?page=catalog

(There is also the subdomain http://trish.yellowline.com ... same
files, etc)

All of the individual items each *had* their own .shtml page but now
the pages are created dynamically from a database.  Rather than
creating a redirect for each item it would be easier to create one
redirect that would work for each item but would redirect to the
main catalog page.

Does that help clarify some?

-- 
Raquel
============================================================
Freedom to be your best means nothing unless you're willing to do
your best.
  --Colin Powell

                              
                              

---------------------------------------------------------------------
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
For additional commands, e-mail: users-help@httpd.apache.org

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic