php - Zend Framework URL problems -


url http:// l o c l h o s t/hellozend/public/index.php/artist/ works properly, don't see index.php there placed. if url http:// l o c l h o s t/hellozend/public/artist/ message

not found - requested url /hellozend/public/artist/ not found on server.

what's problem? i've tried configure apache, in type of url try open folder / r t s t / instead of calling controller a r t s t or whatever in url. same situation controller/action , on.

you need add .htaccess file public folder

.htaccess

rewriteengine on rewritecond %{request_filename} -s [or] rewritecond %{request_filename} -l [or] rewritecond %{request_filename} -d rewriterule ^.*$ - [nc,l] rewriterule ^.*$ index.php [nc,l] 

Comments

Popular posts from this blog

python - Subclassed QStyledItemDelegate ignores Stylesheet -

java - HttpClient 3.1 Connection pooling vs HttpClient 4.3.2 -

SQL: Divide the sum of values in one table with the count of rows in another -