No, it sounds like you're attempting to do what is already being done. As Krist said, any of those urls you specified will cause Apache to invoke PHP for topic-guide.php, passing the URL specified section value in the $_GET super global. To illustrate this, just create a file on your server, say test.php, with these 6 lines: <?php if(isset($_GET["section"])) echo "This is test.php, but the browser requested section " . $_GET["section"]; else echo "This is test.php. The browser did not request a specific section."; ?> No browse to that page like: http://www.mydomain.com/test.php http://www.mydomain.com/test.php?section=1 http://www.mydomain.com/test.php?section=2 http://www.mydomain.com/test.php?section=3 Is that what you're looking for, or did I miss the point? -Brian -- Feel free to contact me using PGP Encryption: Key Id: 0x3AA70848 Available from: http://pgp.mit.edu/ On Tue, Jan 6, 2009 at 5:58 AM, Channel Five <edd.dawson@xxxxxxxxx> wrote: > Thanks Krist.. > > So basically I'm attempting the impossible? > > On Tue, Jan 6, 2009 at 10:42 AM, Krist van Besien > <krist.vanbesien@xxxxxxxxx> wrote: >> >> On Tue, Jan 6, 2009 at 11:25 AM, Channel Five <edd.dawson@xxxxxxxxx> >> 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@xxxxxxxxx >> krist@xxxxxxxxxxxxx >> 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@xxxxxxxxxxxxxxxx >> " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx >> For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx >> > > --------------------------------------------------------------------- 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@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx