Zend Framework on shared hosting

Answer

i think the best way is to remove the .htaccess from the public directory (Zend Framework Directory structure) , and put it with the following content into your "root" directory :

RewriteEngineOn

RewriteRule^.htaccess$ -[F]RewriteCond%{REQUEST_URI}=""RewriteRule^.*$ /public/index.php [NC,L]

RewriteCond%{REQUEST_URI}!^/public/.$ RewriteRule^(.)$ /public/$1 RewriteCond%{REQUEST_FILENAME}-f RewriteRule^.*$ -[NC,L]

RewriteRule^public/.*$ /public/index.php [NC,L]

All zend-framework Questions

Ask your interview questions on zend-framework

Write Your comment or Questions if you want the answers on zend-framework from zend-framework Experts
Name* :
Email Id* :
Mob no* :
Question
Or
Comment* :
 





Disclimer: PCDS.CO.IN not responsible for any content, information, data or any feature of website. If you are using this website then its your own responsibility to understand the content of the website

--------- Tutorials ---