phalapi
phalapi copied to clipboard
URI路由匹配问题
你好! 我已经开启 'enable_uri_match' => true 并且配置apache如下 <IfModule mod_rewrite.c> RewriteEngine on RewriteBase /
RewriteCond %{HTTP_HOST} ^dev.api.net$
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !^/phalapi/public/
RewriteRule ^(.*)$ /phalapi/public/$1
RewriteRule ^(/)?$ index.php [L]
报错如下: Not Found The requested URL /phalapi/public/App/Hello/World was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
请问怎么配置呢?
表示相同的问题,无法重写request