configure arguments achterhalen van een apache installatie

Pagina: 1
Acties:

  • blerry
  • Registratie: September 2002
  • Laatst online: 16:20
Ik heb gezocht op internet en hier op het forum alleen heb ik niks concreets gevonden in de vorm van een oplossing, het probleem is dat ik wil achterhalen hoe apache is gecompileerd (de configure statement), met httpd -V kan je zien hoe apache gecompiled is , alleen weet ik niet hoe ik dit moet vertalen naar een configure statement, hieronder de uitkomst van httpd -V :

Server's Module Magic Number: 19990320:10
Server compiled with....
-D EAPI
-D EAPI_MM
-D EAPI_MM_CORE_PATH="/var/run/httpd.mm"
-D HAVE_MMAP
-D HAVE_SHMGET
-D USE_SHMGET_SCOREBOARD
-D USE_MMAP_FILES
-D USE_SYSVSEM_SERIALIZED_ACCEPT
-D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
-D HTTPD_ROOT="/etc/httpd"
-D SUEXEC_BIN="/usr/sbin/suexec"
-D DEFAULT_PIDLOG="/var/run/httpd.pid"
-D DEFAULT_SCOREBOARD="/var/run/httpd.scoreboard"
-D DEFAULT_LOCKFILE="/var/run/httpd.lock"
-D DEFAULT_XFERLOG="/var/log/httpd/access_log"
-D DEFAULT_ERRORLOG="/var/log/httpd/error_log"
-D TYPES_CONFIG_FILE="conf/mime.types"
-D SERVER_CONFIG_FILE="conf/httpd.conf"
-D ACCESS_CONFIG_FILE="conf/access.conf"
-D RESOURCE_CONFIG_FILE="conf/srm.conf"


iemand een idee ?

  • blerry
  • Registratie: September 2002
  • Laatst online: 16:20
Niemand ? :'(

  • BoAC
  • Registratie: Februari 2003
  • Laatst online: 17:10

BoAC

Memento mori

Wat is je distro?
Heb je Apache zelf ooit gecompileerd of was hij gebuild bijgeleverd?

De output die hierboven staat is alleen de config voor apache niet de compiler-options.

btw wat wil je met die kennis :?

  • Freak_NL
  • Registratie: Juli 2000
  • Laatst online: 29-01 14:41
Als je PHP tot je beschikking hebt kun je met phpinfo() de Apache configure string pakken:

PHP:
1
phpinfo ();


Opslaan als PHP file en aanroepen via de webserver.

  • Kees
  • Registratie: Juni 1999
  • Laatst online: 14:16

Kees

Serveradmin / BOFH / DoC
code:
1
strings httpd | grep "'\./configure'"


Sorry, dat is van een (statisch gecompileerde) php module.. niet echt wat jij zoekt ;)

Als je de source nog hebt staan de apache opties in /je/src/dir/apache/.config.status

[ Voor 78% gewijzigd door Kees op 10-05-2004 14:06 ]

"Een serveradmin, voluit een serveradministrator, is dan weer een slavenbeheerder oftewel een slavendrijver" - Rataplan


  • blerry
  • Registratie: September 2002
  • Laatst online: 16:20
Kees bedankt, de src stond er inderdaad nog, daarin kon ik idd de configure statement zien.

Iedereen bedankt die heeft gereageerd.
Pagina: 1