RE: [newbie] apache rewrite regex

2003-06-11 Thread Frankie
nesday, 11 June 2003 6:08 PM To: [EMAIL PROTECTED] Subject: Re: [newbie] apache rewrite regex . means every character * means zero, one or more instances of the previous character. ^ means beginning of the line (or negation in some situations) $ means end of line The part of the regexp between

Re: [newbie] apache rewrite regex

2003-06-11 Thread Steven Broos
> So a wild guess for the string you want to write: > > ^\/perl\/dl.pl(\/.*)$ http://127.0.0.1:8200/perl/dl.pl$1 > But I guess the regexp you wrote first will work to ! > > Steven forgot some comments. - I don't think the regexp I wrote is 100% correct - Also try: RewriteRule ^.*(\/perl\/.*)$

Re: [newbie] apache rewrite regex

2003-06-11 Thread Steven Broos
. means every character * means zero, one or more instances of the previous character. ^ means beginning of the line (or negation in some situations) $ means end of line The part of the regexp between the brackets will be returned as $1 So the first regexp ^(.*\/perl\/.*)$ says: - If a line start