However I have a situation where I want a dynamic URL in addition to the route given.
Code: Select all
business/showmap?pkid=123&city=testWhen I make a request like this -- the $request object does not contain the GET variables as expected. It does contain those mapped in the route however.
How do I access standard GPC variables? I'm wondering whether or not Apache .htaccess is responsible for this?
Code: Select all
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} -s [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^.*$ - [QSA,NC,L]
RewriteRule ^.*$ index.php [QSA,NC,L]
Cheers,
Alex