what about the questionmark?

New to mod_rewrite? This is a good place to start.

what about the questionmark?

Postby .michael » Sat May 31, 2003 7:06 am

hi there,

following code:

Code: Select all
RewriteRule ^file.php[b]?[/b]user=(.*)$ data/file.php?user=$2


the problem is the questionmark. i tried:
\?
[?]
...

i can use every other character there - just with % and & are problems.

why?

greetings,
michael
.michael
 

ups

Postby .michael » Sat May 31, 2003 7:08 am

oh - bbcode is not interpretated in code-parts. forget the [b] and [/b]
:)
.michael
 

Postby Andre » Mon Jul 14, 2003 2:31 am

use:

RewriteRule ^file\.php\?user=(.*)$ data/file.php?user=$1

It would be easier to do an alias.
Andre
 
Posts: 1
Joined: Mon Jul 14, 2003 2:23 am


Return to Beginner's Corner

Who is online

Users browsing this forum: No registered users and 18 guests

cron