how to rewrite url htaccess with zend

For programming and general questions on Zend Framework
Post Reply
rizalsmarts
Posts: 1
Joined: Sat Jan 05, 2013 3:38 am

how to rewrite url htaccess with zend

Post by rizalsmarts » Sat Jan 05, 2013 3:54 am

im use zend framework, multi-project and in one project is mutli-modul.

i have this url

Code: Select all

localhost/1/zdf/index-blog.php/
i hope to :

Code: Select all

localhost/1/zdf/blog
or
i have have url :

Code: Select all

localhost/1/zdf/apps/blog/
i hope to :

Code: Select all

localhost/1/zdf/blog
if im access realpath url project always success with multi-modul.
exp :

Code: Select all

localhost/1/zdf/index-blog.php/anymodul/controller/action
is fine.
but im try rewrite to

Code: Select all

localhost/1/zdf/blog/modul/controller/action
always html error 500 or sometime server maintance call webmaster.

btw my

Code: Select all

localhost/1/zdf/index.php
im use for project portal.
and my core zf, im use zf 1.x

thank u.

Post Reply