apache - using server configuration instead of .htaccess in Phalcon, something can't be load -
my .htaccess files below:
##/.htaccess <ifmodule mod_rewrite.c> rewriteengine on rewriterule ^$ public/ [l] rewriterule (.*) public/$1 [l] </ifmodule> #/public/.htaccess <ifmodule mod_rewrite.c> rewriteengine on rewritecond %{request_filename} !-d rewritecond %{request_filename} !-f rewriterule ^(.*)$ index.php?_url=/$1 [qsa,l] </ifmodule>
when try using server configuration instead of .htaccess, can't load. server configuration file below:
.... rewriteengine on rewritecond %{document_root}/public/%{request_filename} !-d rewritecond %{document_root}/public/%{request_filename} !-f rewriterule ^/?public/(.*)$ /public/index.php?_url=/$1 [qsa,l] rewriterule ^$ /public/ [l] rewriterule (.*) /public/$1 [l] ....
when image, call error: imgcontroller handler class cannot loaded
what's worng ? thx.
Comments
Post a Comment