Re: [Hampshire] mod_rewrite

Kezdőlap

Reply to this message
Szerző: Keith Edmunds
Dátum:  
Címzett: hampshire
Tárgy: Re: [Hampshire] mod_rewrite
On Thu, 20 Nov 2008 18:52:23 +0000, brian@??? said:

> RewriteRule: cannot compile regular expression '^([^/\\]+)?/?$'


Sorry, I should have removed the backslash that was before the dot too:

RewriteRule ^([^/]+)?/?$ user.php?username=$1 [L,QSA]

--
Keith Edmunds

+-------------------------------------------------------------------------+
|    Tiger Computing Ltd    |  Helping businesses make the most of Linux  |
|  "The Linux Specialists"  |       http://www.tiger-computing.co.uk      |

+-------------------------------------------------------------------------+