A
A
Andrey Galkin2015-12-30 20:10:30
Apache HTTP Server
Andrey Galkin, 2015-12-30 20:10:30

Can mod_rewrite refuse to process a certain request (itself)?

Environment:
ubuntu 14.10
apache2
php 5.5
zend_framework
In general, I'm sitting working on an order. I understand that sounds more than unrealistic. Redirection to an index for a specific request stops working (host.ru /auth/ ). The strangest thing is that 404 Apache is issued and not from the system. if you write rubbish, then 404 systems are issued. if you change the route in the zend config to say auth2 then it works fine. Other pages open normally. it is auth that does not want to work. If you write without the last slash, then a pure white page with the code 200 is issued. Neither the routes nor htaccess were edited. I worked on the product model in general. Just for everyone, I bring htaccess, but I emphasize that it worked before and was not edited.

#php_flag magic_quotes_gpc off
AddDefaultCharset Off
DirectoryIndex index.php

RewriteEngine On
Options +FollowSymLinks

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule  ^(.*)$ /index.php [QSA]

Answer the question

In order to leave comments, you need to log in

1 answer(s)
X
xmoonlight, 2015-12-30
@socengel

Intercepting directory access in virtual hosts?
(before your .htaccess)
Communication channel: there may be a problem with browser plugins, antivirus, etc.
Use fiddler to check if the browser's dialog with the server is correct.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question