Home
| Calendar
| Mail Lists
| List Archives
| Desktop SIG
| Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings Linux Cafe | Meeting Notes | Linux Links | Bling | About BLU |
I could use a little help... Trying to help out with a regex in Apache. I have a directory, and in that directory I have an .htaccess file: # my .htaccess file Options All RewriteEngine On RewriteBase /wiki/ RewriteRule ^([^/<>][a-zA-Z0-9_,;:\-]+)$ index.php?title=$1 So, this was working in that someone who was accessing /wiki/Title_Of_Entry was actually seeing /wiki/index.php?title=Title_Of_Entry which was looking up the right article from a database... But then someone put an article with a period in the title, and that screwed my rule. I tried changing my rule to RewriteRule ^([^/<>][a-zA-Z0-9\._,;:\-]+)$ index.php?title=$1 But this doesn't redirect correctly... I keep getting the title being set as index.php, and after the holidays, I'm not thinking too clearly. Anyone help me out here? Thanks, and a belated Merry Christmas to everyone! - Jared ____________________________________________________________________________________ Never miss a thing. Make Yahoo your home page. http://www.yahoo.com/r/hs -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. _______________________________________________ Discuss mailing list [hidden email] http://lists.blu.org/mailman/listinfo/discuss
BLU is a member of BostonUserGroups | |
We also thank MIT for the use of their facilities. |