Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [ZF] Błąd serwera
sweter
post
Post #1





Grupa: Zarejestrowani
Postów: 623
Pomógł: 11
Dołączył: 1.01.2009
Skąd: Wrocław

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


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 (IMG:style_emoticons/default/smile.gif)
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi (1 - 4)
melkorm
post
Post #2





Grupa: Zarejestrowani
Postów: 1 366
Pomógł: 261
Dołączył: 23.09.2008
Skąd: Bydgoszcz

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


na 90% htaccess, pokaż zawartość.
Go to the top of the page
+Quote Post
sweter
post
Post #3





Grupa: Zarejestrowani
Postów: 623
Pomógł: 11
Dołączył: 1.01.2009
Skąd: Wrocław

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


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]
Go to the top of the page
+Quote Post
melkorm
post
Post #4





Grupa: Zarejestrowani
Postów: 1 366
Pomógł: 261
Dołączył: 23.09.2008
Skąd: Bydgoszcz

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


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.
Go to the top of the page
+Quote Post
elektrrrus
post
Post #5





Grupa: Zarejestrowani
Postów: 175
Pomógł: 18
Dołączył: 11.06.2007
Skąd: Koszalin/Poznań

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


Bardzo możliwe że będziesz potrzebował jeszcze:
  1. RewriteBase /

Go to the top of the page
+Quote Post

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: 22.08.2025 - 15:18