Re: read apache settings
- From: Mathieu Maes <mathieu.maes@xxxxxxxxx>
- Date: Sat, 29 Nov 2008 04:01:57 -0800 (PST)
On 28 nov, 12:23, "massimo.sala" <massimo.sala...@xxxxxxxxx> wrote:
is it possible from a php script to read the apache settings ?
for example
DirectoryIndex
ServerAdmin
There is no direct function in PHP to read apache configuration. You
could try to open the conf-file and look for the options manually.
You could also make other checks. For instance, if you want to know if
a certain directory has an open index, you could perform an HTTP
request to that directory. If that request returns 403, the index is
not allowed...
Kind regards,
Mathew
.
- References:
- read apache settings
- From: massimo.sala
- read apache settings
- Prev by Date: Re: Date Help..!!!Urgent
- Next by Date: Re: php form and ssi
- Previous by thread: Re: read apache settings
- Next by thread: Documentation tool
- Index(es):