[ILUG] apache config question..

Colm MacCárthaigh colmmacc at redbrick.dcu.ie
Tue Jan 22 14:50:21 GMT 2002


On Tue, Jan 22, 2002 at 02:44:06PM +0000, John P. Looney wrote:
>  Is it just me, or is apache's config file format a little shite;

it is, but only a little, take a look at TomCat's some time, ugggh

> 
> <VirtualHost 192.168.2.254:280>
>         ServerName 192.168.2.254
> </VirtualHost> # for 192.168.2.254 
> 
>  The /Virtualhost line is causing this error;
> 
> Starting httpd:Syntax error on line 86 of /etc/httpd.conf:
> </VirtualHost> takes no arguments
> 
>  What's all that about ?

comments have to be on a line on their own, first
character has to be #, it isnt shell style commenting,
why they don't use a stateful lexer is beyond me,
but there ya go :o)

-- 
-------------------------------------------------------------
colmmacc at redbrick.dcu.ie            webmaster at redbrick.dcu.ie

"if you really want to change something, start with yourself"




More information about the ILUG mailing list