Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

 
Closed TopicStart new topic
> Problem z mod rewrite
cracksik
post 8.09.2010, 19:50:06
Post #1





Grupa: Zablokowani
Postów: 5
Pomógł: 0
Dołączył: 8.09.2010

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


w folderze ht mam plik .htaccess a w nim:

RewriteEngine On

RewriteRule ^ht/(.*)/(.*)/(.*)/ index.php?var1=$1&var2=$2&var3=$3

oraz index php a w nim:

<?php

$var1=$_GET['var1'];
$var2=$_GET['var2'];
$var3=$_GET['var3'];

echo $var1.' '.$var2.' '.$var3.' ';

?>

do przegladarki wpisuję:

http://localhost/ht/jeden/dwa/trzy/

i dostaję:

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, admin@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

mimo tego, że WampServer mam cały czas uruchomiony

co robię źle ?
Go to the top of the page
+Quote Post
sido
post 8.09.2010, 20:07:31
Post #2





Grupa: Zarejestrowani
Postów: 16
Pomógł: 0
Dołączył: 31.05.2007
Skąd: Warszawa

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


człowieku, zdecyduj się którego konta używasz.
3h temu na forum założyłeś identyczny temat: Temat: PHP Problem z mod rewrite
Chyba że to nie ty...


--------------------
-> Strony internetowe (Contao [typolight], joomla, wordpress, ...)
W wolnych chwilach zajmuję się e-sportem: Serwery Call of Duty oraz Polska strona Call of Duty
Go to the top of the page
+Quote Post
cracksik
post 8.09.2010, 20:11:54
Post #3





Grupa: Zablokowani
Postów: 5
Pomógł: 0
Dołączył: 8.09.2010

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


Na tym forum jestem po raz pierwszy i to jest mój pierwszy temat, który założyłem tutaj. Najwidoczniej ten drugi temat założył mój kolega
Go to the top of the page
+Quote Post
sido
post 8.09.2010, 21:03:49
Post #4





Grupa: Zarejestrowani
Postów: 16
Pomógł: 0
Dołączył: 31.05.2007
Skąd: Warszawa

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


najpierw się zdecyduj w którym temacie piszesz/piszecie: http://forum.php.pl/index.php?showtopic=158704 http://forum.php.pl/index.php?showtopic=158694


--------------------
-> Strony internetowe (Contao [typolight], joomla, wordpress, ...)
W wolnych chwilach zajmuję się e-sportem: Serwery Call of Duty oraz Polska strona Call of Duty
Go to the top of the page
+Quote Post
cracksik
post 8.09.2010, 22:12:52
Post #5





Grupa: Zablokowani
Postów: 5
Pomógł: 0
Dołączył: 8.09.2010

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


obojętnie. Może byc i ten winksmiley.jpg a więc co powinienem zrobi ć by to mod rewrite zadzialało ?
Go to the top of the page
+Quote Post
CuteOne
post 8.09.2010, 22:41:02
Post #6





Grupa: Zarejestrowani
Postów: 2 958
Pomógł: 574
Dołączył: 23.09.2008
Skąd: wiesz, że tu jestem?

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


Poczytaj jak używać mod_rewrite http://www.workingwith.me.uk/articles/scripting/mod_rewrite lub google

Go to the top of the page
+Quote Post
cracksik
post 8.09.2010, 23:40:20
Post #7





Grupa: Zablokowani
Postów: 5
Pomógł: 0
Dołączył: 8.09.2010

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


zamiast zasypywać mnie linkami, które potrafię sobie sam znaleźć z łatwością to powiedzialbyś co robię źle bo próbowalem już setki rozwiązań i za każdym razem dostawałem ten komunikat
Go to the top of the page
+Quote Post
yevaud
post 9.09.2010, 00:27:20
Post #8





Grupa: Zarejestrowani
Postów: 471
Pomógł: 89
Dołączył: 29.07.2008
Skąd: Warszawa

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


sprawdz logi serwera http
Go to the top of the page
+Quote Post
Cysiaczek
post 9.09.2010, 07:50:25
Post #9





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




Duplikat - zamykam.

Multiaccount - blokuję konto. Żaden kolega nie pisze toczka w toczkę identycznego tematu.


--------------------
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

Closed 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: 15.06.2025 - 05:02