On 9/3/2014 8:55 PM, Harry Putnam wrote: > googling to learn how to enable modules in apache2-2.4.10-1+b1 > > I'm getting a little too much input to really see what to do. > > what is the name of cgi module? That would be very useful for the > `a2enmod' cmd. And for something real simple like making sure it is > installed. >
Which language is the script written in? There are multiple CGI modules because there are multiple languages which can use it. > I see several files in [...]/mods-available with the string `cgi' in > them. None of those show up in [...]/mods-enabled. > > apache2 -M is supposed to dump all modules but instead dumps a bunch > of guff that says nothing at all about modules. And none of the > complaints appear to be a problem for apache2 since it starts and > restarts with no errors even when logging is set to `debug'. (see > first blurb below) > > Using apachetcl -t to show all loaded mods (amongst several other > things) seems not to do that (see the last blurb below) > > ------- ------- ---=--- ------- ------- > apache2 -M > [Wed Sep 03 20:12:14.669980 2014] [core:warn] [pid 6481] AH00111: Config > variable ${APACHE_LOCK_DIR} is not defined > [Wed Sep 03 20:12:14.671468 2014] [core:warn] [pid 6481] AH00111: Config > variable ${APACHE_PID_FILE} is not defined > [Wed Sep 03 20:12:14.672347 2014] [core:warn] [pid 6481] AH00111: Config > variable ${APACHE_RUN_USER} is not defined > [Wed Sep 03 20:12:14.673177 2014] [core:warn] [pid 6481] AH00111: Config > variable ${APACHE_RUN_GROUP} is not defined > [Wed Sep 03 20:12:14.674001 2014] [core:warn] [pid 6481] AH00111: Config > variable ${APACHE_LOG_DIR} is not defined > [Wed Sep 03 20:12:14.677377 2014] [core:warn] [pid 6481:tid 3074520896] > AH00111: Config variable ${APACHE_LOG_DIR} is not defined > [Wed Sep 03 20:12:14.678458 2014] [core:warn] [pid 6481:tid 3074520896] > AH00111: Config variable ${APACHE_LOG_DIR} is not defined > [Wed Sep 03 20:12:14.679343 2014] [core:warn] [pid 6481:tid 3074520896] > AH00111: Config variable ${APACHE_LOG_DIR} is not defined > AH00526: Syntax error on line 74 of /etc/apache2/apache2.conf: > Invalid Mutex directory in argument file:${APACHE_LOCK_DIR} > > ------- ------- ---=--- ------- ------- > > sudo apachectl -t > > [Wed Sep 03 20:46:48.376425 2014] [core:trace3] [pid 6933:tid 3074139968] > core.c(3051): Setting LogLevel for all modules to trace4 > Syntax OK > > Not loading a module is not an error - although you should fix the error in line 74. Attempting to load a non-existent module would be an error. Jerry -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/5407cc1b.9000...@attglobal.net