Re: Bug#255930: apache-modconf fails to disable modules

2004-06-24 Thread Fabio Massimo Di Nitto
tag 255930 moreinfo
tag 255930 unreproducible
stop

Hi,

On Wed, 23 Jun 2004, C.Y.M. wrote:


 Package: apache-common
 Version: 1.3.31-1
 Change Request:  apache-modconf fails to disable modules in apache and
 apache-ssl

 For Example: When I type apache-modconf apache-ssl disable
 mod_proxy_add_forward, the module is not removed from the modules.conf
 file.  Even though I was able to use apache-modconf apache-ssl enable
 mod_proxy_add_forward to insert the module successfully.

I cannot reproduce this problem here. Can you show me what is the output
on console using these few commands:

cat /etc/apache-ssl/modules.conf

apache-modconf apache-ssl enable mod_imap

cat /etc/apache-ssl/modules.conf

apache-modconf apache-ssl disable mod_imap

cat /etc/apache-ssl/modules.conf

and tell me which questions are you asked during this process?

Thanks
Fabio

-- 
user fajita: step one
fajita Whatever the problem, step one is always to look in the error log.
user fajita: step two
fajita When in danger or in doubt, step two is to scream and shout.




RE: Bug#255930: apache-modconf fails to disable modules

2004-06-24 Thread Fabio Massimo Di Nitto
On Thu, 24 Jun 2004, C.Y.M. wrote:

 I have followed your instructions and first listed the contents of
 modules.conf in apache-ssl.  Then I added mod_imap. Next, I listed the
 new contents of modules.conf (and mod_imap was there).  Finally, I was able
 to remove mod_imap and it was no longer in the modules.conf.  But, this
 appears to only work with specific modules.  If I attempt the same test with
 mod_proxy_add_forward, then nothing happens.

This is a feature and not a bug! if you add invalid lines to apache
config, apache will never work. That's why only valid modules (installed
on the system) are allowed to enter modules.conf.

Fabio

PS I am closing this bug.

-- 
user fajita: step one
fajita Whatever the problem, step one is always to look in the error log.
user fajita: step two
fajita When in danger or in doubt, step two is to scream and shout.




Bug#255930: apache-modconf fails to disable modules

2004-06-24 Thread C.Y.M.
/apache/1.3/mod_perl.so
LoadModule auth_mysql_module /usr/lib/apache/1.3/mod_auth_mysql.so
LoadModule php4_module /usr/lib/apache/1.3/libphp4.so
LoadModule proxy_add_forward_module
/usr/lib/apache/1.3/mod_proxy_add_forward.so

nofear:/etc/apache-ssl# apache-modconf apache-ssl disable
mod_proxy_add_forward

