httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Narendra Verma" <narendra.ve...@impetus.co.in>
Subject RE: [users@httpd] RewriteRule help
Date Sat, 01 Mar 2008 11:31:55 GMT
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@gmail.com] 
Sent: Saturday, March 01, 2008 3:19 PM
To: users@httpd.apache.org
Subject: [users@httpd] 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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org



---------------------------------------------------------------------
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message