Please login or register.

Login with username, password and session length
Advanced search  

News:

Latest sNews - sNews 1.7 - with its own forums - for discussion and user mods.

Author Topic: .htaccess questions  (Read 2509 times)

lilspen

  • Jr. Member
  • **
  • Karma: 2
  • Posts: 57
.htaccess questions
« on: January 19, 2008, 03:55:43 am »

I have been reading up a little on .htaccess mod_rewrite and was wondering a couple things.

in the sNewsMU .htaccess file i see a few places that don't have the $ character(which, to my understanding is to end a string) at the end of a string.
RewriteRule ^(a-bA-B_-)+ index.php?url=$1
^an example
shouldn't there be a $ after the "+" ?(see MU htaccess file)
if not, why?

does rewriting file directories work also?
an image in /files/id/ will work using a rewrite url /user/id/files (if linked to on a page)?
Logged