Welcome Guest, Not a member yet? Register   Sign In
Multiple Applications / URI Rerouting???
#1

[eluser]Mischievous[/eluser]
I have multiple applications setup and working properly if I do not get rid of the frontend.php in the beginning?

What i'm looking to do is write in .htaccess file

basically something like this...
(trying to get rid of having to have the frontend.php or backend.php in the url)
Frontend =
domain.com/blog
domain.com/wiki
domain.com/cart
etc. etc. but not domain.com/backend

Backend =
domain.com/backend/console
domain.com/backend/menu
domain.com/backend/users
domain.com/backend/components
etc. etc. but all require the initial /backend/

RewriteCond %{REQUEST_URI} = ^/backend.*$
RewriteRule ^(.*)$ backend.php/$1 [L]

RewriteCond %{REQUEST_URI} != ^/backend.*$
RewriteRule ^(.*)$ frontend.php/$1 [L]

but its not working....


Messages In This Thread
Multiple Applications / URI Rerouting??? - by El Forum - 11-10-2009, 03:17 PM
Multiple Applications / URI Rerouting??? - by El Forum - 11-10-2009, 05:57 PM
Multiple Applications / URI Rerouting??? - by El Forum - 11-10-2009, 07:00 PM



Theme © iAndrew 2016 - Forum software by © MyBB