Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [inne] Problem z .htaccess
-ARTYSTA-
post
Post #1





Goście







Witam, mam nietypowy problem.

Po zamieszczeniu w .htaccess

Kod
AddHandler application/x-httpd-php5 .html .htm


Wywala mi błąd 500. w pliku .htaccess znajduję się

Kod
RewriteEngine On

RewriteRule ^([a-zA-Z0-9]+).html$ /index.php?akcja=$1

RewriteRule ^s,([a-zA-Z0-9\-\_]+),([0-9]+).html$ /index.php?akcja=strony&id=$2

RewriteRule ^skomentuj,([0-9]+).html$ /index.php?akcja=skomentuj&id=$1

RewriteRule ^news,([a-zA-Z0-9\-\_]+),([0-9]+).html$ /index.php?akcja=news&id=$2

RewriteRule ^zapiszkomentarz,([0-9]+).html$ /index.php?akcja=zapiszkomentarz&id=$1

RewriteRule ^skomentuj,([0-9]+),([0-9]+).html$ /index.php?akcja=skomentuj&id=$1&strona=$2

RewriteRule ^skomentuj,([0-9]+),lastpage.html$ /index.php?akcja=skomentuj&id=$1&strona=lastpage

RewriteRule ^archiwum,([0-9]+).html$ /index.php?akcja=archiwum&strona=$1

RewriteRule ^archiwum,([0-9]+),lastpage.html$ /index.php?akcja=archiwum&strona=lastpage

RewriteRule ^ksiega,([0-9]+).html$ /index.php?akcja=ksiega&strona=$1

RewriteRule ^ksiega,lastpage.html$ /index.php?akcja=ksiega&strona=lastpage

RewriteRule ^galeria,([a-zA-Z0-9\-\_]+),([0-9]+).html$ /index.php?akcja=galeria&id=$2

RewriteRule ^galeria,s,([0-9]+),([0-9]+).html$ /index.php?akcja=galeria&id=$1&strona=$2

RewriteRule ^oferta,([a-zA-Z0-9\-\_]+),([0-9]+).html$ /index.php?akcja=produkty&id=$2

RewriteRule ^oferta,s,([0-9]+),([0-9]+).html$ /index.php?akcja=produkty&id=$1&strona=$2

RewriteRule ^produkt,([a-zA-Z0-9\-\_]+),([0-9]+).html$ /index.php?akcja=produkt&id=$2

RewriteRule ^wynik,([0-9]+).html$ /index.php?akcja=wynik&id=$1

RewriteRule ^archiwumsond,([0-9]+).html$ /index.php?akcja=archiwumsond&strona=$1

RewriteRule ^archiwumsond,lastpage.html$ /index.php?akcja=archiwumsond&strona=lastpage

RewriteRule ^potwierdznewsletter,([a-zA-Z0-9\-\_\@\.]+),([a-zA-Z0-9]+).html$ /index.php?akcja=potwierdznewsletter&email=$1&kod=$2

RewriteRule ^potwierdz,([a-zA-Z0-9\-\_\@\.]+),([a-zA-Z0-9]+).html$ /index.php?akcja=potwierdz&email=$1&kod=$2


Wiecie może jak umieścić ten kod żeby strona działała?
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: 2.10.2025 - 17:35