• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
mod_rewrite with subdirectories

#1
[eluser]dexter21[/eluser]
Hi, i want to redirect a web that i have in

http://www.domain.com/elek/index.php/home

first at all , the server has only a .htaccess on root web directory , how could i redirect this url to http;//www.domain.com/elek/home ?

i've tried with:

Code:
RewriteEngine on
RewriteRule ^elek(.*)$ /elek/index.php/$1 [L]


but nothing happened.

i cant use " RewriteBase /elek " because this affect to other rules

Many thanks


Messages In This Thread
mod_rewrite with subdirectories - by El Forum - 06-23-2008, 05:40 AM
mod_rewrite with subdirectories - by El Forum - 06-23-2008, 06:33 PM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.