Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

 
Reply to this topicStart new topic
> [Symfony]problem z publikacja strony na www
steko
post
Post #1





Grupa: Zarejestrowani
Postów: 1
Pomógł: 0
Dołączył: 3.11.2010

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


WITAM
mam problem na localhost strona działała
jak przekopiowałem na serwer strona głowna działa ale odnośniki niestety już nie

na serwerze
~iseppoc/ -strona działa(strona główna)
~iseppoc/cms/2.platforma-edukacyjna 404Not Found


jak dodam /index.php/ to strona działa
~iseppoc/index.php/cms/2.platforma-edukacyjna

a to .htaccess

----------------------
[APACHE] pobierz, plaintext
  1. Options +FollowSymLinks +ExecCGI
  2.  
  3. <IfModule mod_rewrite.c>
  4. RewriteEngine On
  5.  
  6. # uncomment the following line, if you are having trouble
  7. # getting no_script_name to work
  8. RewriteBase /~iseppoc/
  9.  
  10. #we skip all files with .something
  11. RewriteCond %{REQUEST_URI} \..+$
  12. RewriteCond %{REQUEST_URI} !\.html$
  13. RewriteRule .* - [L]
  14.  
  15. # we check if the .html version is here (caching)
  16. RewriteRule ^$ index.html [QSA]
  17. RewriteRule ^([^.]+)$ $1.html [QSA]
  18. RewriteCond %{REQUEST_FILENAME} !-f
  19.  
  20. # no, so we redirect to our front web controller
  21. RewriteRule ^(.*)$ index.php [QSA,L]
  22.  
  23.  
  24.  
  25. </IfModule>
[APACHE] pobierz, plaintext


# big crash from our front web controller
ErrorDocument 500 "<h2>Application error</h2>symfony application failed to start properly"
-----------------------


i niestety nie potrafie sie z tym uporać,


dziękuje za jakąkolwiek pomoc

gg 6493351
Go to the top of the page
+Quote Post
Mephistofeles
post
Post #2





Grupa: Zarejestrowani
Postów: 1 182
Pomógł: 115
Dołączył: 4.03.2009
Skąd: Myszków

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


Sprawdzałeś check_configuration na serwerze?
Go to the top of the page
+Quote Post
luck
post
Post #3





Grupa: Zarejestrowani
Postów: 317
Pomógł: 58
Dołączył: 6.11.2005

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


Upewnij się, czy na serwerze dla Twojego konta prawidłowo jest ustawiona opcja AllowOverride. Być może jest ustawiona na "none" i przez to Apache olewa to, co podajesz mu w lokalnym .htaccess.


--------------------
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 Użytkowników czyta ten temat (1 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 19.08.2025 - 05:07