|
|||
|
Hello everybody,
I have implemented the mvc pattern according a tutorial. Now, When i do this: http://217.149.198.122/index it works ok. But when i do: http://217.149.198.122/persoon, i get an HTTP 404 while I am doing the exact same thing. What could be wrong, i (double)checked everything. //its running on apache2. It looks like it's some server setting but I don't know which and where. Last edited by jsanders : 03-14-2008 at 06:26 AM. Reason: extra infromation |
|
||||
|
Guys,
I have the same trouble!!! I tried a lot of examples and tutorials but this error occurs in each one. My index route works well but no one other route works. http://192.168.203.128/demos/conta/ (base dir) this one works http://192.168.203.128/demos/conta/user/ this one doesn't work http://192.168.203.128/demos/conta/error/ this one doesn't work I put the rewrite (.htaccess) as I red in the docs... Code:
RewriteEngine on RewriteRule !\.(js|ico|gif|jpg|png|css)$ index.php Code:
Loaded Modules core mod_log_config mod_logio prefork http_core mod_so mod_alias mod_auth_basic mod_authn_file mod_authz_default mod_authz_groupfile mod_authz_host mod_authz_user mod_autoindex mod_cgi mod_dir mod_env mod_mime mod_negotiation mod_php5 mod_rewrite mod_setenvif mod_status cheers,
__________________
Lucas Mauricio C. e Martins CR Vasco da Gama, my biggest passion! Ajude a Combater o Spam! - Help fighting spam! |
|
||||
|
hi folks,
After a lot of headache, I finally have found the solution to my problem!!!!! There's some additional steps to do in the apache's configuration to "clean routes" work in ZF. I found some articles yesterday that explains it better: Akra's tutorial Felipe Tonello's tutorial (in portuguese) In fact, the directive above must be configured in apache's file httpd.conf: Code:
<directory />
Options FollowSymLinks Includes
AllowOverride All
</directory>
regards, ps: I'll ask the maintainer's ZF documentation to include this in the manual.
__________________
Lucas Mauricio C. e Martins CR Vasco da Gama, my biggest passion! Ajude a Combater o Spam! - Help fighting spam! |
![]() |
| Thread Tools | |
| Display Modes | |
|
|