Report this

What is the reason for this report?

Htaccess error

Posted on June 23, 2013

Hi

My .htaccess dont work properly and I dont know why? Here is my ip: http://192.241.129.45/tilsalg.dk/fora/21/hvordan-s-aelig-tter-man-annoncen-til-at-v-aelig-re-solgt

And the .htaccess file dont make any errors or accept the friendly URL???

Please help me!!!



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!

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.

I had a similar .htacess problem, and changing the apache2 conf files as rajeev mentioned worked - thanks!

Hi

Go to /etc/apache2/sites-available/default and change the following : <pre> DocumentRoot /var/www <Directory /> Options FollowSymLinks AllowOverride None </Directory> <Directory /var/www/> Options Indexes FollowSymLinks MultiViews AllowOverride All Order allow,deny allow from all </pre> Change AllowOverride option below the Directory /var/www line from None to All. Then try regerating the htaccess file. This should solve the problem. Dont forget to restart apache after making the change.

<pre> <Directory /var/www/> Options Indexes FollowSymLinks MultiViews AllowOverride All Order allow,deny allow from all </Directory> </pre> Sorry, copy paste problem. So change AllowOverride in the above section.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.