Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> .htaccess Zend Frameworka nie działa, Internal Server Error
Apocalyptiq
post
Post #1





Grupa: Zarejestrowani
Postów: 230
Pomógł: 3
Dołączył: 8.01.2008

Ostrzeżenie: (10%)
X----


Oto żywcem skopiowany plik .htaccess z oficjalnego tutoriala Zend Frameworka (http://framework.zend.com/docs/quickstart/create-a-rewrite-rule):
Cytat
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} -s [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^.*$ - [NC,L]
RewriteRule ^.*$ /index.php [NC,L]

Wywala mi to error:
Cytat
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.


Co jest nie tak z tym plikiem .htaccess? Odpalałem to i na serwerze na hostingu, i na XAMPPie, w tym i w tym wypadku ten sam error.

Cytat
RewriteEngine on
RewriteCond %{SCRIPT_FILENAME} !-f
RewriteRule ^(.*)$ index.php/$1

Takie coś zadziałało smile.gif

Ten post edytował Apocalyptiq 22.04.2009, 21:22:22


--------------------
http://estender.net - profesjonalne strony i aplikacje internetowe (Ruby on Rails, Kohana PHP)
Go to the top of the page
+Quote Post

Posty w temacie


Reply to this topicStart new topic
1 Użytkowników czyta ten temat (1 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 21.08.2025 - 11:17