Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [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

Posty w temacie


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: 22.08.2025 - 10:44