3 Apache/httpd Command-Line Options
Feb 03, 2009, 13:02 (0 Talkback[s])
(Other stories by Juliet Kemp)
"1. httpd -k
start -c "DocumentRoot /var/www/html_debug/": Start up Apache using
an alternative DocumentRoot. This is useful if you're trying out
alternative versions of your web site, as it avoids editing the
DocumentRoot option. You can also use -c to set any other
directive. Note that -c processes the directive after reading the
config files (so it will overwrite config file settings), whereas
-C will process the directive before the config files."
Complete
Story
Related Stories:
- Apache Basics, Visited(Jan 29, 2009)
- Apache Security: A Watched Bot Never Spoils (Your Server)(Jan 28, 2009)
- January 2009 Web Server Survey: Apache Shows Large Gains(Jan 19, 2009)
- Real Web 2.0: Battling Web spam, Part 2(Dec 29, 2008)
- Creating an oBAMP Stack: OpenBSD, Apache, MySQL, and PHP(Dec 10, 2008)
- Installing Cherokee Web Server With PHP 5 & MySQL 5 Support On Ubuntu 8.10(Dec 04, 2008)