RE: RewriteRule help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,
This following example may help ...

Example:  
Here I am mapping for http to https. You can use accordingly...
Rewrite URL http://www.foobar.com/abc to the URL https://www.foobar.com/abc 

<VirtualHost _default_:80>
  RewriteEngine on
  RewriteRule ^/abc/(.*)$ https://%{SERVER_NAME}/abc/$1 [R,L]
</VirtualHost> 

Thanks 
Narendra
-----Original Message-----
From: Shelley [mailto:myphplist@xxxxxxxxx] 
Sent: Saturday, March 01, 2008 3:19 PM
To: users@xxxxxxxxxxxxxxxx
Subject:  RewriteRule help

Hi all,

Anybody knows what apache RewriteRule to use if  I want url:
http://www.aaa.comm/user/aaaa/
be rewritten as:
http://www.aaa.comm/user/index.php/aaaa/

Any help, thank you very much.

-- 
Cheers,
Shelley

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux