thanks. I completely forgot about the greedy matching. now my qustion looks
silly :)
From: Eric Covener
To: users@httpd.apache.org
Sent: Thu, July 1, 2010 10:53:56 PM
Subject: Re: [us...@httpd] RewriteRule for requests without additional slashes
> D
> Does anyone know how can a RewriteRule must be written to match only
> requests urls that have no slashes except the initial one? For example to
> match /index.html, /login.do but not /path/login.jsp or
> /home/reports/daily.pdf.
IOW "completely non-slash characters between the first slash an
sorry, I meant RewriteCond and not RewriteRule.
From: alin vasile
To: users@httpd.apache.org
Sent: Thu, July 1, 2010 10:07:59 PM
Subject: [us...@httpd] RewriteRule for requests without additional slashes
Hi,
Does anyone know how can a RewriteRule must
Hi,
Does anyone know how can a RewriteRule must be written to match only
requests urls that have no slashes except the initial one? For example to match
/index.html, /login.do but not /path/login.jsp or /home/reports/daily.pdf.
Thanks,
Alin