Pomoc - Szukaj - Użytkownicy - Kalendarz
Pełna wersja: [Symfony]problem z publikacja strony na www
Forum PHP.pl > Forum > PHP > Frameworki
steko
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
Mephistofeles
Sprawdzałeś check_configuration na serwerze?
luck
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.
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.