TurnKey Linux Virtual Appliance Library

Enableing Mod_rewrite

Hello all,


I feel like a complete noob here but I can't seem to find where you can enable mod_rewrite on the TK LAMP application.


Under web admin I have gone to servers->Apache webserver and then to Module config, but I couldn't find a reference to mod_rewrite there. I have dug around the config section of the web admin app a bit but am not seeing anything that seems to allow me to enable modules.


Could anyone tell me where I can find this? Again I feel silly, like it is right in front of me, but I'm just not seeing it! Any help would be appreciated, thanks!

Jeremy Davis's picture

IIRC it is enabled by default

But if not the easiest way to do it is from the commandline:

a2enmod rewrite

Thanks much, that did the

Thanks much, that did the trick!

Post new comment

The content of this field is kept private and will not be shown publicly. If you have a Gravatar account, used to display your avatar.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <p> <span> <div> <h1> <h2> <h3> <h4> <h5> <h6> <img> <map> <area> <hr> <br> <br /> <ul> <ol> <li> <dl> <dt> <dd> <table> <tr> <td> <em> <b> <u> <i> <strong> <font> <del> <ins> <sub> <sup> <quote> <blockquote> <pre> <address> <code> <cite> <strike> <caption>

More information about formatting options

Leave this field empty. It's part of a security mechanism.
(Dear spammers: moderators are notified of all new posts. Spam is deleted immediately)