php - symfony 1.0 : Error -> "The Page isn't redirected properly" -


I am learning Symphony 1.0 and I am constantly facing a problem that the page was not redirected properly

I tried all my efforts but I failed in every effort. Is it due to setAuthentication () or session ()?

Update: .htaccess file:

  option + followSymLinks + ExecCGI # rewritecond% {Http_host} ^ www.imaginamalta.com/new / [NC] #DratoryRyRule ^ (. *) $ Https://www.imaginamalta.com/New/$1 [r = 301, L] & lt; IfModule mod_rewrite.c & gt; Repeat the following line at RewriteEngine #, if you are having trouble ##waterbutt / # to get no_script_name to work, we leave all the files. Some # comment on the 3 lines given below, rewrite% {REQUEST_URI} \. + $ RewriteCond% {REQUEST_URI} to re-write the route duration. Html $ RewriteRule * - [L] # We check that the .html version is here (caching) rewritere ^ $ index.html [QSA] RewriteRule ^ ([^.] +) $ $ 1 (. *)! .html [QSA] RewriteCond% {REQUEST_FILENAME} -f #, so we redirect the web controller RewriteRule ^ $ index.php [QSA, L] to our front RewriteCond% {HTTP_HOST} http: // hn.newsly.svs113 / [ NC] rewrite ^ (. *) $ Http: //meh.newsly.svs113/$1 [r = 301, L] & lt; / IfModule & gt; Web Controller ErrorDocument 500 "and LT; H2 & GT; Application Error & lt; / h2 & gt; We have failed to start a big accident from Symphony Application properly".    

Looks like a problem with your .htaccess . Try setting the Allow Override to ALL .

Comments