Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 23rd April 2007, 02:07
tsmaudio tsmaudio is offline
HowtoForge Supporter
 
Join Date: Nov 2006
Location: UK
Posts: 42
Thanks: 2
Thanked 0 Times in 0 Posts
Send a message via Skype™ to tsmaudio
Default Mod_security on Debian Etch

Hi Guys
I have moved up to Debian Etch from sarge, and the
"apt-get install libapache2-mod-security" command doesn't install it now.
My apt source.list contains the same links as in the perfect set up for Debain Etch by falko (thanks falko)
http://www.howtoforge.com/perfect_setup_debian_etch_p3

Is there any issues with installing mod_security on Debian Etch, if not which is the best way to go about it?

Cheers.

Last edited by tsmaudio; 23rd April 2007 at 02:11.
Reply With Quote
Sponsored Links
  #2  
Old 23rd April 2007, 17:40
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,745 Times in 2,578 Posts
Default

Maybe the name of the package has changed a bit. Do you see the package when you run
Code:
apt-cache search apache
?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 23rd April 2007, 19:37
tsmaudio tsmaudio is offline
HowtoForge Supporter
 
Join Date: Nov 2006
Location: UK
Posts: 42
Thanks: 2
Thanked 0 Times in 0 Posts
Send a message via Skype™ to tsmaudio
Default

Hi Falko

hope you are keeping well

I have run
apt-cache search apache, and it doen't seem to be mentioned at all.

Any other sugestions on how to proceed.

thanks again

Tony
Reply With Quote
  #4  
Old 23rd April 2007, 20:31
Ovidiu Ovidiu is offline
Senior Member
 
Join Date: Sep 2005
Posts: 1,266
Thanks: 82
Thanked 24 Times in 20 Posts
Default

