POV-Ray : Newsgroups : povray.off-topic : Is this the end of the world as we know it? : Re: Is this the end of the world as we know it? Server Time
31 Jul 2024 02:25:20 EDT (-0400)
  Re: Is this the end of the world as we know it?  
From: Jim Henderson
Date: 16 Oct 2011 23:12:00
Message: <4e9b9d00@news.povray.org>
On Sun, 16 Oct 2011 15:55:37 -0700, Darren New wrote:

> On 10/16/2011 15:26, Jim Henderson wrote:
>>> Without an API. Or transactions. And there's really no standard
>>> searchable format there besides "a text file". Tell me what standard
>>> Linux tool will give you a list of all the Document roots that Apache
>>> is serving.
>>
>> grep.
> 
> And what expression would I give to grep to give me the list of document
> roots that Apache is serving on my machine right now?

grep -ri documentroot /etc/apache2

Of course, you might've changed the apache2 config and not restarted the 
server, so then instead you would use:

/etc/init.d/apache2 restart && grep -ri documentroot /etc/apache2

Jim


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.