[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]
On Mon, 2005-09-12 at 13:14 +0100, Philip Radford wrote:
>
> Basicallly I am trying to create a dynamic directory which will be
> translated to a path to a php script.
>
> e.g. http://www.xyz.co.uk/products =>
> http://www.xyz.co.uk/index.php?cat=products
>
> My attempt so far is :-
>
> RewriteEngine on
> RewriteBase /
> RewriteRule ^/(.*)$ /index.php?cat=$1 (L)
>
^^^
These should be square brackets I think. Try:
RewriteRule ^/(.*)$ /index.php?cat=$1 [L]
John.
--
---------------------------------------------------------------
John Horne, University of Plymouth, UK Tel: +44 (0)1752 233914
E-mail: John.Horne@xxxxxxxxxxxxxx Fax: +44 (0)1752 233839
--
The Mailing List for the Devon & Cornwall LUG
Mail majordomo@xxxxxxxxxxxxx with "unsubscribe list" in the
message body to unsubscribe. FAQ: www.dcglug.org.uk/linux_adm/list-faq.html