httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Farid Hamjavar <hamja...@unm.edu>
Subject Re: how to check syntax of a stand-alone httpd.conf
Date Mon, 28 Jan 2002 05:06:30 GMT

Hello,

Never mind ..... I did not see "-t" in the man page ...
httpd -f /tmp/httpd.conf.test -t #is the way to do it  ...

Thanks,
Farid
UNM



On Sun, 27 Jan 2002, Farid Hamjavar wrote:

> Date: Sun, 27 Jan 2002 21:59:45 -0700 (MST)
> From: Farid Hamjavar <hamjavar@unm.edu>
> Reply-To: users@httpd.apache.org
> To: users@httpd.apache.org
> Subject: how to check syntax of a stand-alone httpd.conf 
> 
> 
> Hello,
> 
> I am using apache 1.3.22 on Linux (rh7.2) and
> subject line pretty much says it all.
> 
> 
> I am *not* interested in checking syntax of httpd.conf
> of a production environment. I am interested
> to be able to check the syntax of a httpd.conf ,sitting
> let say, in /tmp/httpd.conf.test   ...
> 
> I guess I can not say:
> apachectl -f /tmp/httpd.conf.test
> 
> or the following for that matter:
> 
> httpd -f /tmp/httpd.conf.test which actually starts
> a daemon which I do not want to happen....
> 
> So how else can I check the syntax of a test stand-alone
> config file ....?
> 
> Thanks,
> Farid
> UNM
> 
> 
> 
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
> 


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message