Enable Apache Modules

Enable the Apache modules a typical app needs (rewrite, headers, proxy) and reload the server.

Enables one or more Apache modules and reloads the server. a2enmod creates the symlink from mods-available to mods-enabled. No restart needed - reload applies the change.

When you need this: When a VirtualHost or .htaccess directive requires a module that is not yet enabled.

Variables

Command


        
9 views 0 copies
Log in to rate
Log in to save

Free account. Save snippets into your own collections.