Mod_rewrite "does not exist" error?

When I

a2enmod rewrite

I get:

ERROR: Module rewrite does not exist

I tried this: but no luck.

My Google skills failed to find anything else to help with this. Can anyone help?


Are you using the stock version of apache2 installed via apt-get? The rewrite module should be included by default.

Submit an 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.

Yes, that’s what I thought.