Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [htaccess] 500 Internal Server Error
pehaperowiec
post
Post #1





Grupa: Zarejestrowani
Postów: 91
Pomógł: 8
Dołączył: 26.09.2011

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


.htaccess wygląda tak:
Kod
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} -f [NC,OR]
RewriteCond %{REQUEST_FILENAME} -d [NC]
RewriteRule .* - [L]
RewriteRule ^index.html$ index.php
RewriteRule ^galeria,(.*?)$ pokaz_galerie.php?name=$1 [L]
RewriteRule ^([^-]*)$ index.php?p=$1 [L]
a linki generuje do takiej postaci:
  1. <a href="/galeria,dfg"><img src="gal/dfg/thumbs/df.jpg" alt=""><span>dfg</span></a></p></li><li><p>
  2. <a href="/galeria,2"><img src="gal/2/thumbs/9.jpg" alt=""><span>2</span></a></p></li>

ale jako zwrot dostaje: "Internal Server Error".

Czy mógłbym prosić o wskazanie błędu i napisanie co robię źle?
Powód edycji: [Kshyhoo]: używaj odpowiedniego bb-code
Go to the top of the page
+Quote Post

Posty w temacie


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

 



RSS Aktualny czas: 24.12.2025 - 02:31