Ver Mensaje Individual
  #4 (permalink)  
Antiguo 14/12/2004, 05:10
Avatar de ortiz
ortiz
 
Fecha de Ingreso: septiembre-2004
Mensajes: 154
Antigüedad: 20 años, 4 meses
Puntos: 0
3.0 Automatic Apache Startup during boot
note: Red Hat comes with a bundled apache startup file which we shall modify
3.1 Edit /etc/rc.d/init.d/httpd
# cd /etc/rc.d/init.d
# vi httpd

# Add the following lines
PIDFILE=/usr/local/httpd/logs/httpd.pid
BINFILE=/usr/local/httpd/bin/httpd
SYSCONF=/www/conf/httpd.conf
# endof added lines
case "$1" in
start)
echo -n "Starting httpd: "
# modified the following line
#daemon httpd
# to show...
daemon $BINFILE -f $SYSCONF
# endof modification
3.2 Automatic Shutdown
# cd /etc/rc.d/rc0.d
# ln -s ../init.d/httpd K15httpd
# cd /etc/rc.d/rc6.d
# ln -s ../init.d/httpd K15httpd
3.3 Automatic Startup
# cd /etc/rc.d/rc3.d
# ln -s ../init.d/httpd S15httpd
# cd /etc/rc.d/rc5.d
# ln -s ../init.d/httpd S15httpd



No se de donde es esto, pero quizá te sirva. Por poner que no quede . Yo creo que lo conseguí de otra manera...voy a buscar

Vale, aquí está. Por estas fechas conseguí que me funcionara, aunque todavía no lo tengo muy claro la verdad

Enlace al hilo correspondiente

Última edición por ortiz; 14/12/2004 a las 05:21