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 (IMG:http://forum.php.pl/style_emoticons/default/smile.gif) Ten post edytował Apocalyptiq 22.04.2009, 21:22:22 |
|
|
|
Apocalyptiq .htaccess Zend Frameworka nie działa 22.04.2009, 21:33:13
batman Coś chyba się pomyliłeś. .htaccess z dokumentacji ... 23.04.2009, 07:55:00
Apocalyptiq http://framework.zend.com/docs/quickstart/...-a-re... 25.04.2009, 15:02:11
batman Dziwne. Całkiem niedawno zaglądałem na quick start... 25.04.2009, 17:46:42 ![]() ![]() |
|
Aktualny czas: 22.12.2025 - 17:34 |