I am developing this app using Zend Framework 1.12. I wan to get rid off the index.php
using .htaccess. Right now my url looks like this:
http://foo.com:10080/Reports_Century/public/index.php/reports/neworders
I want to be able to look like this
http://foo.com:10080/Reports_Century/public/reports/neworders
Is it possible?
my htaccess looks has the following lines:
RewriteEngine On
RewriteCond% {REQUEST_FILENAME}-s [OR]
RewriteCond% {REQUEST_FILENAME}-l [OR]
RewriteCond% {REQUEST_FILENAME}-d
RewriteRule ^ .* $ - [NC, L]
RewriteRule ^ .* $ index.php [NC, L]
thank you.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…