문제

The following url does not work after updating apache from version 2.2 to 2.4.

http://localhost/front_application_stb/proxy.php/no/user/check-auth?&api_version=1&...

If I open:

http://localhost/front_application_stb/proxy.php 

without params or change the url to:

http://localhost/front_application_stb/proxy.php?no/user/check-auth&api_version=1&... 

everything works fine. The point is that it's used by other app and it has to work the way it is. Mod rewrite it turned on.

.htaccess file in front_application_stb is as follows:

<IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteCond %{REQUEST_URI} \.(htm|html|php)$
    RewriteCond %{HTTPS} off
    RewriteCond %{REQUEST_URI} !application_stb/.* [NC]
    RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
</IfModule>

I would really appreciate some help with this issue. I'm working on it for too long.

도움이 되었습니까?

해결책

Uninstalling

libapache2-mod-php5filter

and installing

libapache2-mod-php5

solved the problem. I'm not sure was was the cause of the problem though.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top