Mod_rewrite Support

Hey guys, Im pretty new to servers/VPS's etc and i seem to have a problem enabling mod_rewrite for use from .htaccess. My apache/php installation is pretty "Out the box"

Google didn't really help for a search…


5 Replies

Which distribution do you use?

If you use Debian/Ubuntu, you can enable mod_rewrite by the following command:
> a2enmod rewrite
After that you will need to restart apache like this:
> /etc/init.d/apache2 restart

Hey, Yeah, im using ubuntu…

~~![](<URL url=)" />

Ekk? :S~~

Apache didn't stop properly.

> /etc/init.d/apache2 stop

/etc/init.d/apache2 start

You need to be root, or use sudo, in order to start or stop such services.


Please enter an answer

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct