httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Krist van Besien" <krist.vanbes...@gmail.com>
Subject Re: [users@httpd] 301 Redirect problem on Apache 2.0.50
Date Tue, 06 Jan 2009 10:42:37 GMT
On Tue, Jan 6, 2009 at 11:25 AM, Channel Five <edd.dawson@gmail.com> wrote:
> Hi
>
> I have the following URL's
>
> http://www.mydomain.com/topic-guide.php
> http://www.mydomain.com/topic-guide.php?section=2
> http://www.mydomain.com/topic-guide.php?section=3
> http://www.mydomain.com/topic-guide.php?section=4

You have one url, with an optional parameter, called "section". This
parameter is handled by your php script.

> I want to redirect all those ending in ?section=x to
>
> http://www.mydomain.com/topic-guide.php

This is already done. Any URL of the form:
http://www.mydomain.com/topic-guide.php?<something> will cause apache
to process topic-guide.php, with whatever passed as arguments passed
on to the script. It is up to your script to deal with the arguments.

Krist


-- 
krist.vanbesien@gmail.com
krist@vanbesien.org
Bremgarten b. Bern, Switzerland
--
A: It reverses the normal flow of conversation.
Q: What's wrong with top-posting?
A: Top-posting.
Q: What's the biggest scourge on plain text email discussions?

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


Mime
View raw message