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
-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://www.aaa.comm/user//
be rewritten as:
http
On Sat, Mar 1, 2008 at 5:49 PM, Shelley <[EMAIL PROTECTED]> wrote:
> 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//
>
try:
RewriteRule ^/(.*)/(.+)/$ /$1/index.php/$2/
Not
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 Use
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.
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 i