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

Popular posts from this blog

How has firefox/gecko HTML+CSS rendering changed in version 38? -

javascript - Complex json ng-repeat -

jquery - Cloning of rows and columns from the old table into the new with colSpan and rowSpan -