Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> mod_rewrite problem, Nie działa....
Ziels
post
Post #1





Grupa: Zarejestrowani
Postów: 235
Pomógł: 2
Dołączył: 30.06.2006

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


Witam!

W pliku .htacces mam wpisane
  1. <?php
  2. RewriteEngine On
  3. RewriteRule ^/page([0-9]+).html /index.php?id=$1 [L]
  4. ?>


Lecz kiedy wpiszę
localhost/~nevw/page3.html
wyskakuje 404

Wie ktoś może jak to naprawić? Mój serwer to Krasnal.
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi
rożen
post
Post #2





Grupa: Zarejestrowani
Postów: 5
Pomógł: 0
Dołączył: 16.08.2006

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


Cytat(Ziels @ 16.08.2006, 20:25 ) *
Witam!

W pliku .htacces mam wpisane
  1. <?php
  2. RewriteEngine On
  3. RewriteRule ^/page([0-9]+).html /index.php?id=$1 [L]
  4. ?>


Lecz kiedy wpiszę
localhost/~nevw/page3.html
wyskakuje 404

Wie ktoś może jak to naprawić? Mój serwer to Krasnal.


Zamień .htacces na .htaccess

Powinno pomóc (IMG:http://forum.php.pl/style_emoticons/default/winksmiley.jpg)
Go to the top of the page
+Quote Post
Ziels
post
Post #3





Grupa: Zarejestrowani
Postów: 235
Pomógł: 2
Dołączył: 30.06.2006

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


Cytat(rożen @ 16.08.2006, 22:12 ) *
Zamień .htacces na .htaccess

Powinno pomóc (IMG:http://forum.php.pl/style_emoticons/default/winksmiley.jpg)



No tak (IMG:http://forum.php.pl/style_emoticons/default/tiredsmiley.gif) takie niedopatrzenie :/ Dzięki!
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: 4.10.2025 - 18:26