Sorun htaccess ve Zend

1 Cevap php

Ben PHP4 ve Pho5 desteği ile bir sunucu var.

Ama sunucu bir php5 dosyası gibi ayrıştırılması gerekir demek kullanıcıya bu bir ihtiyaç

AddType x-mapp-php5 .php .php5 .htm .html

Ama şimdi, benim Zend Proje denetleyicileri erişimi yok ...

kamu / index / search -> 404 bulunamadı

Benim yerel Server üzerinde mükemmel çalışıyor .. Birisi ne biliyor musun?

benim htaccess dosyası

SetEnv APPLICATION_ENV development
AddType x-mapp-php5 .php .php5 .htm .html

RewriteEngine On
RewriteCond %{REQUEST_FILENAME} -s [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^.*$ - [NC,L]
RewriteRule ^.*$ index.php [NC,L]

1 Cevap

Eğer böyle bir şey gerek değil mi?

AddHandler php5-script .php
AddType text/html .php