RewriteRule ^auth_callback([^?]*)$ index.php?route=common/social/login/facebook/int_callback&code=$1 [QSA,L] location /auth_callback { rewrite ^/auth_callback([^?]*)$ /index.php?route=common/social/login/facebook/int_callback&code=$1 break; } 

Does not work - downloads index.php

Where is the mistake?

  • Try asking this question on the RutCode. Even, perhaps, you can not delete here - it is not very clear what the question has more to do with - Michael M
  • If you remove the rule from .htaccess, then it works fine? - dekameron

1 answer 1

.htaccess processed, as far as I know, by only one implementation of the http server - apache .

The nginx program does not process these files. everything you need to be specified in the nginx configuration.