-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Marcio Merlone wrote:
>Felipe Martins wrote:
>> Galera,
>>
>>      Alguem sabe como fazer pra rodar, no Slackware 10.1, duas instancias
>> do servidor httpd Apache versao 2 ? Como fazer para rodar duas
>> instancias apontando cada uma para um arquivo diferente de
>> configuraçào (httpd.conf) ? Estou precisando muito disso, quem souber
>> fazer, preciso de uma mão ...
>
>Teria que fazer duas instalações distintas do apache, cada uma em um
>diretório diferente, e cada um usando uma porta diferente. Ambos na
>porta 80 não rola.

Não precisa de duas instalações distintas. Um único Apache instalado já 
serve.

Basta ter dois httpd.conf.

A resposta à pergunta do Felipe está no próprio httpd:

$ /usr/sbin/httpd help
Usage: /usr/sbin/httpd [-D name] [-d directory] [-f file]
                       [-C "directive"] [-c "directive"]
                       [-k start|restart|graceful|stop]
                       [-v] [-V] [-h] [-l] [-L] [-t] [-S]
Options:
  -D name           : define a name for use in <IfDefine name> directives
  -d directory      : specify an alternate initial ServerRoot
  -f file           : specify an alternate ServerConfigFile
  -C "directive"    : process directive before reading config files
  -c "directive"    : process directive after reading config files
  -e level          : show startup errors of level (see LogLevel)
  -E file           : log startup errors to file
  -v                : show version number
  -V                : show compile settings
  -h                : list available command line options (this page)
  -l                : list compiled in modules
  -L                : list available configuration directives
  -t -D DUMP_VHOSTS : show parsed settings (currently only vhost settings)
  -S                : a synonym for -t -D DUMP_VHOSTS
  -t                : run syntax check for config files

Veja a opção -f
- -- 
  Thiago Macieira  -  thiago (AT) macieira.info - thiago (AT) kde.org
    PGP/GPG: 0x6EF45358; fingerprint:
    E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358

4. And æfter se scieppend ingelogode, he wrát "cenn", ac eala! se 
rihtendgesamnung andswarode "cenn: ne wát hú cennan 'eall'. Ástynt."
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFDKMNxM/XwBW70U1gRAhgkAJ4xbr2+vsHbJ1UeU1+OINOt2T8LFgCfVC/k
Rr20GtRSh3+z1yXFIUnm3Po=
=i3oY
-----END PGP SIGNATURE-----
---------------------------------------------------------------------------
Esta lista é patrocinada pela Conectiva S.A. Visite http://www.conectiva.com.br

Arquivo: http://bazar2.conectiva.com.br/mailman/listinfo/linux-br
Regras de utilização da lista: http://linux-br.conectiva.com.br
FAQ: http://www.zago.eti.br/menu.html

Responder a