Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> Problem Z .htaccess ?
wicc
post
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
 
Start new topic
Odpowiedzi
pbnan
post
Post #2





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).
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: 6.10.2025 - 09:38