On Mon, Jul 18, 2011 at 4:50 AM, Dave Huang <k...@azeotrope.org> wrote: > On 7/18/2011 3:43 AM, Andy Canfield wrote: >> >> On 07/18/2011 09:34 AM, Geoff Hoffman wrote: >>> >>> Test your config with -t >> >> Option "-t" on what command line? "-t" for svnserve means "tunnel"; >> svnadmin and svn have no -t option. > > This thread is about "Subversion: via Apache", so the Apache commandline :) > > Usage: httpd [-D name] [-d directory] [-f file] > [-C "directive"] [-c "directive"] > [-k start|restart|graceful|graceful-stop|stop] > [-v] [-V] [-h] [-l] [-L] [-t] [-T] [-S] > Options: > [...] > -t : run syntax check for config files
Some httpd setups provide this in the init script, an "/etc/init.d/httpd configtest" option. Be careful to tease out the actual init options used by your init script: Debian hides a lot of them in /etc/default/apache2, for example.