<Directory /var/www/>
Options Indexes FollowSymLinks
AllowOverride All
Require all granted
</Directory>
after that,
In order for Apache to understand rewrite rules, we first need to activate mod_rewrite. It's already installed, but it's disabled on a default Apache installation. Use the a2enmod command to enable the module:
$ sudo a2enmod rewrite
This will activate the module or alert you that the module is already enabled. To put these changes into effect, restart Apache.
Get solution for the issue, need to change in
apache2.conf
file after that it will works,old code in
/etc/apache2/apache2.conf
changed in to
after that, In order for Apache to understand rewrite rules, we first need to activate mod_rewrite. It's already installed, but it's disabled on a default Apache installation. Use the a2enmod command to enable the module:
This will activate the module or alert you that the module is already enabled. To put these changes into effect, restart Apache.
it works for me finally.
i hop your 443 port its block
login your aws and check open ports details
more info here