RewriteEngine sa Error stranicama

poruka: 1
|
čitano: 778
|
moderatori: Lazarus Long, XXX-Man, vincimus
1
+/- sve poruke
ravni prikaz
starije poruke gore
13 godina
neaktivan
offline
RewriteEngine sa Error stranicama

Pozdrav!  Molim pomoc ako netko ima rijesenje.

 

Ovo je moj .htaccess file:

 

RewriteEngine On

RewriteCond %{REQUEST_FILENAME} !-f

RewriteCond %{REQUEST_FILENAME} !-d

RewriteRule ^(.*)$ $1.php [L,QSA]

ErrorDocument 404 /errors/404.php

ErrorDocument 500 /errors/500.php

 

 

Sto se tice adresa bez php ekstenzije to radi ali mi ne rade error stranice. Kada pokusam upisati adresu koje nema na serveru dobijem ovo:

 

Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator 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. Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.

Poruka je uređivana zadnji put sri 16.5.2012 15:32 (mbozick1).
 
0 0 hvala 0
1
Nova poruka
E-mail:
Lozinka:
 
vrh stranice