nofear:/etc/apache-ssl# cat modules.conf
# Autogenerated file - do not edit!
# This file is maintained by the apache-ssl package.
# To update it, run the command:
#/usr/sbin/apache-modconf apache-ssl
ClearModuleList
AddModule mod_so.c
AddModule mod_macro.c
LoadModule config_log_module /usr/lib/apache/1.3/mod_log_config_ssl.so
LoadModule mime_magic_module /usr/lib/apache/1.3/mod_mime_magic.so
LoadModule mime_module /usr/lib/apache/1.3/mod_mime_ssl.so
LoadModule negotiation_module /usr/lib/apache/1.3/mod_negotiation.so
LoadModule status_module /usr/lib/apache/1.3/mod_status.so
LoadModule autoindex_module /usr/lib/apache/1.3/mod_autoindex.so
LoadModule dir_module /usr/lib/apache/1.3/mod_dir.so
LoadModule cgi_module /usr/lib/apache/1.3/mod_cgi.so
LoadModule userdir_module /usr/lib/apache/1.3/mod_userdir.so
LoadModule alias_module /usr/lib/apache/1.3/mod_alias.so
LoadModule rewrite_module /usr/lib/apache/1.3/mod_rewrite.so
LoadModule access_module /usr/lib/apache/1.3/mod_access.so
LoadModule expires_module /usr/lib/apache/1.3/mod_expires.so
LoadModule setenvif_module /usr/lib/apache/1.3/mod_setenvif.so
LoadModule apache_ssl_module /usr/lib/apache/1.3/libssl.so
LoadModule auth_module /usr/lib/apache/1.3/mod_auth_ssl.so
LoadModule perl_module /usr/lib/apache/1.3/mod_perl.so
LoadModule auth_mysql_module /usr/lib/apache/1.3/mod_auth_mysql.so
LoadModule php4_module /usr/lib/apache/1.3/libphp4.so
LoadModule proxy_add_forward_module
/usr/lib/apache/1.3/mod_proxy_add_forward.so 

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
 Sent: Thursday, June 24, 2004 1:05 AM
 To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
 Cc: Debian Apache Maintainers; [EMAIL PROTECTED]
 Subject: Re: Bug#255930: apache-modconf fails to disable modules
 
 tag 255930 moreinfo
 tag 255930 unreproducible
 stop
 
 Hi,
 
 On Wed, 23 Jun 2004, C.Y.M. wrote:
 
 
  Package: apache-common
  Version: 1.3.31-1
  Change Request:  apache-modconf fails to disable modules in 
 apache and
  apache-ssl
 
  For Example: When I type apache-modconf apache-ssl disable
  mod_proxy_add_forward, the module is not removed from the 
 modules.conf
  file.  Even though I was able to use apache-modconf 
 apache-ssl enable
  mod_proxy_add_forward to insert the module successfully.
 
 I cannot reproduce this problem here. Can you show me what is 
 the output
 on console using these few commands:
 
 cat /etc/apache-ssl/modules.conf
 
 apache-modconf apache-ssl enable mod_imap
 
 cat /etc/apache-ssl/modules.conf
 
 apache-modconf apache-ssl disable mod_imap
 
 cat /etc/apache-ssl/modules.conf
 
 and tell me which questions are you asked during this process?
 
 Thanks
 Fabio
 
 -- 
 user fajita: step one
 fajita Whatever the problem, step one is always to look in 
 the error log.
 user fajita: step two
 fajita When in danger or in doubt, step two is to scream and shout.
 





Bug#255930: apache-modconf fails to disable modules

2004-06-24 Thread C.Y.M.
Hello,

Please close this bug.  This was apparently user error. I was able to remove
mod_proxy_add_forward by typing:

nofear:/etc/apache-ssl# apache-modconf apache-ssl disable proxy_add_forward

Im sorry for the trouble.  It appears what was happening was the embedded
name of the module was not the same as the actually filename.  If anything
needs to be changed, it is not apache but the module itself.

Best Regards..
C.Y.M.

 -Original Message-
 From: C.Y.M. [mailto:[EMAIL PROTECTED] 
 Sent: Thursday, June 24, 2004 7:17 AM
 To: '[EMAIL PROTECTED]'; '[EMAIL PROTECTED]'
 Cc: 'Debian Apache Maintainers'; '[EMAIL PROTECTED]'
 Subject: RE: Bug#255930: apache-modconf fails to disable modules
 
 I have followed your instructions and first listed the 
 contents of modules.conf in apache-ssl.  Then I added 
 mod_imap. Next, I listed the new contents of modules.conf 
 (and mod_imap was there).  Finally, I was able to remove 
 mod_imap and it was no longer in the modules.conf.  But, 
 this appears to only work with specific modules.  If I 
 attempt the same test with mod_proxy_add_forward, then 
 nothing happens.





Bug#255930: apache-modconf fails to disable modules

2004-06-23 Thread C.Y.M.

Package: apache-common
Version: 1.3.31-1
Change Request:  apache-modconf fails to disable modules in apache and
apache-ssl

For Example: When I type apache-modconf apache-ssl disable
mod_proxy_add_forward, the module is not removed from the modules.conf
file.  Even though I was able to use apache-modconf apache-ssl enable
mod_proxy_add_forward to insert the module successfully.