Linux, Install [deleted] mod_rewrite apache module

So I was fiddling around on my server the other day and deleted mod_rewrite from the mods-available folder instead of the mods-enabled folder.

Is there a place I can download the missing files in order to reinstall? I've tried google but all results are just for enabling mod_rewrite and writing rewrite rules.

Maybe I should try something like: sudo apt-install apache --reinstall??

Thanks. :)


The command

sudo apt-install apache --reinstall

should work, make sure you back up your existing configuration files, and directories.