Pomoc - Szukaj - Użytkownicy - Kalendarz
Pełna wersja: [ZF] Błąd serwera
Forum PHP.pl > Forum > PHP > Frameworki
sweter
Witam,
dotychczas pracowałem na localhoście i nie było żadnych problemów.
Dopiero teraz, gdy skopiowałem pliki na serwer wyświetla mi się błąd:
Cytat
Internal Server Error

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

Please contact the server administrator, webmaster@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.

Konfiguracja mojego localhosta oraz serwera jest identyczna.
Dane do DB zmieniłem na prawidłowe po wgraniu strony na serwer.
Może problemem jest to, że dane publiczne nie są w katalogu /public, ale w /public_html ?
Co może być przyczyną powyższego błędu?
Pozdrawiam smile.gif
melkorm
na 90% htaccess, pokaż zawartość.
sweter
Ten z /public_html ?
Proszę:
Kod
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} -s [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d


RewriteRule ^.*$ - [NC,L]
RewriteRule ^.*$ index.php [NC,L]


RewriteRule ^.*$ - [NC,L]
RewriteRule ^.*$ index.php [NC,L]
melkorm
a zostaw
Kod
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} -s [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d

RewriteRule ^.*$ index.php [NC,L]


I ptanie czy ten serwer obsługuje mod_rewrite ?

Wyświetl sobie phpinfo i zobacz czy jest załączony mod_rewrite.
elektrrrus
Bardzo możliwe że będziesz potrzebował jeszcze:
  1. RewriteBase /

To jest wersja lo-fi głównej zawartości. Aby zobaczyć pełną wersję z większą zawartością, obrazkami i formatowaniem proszę kliknij tutaj.
Invision Power Board © 2001-2025 Invision Power Services, Inc.