John Sladek on 14 May 2008 18:28:49 -0700


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] regex question


Thanks Joe,

Your solution definatly makes more sense and will probably keep me out of 
trouble down the road.  The new rule did work fine for me.

Thanks to everyone that suggested the regex sites.

-John

> I wrote mine blind at work. This works fine:
> RewriteRule ^(.*)$ /index.php?sub=$1 [L]
> or using your original one seems to work fine as well. The main
> benefit to the RewriteCond's is that it allows you to have anything
> else -- such as images -- in the path.




___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug