By samgriffin98
I have an Ubuntu 14.04 server set up with Apache, PHP and MySQL, how can I allow the use of .htaccess and allow rewrite rules?
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!
With a search in google I found this, hope it helps. <br>https://help.ubuntu.com/community/EnablingUseOfApacheHtaccessFiles
Siento no responderte en ingles pero no soy muy bueno con los idiomas. <br> <br>Para permitir el uso de los .htaccess debes acceder al archivo “/etc/apache2/apache2.conf” y buscar la linea “<Directory /var/www/>”, dentro de esa directiva cambiar “AllowOverride None” a “AllowOverride All” y despues reiniciar apache con “sudo service apache2 restart”. <br> <br>Y para activar el modulo rewrite de apache debes ejecutar el comando “a2enmod rewrite” y volver a reiniciar apache con “sudo service apache2 restart”.
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.