Re: [us...@httpd] RewriteRule for requests without additional slashes

2010-07-01 Thread alin vasile
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

Re: [us...@httpd] RewriteRule for requests without additional slashes

2010-07-01 Thread Eric Covener
>    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

Re: [us...@httpd] RewriteRule for requests without additional slashes

2010-07-01 Thread alin vasile
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

[us...@httpd] RewriteRule for requests without additional slashes

2010-07-01 Thread alin vasile
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