[EMAIL PROTECTED] RewriteRule

2007-01-31 Thread Javier Martínez Fernández

I'm making a rewrite rule and I'm having problems with the ? character
My rule is this
RewriteRule ^([a-z0-9-]+)/?([a-z0-9-]+)?/?([0-9]+)?\?([a-z0-9=]+)?$  
index.php?controller=$1action=$2id=$3$4 [NC,L]
and the url I test is http://localhost:/kmodo/something/more/1? 
mivar=5


It doesn't work, but I change the rule to
RewriteRule ^([a-z0-9-]+)/?([a-z0-9-]+)?/?([0-9]+)?\\([a-z0-9=]+)?$  
index.php?controller=$1action=$2id=$3$4 [NC,L]
and test the url with http://localhost:/kmodo/something/more/1 
\mivar=5


The rewrite is working (see the difference  between \\ with \?).

Someone can say me what I'm doing wrong?

PD: regular expressions are my weak point :)

-
The official User-To-User support forum of the Apache HTTP Server Project.
See URL:http://httpd.apache.org/userslist.html for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
 from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [EMAIL PROTECTED] RewriteRule

2007-01-31 Thread Javier Martínez Fernández

Thanks, but I can't understand this. I'm a newbie on apache config.
Some more help, please?


El 31/01/2007, a las 21:04, Joshua Slive escribió:


On 1/31/07, Javier Martínez Fernández [EMAIL PROTECTED] wrote:
I'm making a rewrite rule and I'm having problems with the ?  
character


Read the box labeled Note: Query String under
http://httpd.apache.org/docs/2.2/mod/mod_rewrite.html#rewriterule

Joshua.

-
The official User-To-User support forum of the Apache HTTP Server  
Project.

See URL:http://httpd.apache.org/userslist.html for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
 from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
The official User-To-User support forum of the Apache HTTP Server Project.
See URL:http://httpd.apache.org/userslist.html for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
 from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[EMAIL PROTECTED] windows binaries... yes, again

2006-01-19 Thread Javier Martínez

Somebody could post some links to download the binaries?
Searching on the mailing list archive, I see the message above, but is a 
month ago... I suppose that there is now the files...


http://mail-archives.apache.org/mod_mbox/httpd-users/200512.mbox/[EMAIL 
PROTECTED]

Thanks


begin:vcard
fn;quoted-printable:Javier Mart=C3=ADnez Fern=C3=A1ndez
n;quoted-printable:Mart=C3=ADnez Fern=C3=A1ndez;Javier
org;quoted-printable:FABREGAS, S.A.;Inform=C3=A1tica
adr;quoted-printable;quoted-printable:;;;Matar=C3=B3;Barcelona;;Espa=C3=B1a
email;internet:[EMAIL PROTECTED]
x-mozilla-html:FALSE
version:2.1
end:vcard


-
The official User-To-User support forum of the Apache HTTP Server Project.
See URL:http://httpd.apache.org/userslist.html for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
  from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]