|
|
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
|
|