Closed
Description
Hi,
Here is my htaccess. When I try to access to the route /Goog/polls
, it says No route found for "GET g/polls"
.
I think the problem come from a substr, because the only significant difference in $_ENV
is the variable REQUEST_URI
:
fail : string(23) "/app_dev.php/Goog/polls"
ok : string(27) "/web/app_dev.php/Goog/polls"
^-- the '/' and the 'g' matches
htaccess
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /web/$1 [L]
edit It probably comes from Symfony\Component\HttpFoundation\Request::preparePathInfo
or something like that. That's strange, because my PATH_INFO
env var is correctly set. Why does it want to use REQUEST_URI
instead ?
Metadata
Metadata
Assignees
Labels
No labels