Reputation: 21
I have this simple .htaccess file:
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^shop$ /apps/shop
So it should redirect this url
http://192.168.0.221:8085/shop
to that url
http://192.168.0.221:8085/apps/shop
But the server only gives Error 404.
Can't get it why?
Upvotes: 1
Views: 31
Reputation: 21
The htaccess I edited was not in the document root, thanks to @arkascha for this hint.
Upvotes: 1