Answers for "apache enable htaccess support"

6

enable https://www htaccess

RewriteEngine On 
RewriteCond %{HTTPS} off 
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
Posted by: Guest on July-16-2020
1

adding htaccess file apache

<Directory "/var/www">
	AllowOverride All
</Directory>
Posted by: Guest on March-02-2021

Browse Popular Code Answers by Language