Ubuntu/apache2

From r00tedvw.com wiki
(Difference between revisions)
Jump to: navigation, search
(Created page with ";apache2 is the most popular web hosting application on the market today <br\> start|stop|restart apache2 sudo /etc/init.d/apache2 start|stop|restart OR sudo service apache2...")
 
Line 17: Line 17:
 
  a2dismod [module]
 
  a2dismod [module]
 
  i.e. a2dismod mod_ssl
 
  i.e. a2dismod mod_ssl
 +
disable indexing
 +
~$ sudo a2dismod autoindex
 +
Module autoindex disabled.
 +
To activate the new configuration, you need to run:
 +
  service apache2 restart
 +
~$ sudo service apache2 restart
 +
  * Restarting web server apache2
 +
    ...done.

Revision as of 03:04, 27 September 2014

apache2 is the most popular web hosting application on the market today


start|stop|restart apache2

sudo /etc/init.d/apache2 start|stop|restart

OR

sudo service apache2 start|stop|restart

apache2 enable site

a2ensite [site config file name]
i.e. a2ensite default-ssl

apache2 disable site

a2dissite [site config file name]
i.e. a2dissite default-ssl

apache2 enable module

a2enmod [module]
i.e. a2enmod mod_ssl

apache2 disable module

a2dismod [module]
i.e. a2dismod mod_ssl

disable indexing

~$ sudo a2dismod autoindex
Module autoindex disabled.
To activate the new configuration, you need to run:
  service apache2 restart
~$ sudo service apache2 restart
 * Restarting web server apache2
   ...done.
Personal tools
Namespaces

Variants
Actions
Navigation
Mediawiki
Confluence
DevOps Tools
Open Source Products
Ubuntu
Ubuntu 22
Mac OSX
Oracle Linux
AWS
Windows
OpenVPN
Grafana
InfluxDB2
TrueNas
MagicMirror
OwnCloud
Pivotal
osTicket
OTRS
phpBB
WordPress
VmWare ESXI 5.1
Crypto currencies
HTML
CSS
Python
Java Script
PHP
Raspberry Pi
Canvas LMS
Kaltura Media Server
Plex Media Server
MetaSploit
Zoneminder
ShinobiCE
Photoshop CS2
Fortinet
Uploaded
Certifications
General Info
Games
Meal Plans
NC Statutes
Politics
Volkswagen
Covid
NCDMV
Toolbox