Internal Server Error

Internal Server Error

offline
  • zend  Male
  • Počasni građanin
  • Pridružio: 22 Okt 2009
  • Poruke: 900
  • Gde živiš: Pancevo

Koristim Wamp server i kada skinem neku scriptu sa neta PHP on mi uvek ovo izbacuje . Znam da je u pitanju .htaccess ali kako to da regulisem ?

Citat:

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.


A evo i htaccess-a
RewriteEngine on # Main Links RewriteRule ^Realtor/([0-9]+)\.html$ viewuser.php?id=$1 RewriteRule ^Listing/(.+)/([0-9]+)\.html$ viewlisting.php?id=$2 RewriteRule ^Type/(.+)/([0-9]+)\.html$ search.php?type=$2 RewriteRule ^Mail/([0-9]+)\.html$ sendmessage.php?id=$1 RewriteRule ^Gallery/(.+)-([0-9]+)\.html$ image.php?req=$1&id=$2 RewriteRule ^Friend/([0-9]+)\.html$ friend.php?id=$1 # Menu Links RewriteRule ^submit\.html$ submit.php RewriteRule ^login\.html$ login.php RewriteRule ^search\.html$ advsearchform.php RewriteRule ^contacts\.html$ usersearch.php RewriteRule ^reminder\.html$ reminder.php RewriteRule ^calculator\.html$ calculator.php RewriteRule ^compare\.html$ compare.php # Modules RewriteRule ^Location/(.+)/([0-9]+)\.html$ search.php?location=$2 RewriteRule ^Price/([0-9]+)-([0-9]+)\.html$ search.php?price_min=$1&price_max=$2 #



Registruj se da bi učestvovao u diskusiji. Registrovanim korisnicima se NE prikazuju reklame unutar poruka.
offline
  • lnenad  Male
  • Stručni saradnik
    Web
  • Nenad
  • Arhitetak
  • Pridružio: 16 Jan 2007
  • Poruke: 2860
  • Gde živiš: Bijeljina

Obrisi htaccess...



offline
  • zend  Male
  • Počasni građanin
  • Pridružio: 22 Okt 2009
  • Poruke: 900
  • Gde živiš: Pancevo

obrisao ali onda mi izbacuje praznu stranu. Znam za to sam radio pre

offline
  • lnenad  Male
  • Stručni saradnik
    Web
  • Nenad
  • Arhitetak
  • Pridružio: 16 Jan 2007
  • Poruke: 2860
  • Gde živiš: Bijeljina

Idi u Apache folder i u njemu se nalazi folder logs, iskopiraj sadrzaj error.log, naravno zadnjih nekoliko linija ne citav.

offline
  • PHP developer
  • Pridružio: 22 Mar 2006
  • Poruke: 3747
  • Gde živiš: 127.0.0.1

Za pocetak prvo proveri da li je mod_rewrite ukljucen Wink

<?php phpinfo(); ?>

Ako ga nema... to je Smile

offline
  • zend  Male
  • Počasni građanin
  • Pridružio: 22 Okt 2009
  • Poruke: 900
  • Gde živiš: Pancevo

Jeste nije bilo mod_rewrite-a
Sada radi super.. Hvala momci

Ko je trenutno na forumu
 

Ukupno su 501 korisnika na forumu :: 23 registrovanih, 5 sakrivenih i 473 gosta   ::   [ Administrator ] [ Supermoderator ] [ Moderator ] :: Detaljnije

Najviše korisnika na forumu ikad bilo je 3466 - dana 01 Jun 2021 17:07

Korisnici koji su trenutno na forumu:
Korisnici trenutno na forumu: 4channer, airsuba, Battlehammer, cenejac111, Dimitrije Paunovic, djordje92sm, DragoslavS, JOntra, kikisp, kybonacci, Leonov, loon123, mercedesamg, Mercury, milenko crazy north, nextyamb, pein, pirkesrb, Romibrat, sombrero, Srki94, vaso1, šumar bk2