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
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.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Hello friend!
Check /etc/apache2/apache2.conf and see if one of those “Directory” settings exists like the one you put in your virtual host, it may be possible that one is overriding it there, and that you can just change it to “AllowOverride All” as well.
Kind Regards, Jarland
It sounds like your .htaccess file might indeed be enabled, but that you have an error in your .htaccess file.
Try commenting out everything in your .htaccess file, and see if you still get the error. If you don’t get an error, then uncomment each item one set at a time until you find the error.
Wayne Sallee Wayne@WayneSallee.com
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.