Question
How to Activate an .htaccess file
Hi, i tried to enable the htaccess according with this cloud support link https://cloudsupport.digitalocean.com/s/ even, i followed this suggestion for any other who posted the same question time ago.
within this path /etc/apache2/sites-available/ I found these files
- 000-default.conf
- default-ssl.conf
I added the following block inside the first file
<Directory /var/www/>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
</Directory>
But after restart the apache and check I receive this error message on my browser.
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator at webmaster@localhost to inform them of the time this error occurred, and the actions you performed just before this error.
More information about this error may be available in the server error log.
Apache/2.4.18 (Ubuntu) Server at 104.236.107.170 Port 80
So, please I beg your support to fix this problem because I’m required to enable htacess for my enterprise.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
×