|
Posted by Stephen Kay on 10/02/78 11:43
in article 48pjs3FldgsjU1@individual.net, Simon at spambucket@example.com
wrote on 3/27/06 2:53 AM:
> What server are you using?
> If you are using apache then you can use RewriteRule ... It will do exactly
> what you are after.
>
> RewriteRule ^([^/]+)/([^/]+).html$ /dopage.php?p=$1 [L]
>
> Then you can worry about what dopage.php actually does.
Hi Simon,
I've been fooling around with this, and it shows signs of working for things
like:
www.mysite.com/folder/somepage.html
However, it doesn't work for something that is in the root html folder,
www.mysite.com/somepage.html
Since I don't understand the syntax (yet), any suggestions?
Thanks!
--
Stephen Kay
Karma-Lab sk@karma-lab.NOSPAM.com
^^^^^^^
Navigation:
[Reply to this message]
|