mardi 13 octobre 2015

Amazon AWS ec2 .htaccess does nothing [duplicate]

This question already has an answer here:

I've opened a new instance and installed apache und php then made a little htaccess to redirect every request to index.php to test.php and go to goback.php if a 404 error happens.

RewriteEngine on
RewriteRule ^index.php$    test.php [NC,L] 
ErrorDocument 404 /goback.php

However, it seems to be doing absolutely nothing! Is there a solution?




Aucun commentaire:

Enregistrer un commentaire