Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

 
Reply to this topicStart new topic
> Problem Z .htaccess ?
wicc
post 9.08.2007, 15:44:13
Post #1





Grupa: Zarejestrowani
Postów: 18
Pomógł: 0
Dołączył: 30.07.2007

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


Prosze wejsc na:
http://vibes.webd.pl/katalog/

nie wiem co to za błąd ale kiedy usunę plik .htaccess to problemu nie ma... pierwszy raz montowałem serwis z mod_rewrite poza localhost i nie wiem co ten błąd powoduje.

zawartość .htaccess:
  1. <?php
  2. RewriteEngine on
  3. DirectoryIndex index.php
  4. RewriteBase /katalog/
  5. RewriteCond %{REQUEST_FILENAME} !-f
  6. RewriteCond %{REQUEST_FILENAME} !-d
  7. RewriteRule ^([a-zA-Z-_0-9]+)/([a-zA-Z-_0-9]+)/([a-zA-Z-_0-9]+)/([a-zA-Z-_0-9]+)/?$ index.php?id1=$1&id2=$2&id3=$3&id4=$4 [L]
  8. RewriteRule ^([a-zA-Z-_0-9]+)/([a-zA-Z-_0-9]+)/([a-zA-Z-_0-9]+)/?$ index.php?id1=$1&id2=$2&id3=$3 [L]
  9. RewriteRule ^([a-zA-Z-_0-9]+)/([a-zA-Z-_0-9]+)/?$ index.php?id1=$1&id2=$2 [L]
  10. RewriteRule ^([a-zA-Z-_0-9]+)/?$ index.php?id1=$1 [L]
  11. --------_pusta_linia_--------
  12. ?>
Go to the top of the page
+Quote Post
Cysiaczek
post 9.08.2007, 15:48:11
Post #2





Grupa: Moderatorzy
Postów: 4 465
Pomógł: 137
Dołączył: 26.03.2004
Skąd: Gorzów Wlkp.




Z php to ma niewiele wspólnego - przenoszę


--------------------
To think for yourself you must question authority and
learn how to put yourself in a state of vulnerable, open-mindedness;
chaotic, confused, vulnerability, to inform yourself.
Think for yourself. Question authority.
Go to the top of the page
+Quote Post
pbnan
post 9.08.2007, 16:00:47
Post #3





Grupa: Zarejestrowani
Postów: 174
Pomógł: 0
Dołączył: 27.03.2007
Skąd: Osiek almost City ;-D

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


Afair brak obsługi .htaccess albo odmowa korzystania z niego.
Zobacz na "cele" tutaj: http://php.rk.edu.pl/w/p/struktura-urli-code-ignitera/ (potłuszczonym drukiem jest coś na ten temat napisane).


--------------------
"Hmmm, na wakacje trzeba będzie zacząć zarabiać, co nie? ;-] GTA IV się coraz bardziej zbliża... ;-]"
To się nazywa częsty update sygnaturki.
;-)
Go to the top of the page
+Quote Post

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

 



RSS Wersja Lo-Fi Aktualny czas: 26.06.2025 - 16:13