Hi
Does anyone know if you can make the frontcontroller transparent
("not" show up) in the url for a multi-apllication project?
Right now I have three applications which have an apache virtual host,
a .htaccess{_foo}, and a DirectoryIndex. The .htaccess redirects to
the correct front controller. All three applications work but only the
one with "index.php" makes the frontcontroller transparent. The other
two show the front controller in the url.
Thanks for any tips.
<VirtualHost foo>
...
ServerName foo
DirectoryIndex index.php
AccessFilename .htaccess
...
</VirtualHost>
<VirtualHost foo>
...
ServerName foo2
DirectoryIndex foo2.php
AccessFilename .htaccess_foo2
...
</VirtualHost>
<VirtualHost foo>
...
ServerName foo3
DirectoryIndex foo3.php
AccessFilename .htaccess_foo3
...
</VirtualHost>
.htaccess{_foo*}
...
# no, so we redirect to our front web controller
#RewriteRule ^(.*)$ foo2.php [QSA,L]
#RewriteRule ^(.*)$ foo3.php [QSA,L]
RewriteRule ^(.*)$ index.php [QSA,L]
...
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---