httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeff White" <>
Subject Re: [users@httpd] Virtual Hosting Causing Server to not start
Date Fri, 14 Jan 2005 16:46:18 GMT

From: "Nick Kirby"

> Here is my apache log.
> Probably too much,

In a command prompt window

findstr.exe /?

What happens?

In a command prompt window
set to the folder of Apache's
conf (c:\whatever\Apache2\conf)

findstr.exe /V ^# httpd.conf
findstr.exe /V ^# httpd.conf | more
findstr.exe /V ^# httpd.conf > aplist.txt
type aplist.txt | more

or from any folder type:
(as one long line)

findstr.exe /V ^# "c:\program files\apache

What happens?

Findstr: Seaches for patterns of text in
files using regular expressions.


And for those with Log Parser

Log Parser 2.0

Log Parser 2.0 Tool  (Windows 2000 and up)

Log Parser 2.1 (Windows XP and up)
But some say it runs on Windows 2000
also and is in the IIS 6.0 Resource Kit.

IIS 6.0 Resource Kit Tools

With Log Parser one can
use it to write queries such as:

"SELECT this_field from that_log
where that_field LIKE '%mysearch%'"

In a command prompt window
(as one long line)

"SELECT Index, Text
FROM C:\Program\u0020Files\Apache\u0020Group\Apache2\conf\httpd.conf
WHERE Text NOT LIKE '%#%' "

What happens?

The above Log Parser command
prompt line SELECT... (without the
start and end quotes) can also be
stored in a file where Log Parser
calls the file.

LogParser.exe file:GetConfLines.txt

Also Log Parser can use template files
for even more "HTML" or headers/footers
type usage.

For tons of more Windows usage
information such as starting, stopping,
tracking (concerning) services,
processes, threads, event logs,
networking, logging and many
other Windows objects see:

Script Center


The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message