Browsing articles tagged with " vhost"
Oct
19

Apache modules, sites

By rzelazko  //  Apache, Lamp, Linux  //  1 Comment

How to enable apache module (ex. mod_rewrite)?

You must type in console:

a2enmod rewrite

If you want to enable new virtual host you must type:

a2ensite your.domain.name

Where your.domain.name is file saved in /etc/apache2/sites-available.