Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [localhost]problem na localhoscie z plikiem .htaccess
FasOlQa
post
Post #1





Grupa: Zarejestrowani
Postów: 32
Pomógł: 0
Dołączył: 2.07.2008
Skąd: Włodawa

Ostrzeżenie: (0%)
-----


Witajcie, mam mały problem. Używam bitnami jako serwera apache i chciałem zainstalować skrypt w skrypcie jest plik .htaccess którego zawartość to:

RewriteEngine on
#RewriteBase /

RewriteRule ^index\.html$ index.php [L]
RewriteRule ^dodaj\.html$ index.php?s=dodaj [L]
RewriteRule ^regulamin\.html$ index.php?s=regulamin [L]
RewriteRule ^kontakt\.html$ index.php?s=kontakt [L]
RewriteRule ^kontakt_wyslij\.html$ index.php?s=kontakt_send [L]
RewriteRule ^szukaj\.html$ index.php?s=szukaj [L]
RewriteRule ^dodaj_wpis\.html$ index.php?s=dodaj_base [L]

RewriteRule ^([a-z0-9_]+),([0-9]+)\.html$ index.php?s=zobacz&id=$2 [L]
RewriteRule ^([a-z0-9_]+),([0-9]+),([0-9]+)\.html$ ?s=ogloszenia&catid=$2_$3 [L]
RewriteRule ^([a-z]+),([0-9]+),([0-9]+),([0-9]+)\.html$ index.php?s=$1&catid=$2_$3&p=$4 [L]

nie wiem co zrobić żeby mi wczytało ustawienia z tego pliku.
Wydaje mi się, że trzeba gdzieś włączyć tą funkcję 'RewriteEngine" tylko nie mam pojęcia gdzie...
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: 3.10.2025 - 19:34