same trouble here :-( tried apt-cache search apache | grep secur and that did not yield any results that resembled what we were looking for...
Reply With Quote
The Following User Says Thank You to Ovidiu For This Useful Post:
tsmaudio (25th April 2007)
  #5  
Old 24th April 2007, 18:55
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,745 Times in 2,578 Posts
Default

I can't find it either, which leads me to the assumption that it is included in the normal Apache package. What's the output of
Code:
ls -l /etc/apache2/mods-available
?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
The Following User Says Thank You to falko For This Useful Post:
tsmaudio (25th April 2007)
  #6  
Old 25th April 2007, 12:59
tsmaudio tsmaudio is offline
HowtoForge Supporter
 
Join Date: Nov 2006
Location: UK
Posts: 42
Thanks: 2
Thanked 0 Times in 0 Posts
Send a message via Skype™ to tsmaudio
Default

This is the output of ls -l /etc/apache2/mods-available

total 324
-rw-r--r-- 1 root root 66 Mar 27 12:45 actions.load
-rw-r--r-- 1 root root 62 Apr 22 19:02 alias.load
-rw-r--r-- 1 root root 60 Mar 27 12:45 asis.load
-rw-r--r-- 1 root root 72 Apr 22 19:02 auth_basic.load
-rw-r--r-- 1 root root 74 Mar 27 12:45 auth_digest.load
-rw-r--r-- 1 root root 74 Mar 27 12:45 authn_alias.load
-rw-r--r-- 1 root root 72 Mar 27 12:45 authn_anon.load
-rw-r--r-- 1 root root 70 Mar 27 12:45 authn_dbd.load
-rw-r--r-- 1 root root 70 Mar 27 12:45 authn_dbm.load
-rw-r--r-- 1 root root 78 Mar 27 12:45 authn_default.load
-rw-r--r-- 1 root root 72 Apr 22 19:02 authn_file.load
-rw-r--r-- 1 root root 90 Mar 27 12:45 authnz_ldap.load
-rw-r--r-- 1 root root 70 Mar 27 12:45 authz_dbm.load
-rw-r--r-- 1 root root 78 Apr 22 19:02 authz_default.load
-rw-r--r-- 1 root root 82 Apr 22 19:02 authz_groupfile.load
-rw-r--r-- 1 root root 72 Apr 22 19:02 authz_host.load
-rw-r--r-- 1 root root 74 Mar 27 12:45 authz_owner.load
-rw-r--r-- 1 root root 72 Apr 22 19:02 authz_user.load
-rw-r--r-- 1 root root 70 Apr 22 19:02 autoindex.load
-rw-r--r-- 1 root root 62 Mar 27 12:45 cache.load
-rw-r--r-- 1 root root 70 Mar 27 12:45 cern_meta.load
-rw-r--r-- 1 root root 58 Apr 22 19:02 cgi.load
-rw-r--r-- 1 root root 68 Mar 27 12:45 cgid.conf
-rw-r--r-- 1 root root 60 Mar 27 12:45 cgid.load
-rw-r--r-- 1 root root 76 Mar 27 12:45 charset_lite.load
-rw-r--r-- 1 root root 58 Mar 27 12:45 dav.load
-rw-r--r-- 1 root root 36 Mar 27 12:45 dav_fs.conf
-rw-r--r-- 1 root root 79 Mar 27 12:45 dav_fs.load
-rw-r--r-- 1 root root 68 Mar 27 12:45 dav_lock.load
-rw-r--r-- 1 root root 58 Mar 27 12:45 dbd.load
-rw-r--r-- 1 root root 107 Mar 27 12:45 deflate.conf
-rw-r--r-- 1 root root 66 Mar 27 12:45 deflate.load
-rw-r--r-- 1 root root 136 Apr 22 19:02 dir.conf
-rw-r--r-- 1 root root 58 Apr 22 19:02 dir.load
-rw-r--r-- 1 root root 169 Mar 27 12:45 disk_cache.conf
-rw-r--r-- 1 root root 89 Mar 27 12:45 disk_cache.load
-rw-r--r-- 1 root root 64 Mar 27 12:45 dump_io.load
-rw-r--r-- 1 root root 58 Apr 22 19:02 env.load
-rw-r--r-- 1 root root 66 Mar 27 12:45 expires.load
-rw-r--r-- 1 root root 72 Mar 27 12:45 ext_filter.load
-rw-r--r-- 1 root root 89 Mar 27 12:45 file_cache.load
-rw-r--r-- 1 root root 64 Mar 27 12:45 filter.load
-rw-r--r-- 1 root root 66 Mar 27 12:45 headers.load
-rw-r--r-- 1 root root 62 Mar 27 12:45 ident.load
-rw-r--r-- 1 root root 68 Mar 27 12:45 imagemap.load
-rw-r--r-- 1 root root 66 Apr 22 19:02 include.load
-rw-r--r-- 1 root root 60 Mar 27 12:45 info.load
-rw-r--r-- 1 root root 60 Mar 27 12:45 ldap.load
-rw-r--r-- 1 root root 76 Mar 27 12:45 log_forensic.load
-rw-r--r-- 1 root root 185 Mar 27 12:45 mem_cache.conf
-rw-r--r-- 1 root root 87 Mar 27 12:45 mem_cache.load
-rw-r--r-- 1 root root 60 Apr 22 19:02 mime.load
-rw-r--r-- 1 root root 89 Mar 27 12:45 mime_magic.conf
-rw-r--r-- 1 root root 72 Mar 27 12:45 mime_magic.load
-rw-r--r-- 1 root root 74 Apr 22 19:02 negotiation.load
-rw-r--r-- 1 root root 60 Mar 27 10:36 perl.load
-rw-r--r-- 1 root root 133 Mar 8 08:48 php4.conf
-rw-r--r-- 1 root root 59 Mar 8 08:48 php4.load
-rw-r--r-- 1 root root 135 Apr 22 19:02 php5.conf
-rw-r--r-- 1 root root 59 Apr 22 19:02 php5.load
-rw-r--r-- 1 root root 589 Mar 27 12:45 proxy.conf
-rw-r--r-- 1 root root 62 Mar 27 12:45 proxy.load
-rw-r--r-- 1 root root 87 Mar 27 12:45 proxy_ajp.load
-rw-r--r-- 1 root root 103 Mar 27 12:45 proxy_balancer.load
-rw-r--r-- 1 root root 95 Mar 27 12:45 proxy_connect.load
-rw-r--r-- 1 root root 87 Mar 27 12:45 proxy_ftp.load
-rw-r--r-- 1 root root 89 Mar 27 12:45 proxy_http.load
-rw-r--r-- 1 root root 66 Apr 22 19:02 rewrite.load
-rw-r--r-- 1 root root 68 Apr 22 19:02 setenvif.load
-rw-r--r-- 1 root root 298 Mar 27 12:45 sick-hack-to-update-modules
-rw-r--r-- 1 root root 66 Mar 27 12:45 speling.load
-rw-r--r-- 1 root root 1781 Apr 22 19:02 ssl.conf
-rw-r--r-- 1 root root 58 Apr 22 19:02 ssl.load
-rw-r--r-- 1 root root 64 Apr 22 19:02 status.load
-rw-r--r-- 1 root root 64 Apr 22 19:02 suexec.load
-rw-r--r-- 1 root root 70 Mar 27 12:45 unique_id.load
-rw-r--r-- 1 root root 293 Mar 27 12:45 userdir.conf
-rw-r--r-- 1 root root 66 Mar 27 12:45 userdir.load
-rw-r--r-- 1 root root 70 Mar 27 12:45 usertrack.load
-rw-r--r-- 1 root root 66 Mar 27 12:45 version.load
-rw-r--r-- 1 root root 74 Mar 27 12:45 vhost_alias.load

Cheers
Tony
Reply With Quote
  #7  
Old 26th April 2007, 19:58
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,745 Times in 2,578 Posts
Default

No, it's not in there either...
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #8  
Old 3rd May 2007, 12:43
tsmaudio tsmaudio is offline
HowtoForge Supporter
 
Join Date: Nov 2006
Location: UK
Posts: 42
Thanks: 2
Thanked 0 Times in 0 Posts
Send a message via Skype™ to tsmaudio
Default

Hi everyone
Just wondered if anyone had any further help or advice on getting mod_security installed and working on Debian etch.

I have tried downloading the latest release from
http://www.modsecurity.org/

and followed these install instructions
http://www.modsecurity.org/documenta...tallation.html

but after making the additions to the apache2.conf as described and then restarting apache, it comes up with a failed message saying module not found.

I have done a "locate mod_security" and there is a entry now in
/usr/lib/apache2/modules/mod_security2.so

this is all that was located.


I guess this install is not quite right for Debian Etch? any ideas

Any help on how to install it would be very much appreciated.

cheers.
Reply With Quote
  #9  
Old 3rd May 2007, 13:13
Ovidiu Ovidiu is offline
Senior Member
 
Join Date: Sep 2005
Posts: 1,266
Thanks: 82
Thanked 24 Times in 20 Posts
Default

those links seem good, I'll give it a try these days and see if it works for me or if I come up with another idea...
Reply With Quote
  #10  
Old 4th May 2007, 13:38
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,745 Times in 2,578 Posts
 
Default

Quote:
Originally Posted by tsmaudio
but after making the additions to the apache2.conf
What exactly did you add? What's the output of
Code:
apache2 -V
?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Bind Failed christoph2k HOWTO-Related Questions 4 28th April 2007 00:57
install fails, debian etch 4.0 edo660 Installation/Configuration 12 27th April 2007 02:40
ISPconfig on debian ETCH provell Installation/Configuration 15 23rd January 2007 10:02
Pls Help - Problem installing OpenVZ with Debian Etch. joelee HOWTO-Related Questions 3 14th January 2007 18:37
e-mail problem!!! Debian 3.1 maroonworks Installation/Configuration 18 6th December 2005 14:42


All times are GMT +2. The time now is 01:47.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.