[EMAIL PROTECTED] 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 [internally]

[EMAIL PROTECTED] RewriteRule help

2008-03-01 Thread Shelley
Hi all, Anybody knows what apache RewriteRule to use if I want url: http://www.aaa.comm/user// be rewritten as: http://www.aaa.comm/user/index.php// Any help, thank you very much. -- Cheers, Shelley - The official

RE: [EMAIL PROTECTED] RewriteRule help

2008-03-01 Thread Narendra Verma
] /VirtualHost Thanks Narendra -Original Message- From: Shelley [mailto:[EMAIL PROTECTED] Sent: Saturday, March 01, 2008 3:19 PM To: users@httpd.apache.org Subject: [EMAIL PROTECTED] RewriteRule help Hi all, Anybody knows what apache RewriteRule to use if I want url: http

[EMAIL PROTECTED] rewriterule help

2007-09-12 Thread Aziz Sasmaz
Hi all, I want to write a rule. When visitors logs out from our demo site i dont want them to to see demo sites index page. I want to reidirect them to the original site using rewriterules.. For example when apache sees the site http://demo.mysite.com/srv/home?logout=1 It has to redirect

Re: [EMAIL PROTECTED] rewriterule help

2007-09-12 Thread Bj
You could try something like that RewriteEngine On RewriteCond %{HTTP_HOST} demo.mysite.com [NC] RewriteCond %{QUERY_STRING} .*logout=1.* [NC] RewriteRule ^/.* http://www.mysite.com [L,R=302] -- Bj On 9/12/07, Aziz Sasmaz [EMAIL PROTECTED] wrote: Hi all, I want to write a rule. When