Re: [PHP] Apache RewriteRule Help!!!!

2008-06-15 Thread Miguel J. Jiménez
El Fri, 13 Jun 2008 10:23:29 -0400 "Daniel Brown" <[EMAIL PROTECTED]> escribió: > You can start by asking your question on an Apache list. This has > nothing to do with PHP. ;-P > > To answer your question, use this in your .htaccess file: > > RewriteCond %{SCRIPT_FILENAME} index > Rew

Re: [PHP] Apache RewriteRule Help!!!!

2008-06-13 Thread Daniel Brown
On Fri, Jun 13, 2008 at 4:11 AM, Miguel J. Jiménez <[EMAIL PROTECTED]> wrote: > > How can I make apache work fine with "http://foo/INDEX/mp3"; and > redirect to an error page (or moved url or wahtever) > with "http://foo/INDEX/index.php?m=mp3"; (from the client view) You can start by asking yo

[PHP] Apache RewriteRule Help!!!!

2008-06-13 Thread Miguel J. Jiménez
Hi, I am having a little problem here, I have a .htaccess that looks thus: RewriteEngine on RewriteBase /INDEX RewriteRule ^(.*\.(log|sqlite))$ index.php [L] RewriteRule ^(.*\.(js|css|png|jpg|gif|xml))$ [L] RewriteRule ^(.*)$ index.php?m=$1 [L,QSA] When I type "http://foo/INDEX/mp3"; it goes [in