New answers tagged .htaccess
0
votes
.htaccess is ignored even though VirtualHost has "AllowOverride All"
In my case, the .htaccess file wasn't readable by the apache user.
I solved it with
chown ubuntu:www-data .htaccess
chmod 750 .htaccess
1
vote
Accepted
How to disable .htaccess redirect for a specific folder
Since you are redirecting everything to a fixed URL-path you might as well build the exception directly in the RewriteRule directive (there is no need to capture the URL-path as you are currently ...
-1
votes
.htaccess for Wordpress in a subfolder
To hide the subfolder in the URL for WordPress-related requests, you can modify your setup slightly. You can keep the root .htaccess file as it is, but make some changes to the .htaccess file in the ...
Top 50 recent answers are included
Related Tags
.htaccess × 2809apache-2.2 × 1103
mod-rewrite × 705
apache-2.4 × 383
redirect × 331
rewrite × 312
php × 209
wordpress × 135
nginx × 132
apache2 × 130
301-redirect × 118
linux × 113
virtualhost × 74
https × 72
subdomain × 63
regex × 56
rewritecond × 55
security × 52
ubuntu × 51
ssl × 50
httpd.conf × 47
web-server × 38
.htpasswd × 36
httpd × 35
url × 34