Category:Apache

From vwiki
Revision as of 09:06, 31 July 2012 by Sstrutt (talk | contribs) (Added useful commands)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Common folder paths...

File path What's there
/var/www Default web root
/var/log/apache Logs
/etc/apache2 Config files
/etc/apache2/sites-available Website definition files
/etc/apache2/sites-enabled Enabled websites (normally symbolic links to files in sites-available)
/etc/php5/apache2 PHP config file

Common commands...

Command Action
service apache2 restart Restart Apache
apache2ctl -t Check Apache config (useful prior to restart)
apache2ctl -k graceful Graceful restart (allows worker threads to finish current requests before exiting

How to

Pages in category 'Apache'

The following 6 pages are in this category, out of 6 total.