Symfony 1.4 yönlendirme sorunu

0 Cevap php

I have symfony 1.4 application. On windows AMP all is right. But on Linux Apache2 i have an isseu:

Örneğin, ben myhost üzerinde uygulama dağıtmış.

http://myhost/ - works right, but http://myhost/module - doesn't work.

Ama i frontend_dev.php kullanmak - tüm hakkıdır.

http://myhost/frontend_dev.php/module/ - eserleri.

Cache is clean. And on Windows AMP - all is right.

Bir apache değil herhangi bir. Htaccess değişimleri ve settins var.

Eklendi:

Ben. Htaccess aşağıdaki yapılandırmaya sahip

Options + FollowSymLinks + ExecCGI

<IfModule mod_rewrite.c>
  RewriteEngine On

  # uncomment the following line, if you are having trouble
  # getting no_script_name to work
  RewriteBase /

  # we skip all files with .something
  #RewriteCond %{REQUEST_URI} \..+$
  #RewriteCond %{REQUEST_URI} !\.html$
  #RewriteRule .* - [L]

  # we check if the .html version is here (caching)
  RewriteRule ^$ index.html [QSA]
  RewriteRule ^([^.]+)$ $1.html [QSA]
  RewriteCond %{REQUEST_FILENAME} !-f

  # no, so we redirect to our front web controller
  RewriteRule ^(.*)$ index.php [QSA,L]
</IfModule>

0 Cevap