![]() |
![]() |
![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 230 Pomógł: 3 Dołączył: 8.01.2008 Ostrzeżenie: (10%) ![]() ![]() |
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 ![]() Ten post edytował Apocalyptiq 22.04.2009, 21:22:22 -------------------- http://estender.net - profesjonalne strony i aplikacje internetowe (Ruby on Rails, Kohana PHP)
|
|
|
![]() ![]() |
![]() |
Aktualny czas: 21.08.2025 - 11:17 |