apache - YII (PHP Framework) and OSX (El Capitan) -


after upgraded mac osx development environment stopped working. not sure if related apache provided apple, happening when try access application complains of required files not found.

i have following .htaccess:

rewriteengine on rewriterule ^install\/ ./index.php?r=install/main/index [l,qsa]  # if directory or file exists, use directly rewritecond %{request_filename} !-f rewritecond %{request_filename} !-d  # otherwise forward index.php rewriterule . index.php directoryindex index.php  adddefaultcharset utf-8 code here 

at httpd.conf enabled php , rewrite modules. i've set allowoverride in directory sector in httpd.conf.

these error getting when trying access:

the last error occurred because js wasn't loaded

also, when try access other url mapped on yii, same error 404 not found.

any idea?

thanks in advance , regards, edu

you don't have mod_rewrite enabled in apache settings.

make sure line not commented out in /etc/apache2/httpd.conf:

loadmodule rewrite_module libexec/apache2/mod_rewrite.so 

Comments

Popular posts from this blog

javascript - Chart.js (Radar Chart) different scaleLineColor for each scaleLine -

apache - Error with PHP mail(): Multiple or malformed newlines found in additional_header -

java - Android – MapFragment overlay button shadow, just like MyLocation button -