![]() |
![]() |
![]()
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... |
|
|
![]() |
![]()
Post
#2
|
|
Grupa: Zarejestrowani Postów: 493 Pomógł: 32 Dołączył: 14.04.2008 Skąd: Lenkowski.net Ostrzeżenie: (0%) ![]() ![]() |
radzę Ci pobrać jakiś gotowy serwer, np XAMPP, tam jest wszystko, a .htaccess jeśli korzystasz z windowsa masz tu: http://rudyegenias.wordpress.com/2006/08/2...write-in-xampp/
|
|
|
![]() ![]() |
![]() |
Aktualny czas: 14.10.2025 - 13:59 |