Re: mod_security & apache port
On Thu, Nov 26, 2009 at 12:05:44PM +0100, Alex Huth wrote: > > Hello! > > When i use the ports to install mod_security on a fresh installed 8.0 system, > it is installing apache 2.0.63_3. Are there any known problems why 2.2 isn't > used together with mod_security? > > Thx > I think that 2.0 is just the default. To build 2.2 instead put: APACHE_VERSION=22 in /etc/make.conf or install 2.2 first and then mod_security. Regards, -- Frank Contact info: http://www.shute.org.uk/misc/contact.html ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: mod_security & apache port
2009/11/26 Alex Huth > Hello! > > When i use the ports to install mod_security on a fresh installed 8.0 > system, > it is installing apache 2.0.63_3. Are there any known problems why 2.2 > isn't > used together with mod_security? > > Thx > > > Alex > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscr...@freebsd.org" > have you csup your ports? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
mod_security & apache port
Hello! When i use the ports to install mod_security on a fresh installed 8.0 system, it is installing apache 2.0.63_3. Are there any known problems why 2.2 isn't used together with mod_security? Thx Alex ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Adding Modules to Apache Port Post Install
On May 18, 2008, at 8:44 PM, [EMAIL PROTECTED] wrote: I notice that the guide complies Apache with WITH_BERKELEYDB=db42 and WITH_MPM=worker, which I did not do. Any way to add these without recompiling and losing everything? Yes and no. You probably can't change which BDB Apache uses without recompiling, but you can avoid losing everything by taking proper backups before making the change -- -Chuck ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Adding Modules to Apache Port Post Install
At 10:44 PM 5/18/2008, [EMAIL PROTECTED] wrote: Hello, I configured and installed an Apache server on my FreeBSD box about a week or so back. Now I'm looking into installing subversion using this guide: http://www.onlamp.com/pub/a/bsd/2007/09/27/subversion-for-bsd-with-all-the-bells-and-whistles.html I notice that the guide complies Apache with WITH_BERKELEYDB=db42 and WITH_MPM=worker, which I did not do. Any way to add these without recompiling and losing everything? Regards, montag do: cd /usr/ports/www/apache22 make config Then pick the modules you want and rebuild and reinstall. If you didn't do: make clean It will use what you already have built. -Derek -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Adding Modules to Apache Port Post Install
Hello, I configured and installed an Apache server on my FreeBSD box about a week or so back. Now I'm looking into installing subversion using this guide: http://www.onlamp.com/pub/a/bsd/2007/09/27/subversion-for-bsd-with-all-the-bells-and-whistles.html I notice that the guide complies Apache with WITH_BERKELEYDB=db42 and WITH_MPM=worker, which I did not do. Any way to add these without recompiling and losing everything? Regards, montag ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: apache port knobs - WITH_APACHE2 deprecated?
On Thursday 15 November 2007 19:39, Philip M. Gollucci wrote: > Jonathan McKeown wrote: > > This is (I hope) a quick and easy question. > > > > I want to ensure that any ports which depend on Apache will depend on 2.0 > > rather than try to bring in 1.3. > > > > I used to do this by putting WITH_APACHE2 in /etc/make.conf. > > > > bsd.apache.mk says WITH_APACHE2 is deprecated. > > $ grep apache /etc/make.conf > APACHE_PORT=www/apache22 Thanks. I wondered about that while looking through bsd.apache.mk but wasn't confident enough (nor did I have enough spare time) to experiment. I must offer a patch to the makefile/documentation. Jonathan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
apache port knobs - WITH_APACHE2 deprecated?
This is (I hope) a quick and easy question. I want to ensure that any ports which depend on Apache will depend on 2.0 rather than try to bring in 1.3. I used to do this by putting WITH_APACHE2 in /etc/make.conf. bsd.apache.mk says WITH_APACHE2 is deprecated. What is it deprecated in favour of, or is that a secret? (Sorry for the snarky tone but I've spent most of today trying to find a clear answer). Jonathan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: apache port knobs - WITH_APACHE2 deprecated?
Jonathan McKeown wrote: > This is (I hope) a quick and easy question. > > I want to ensure that any ports which depend on Apache will depend on 2.0 > rather than try to bring in 1.3. > > I used to do this by putting WITH_APACHE2 in /etc/make.conf. > > bsd.apache.mk says WITH_APACHE2 is deprecated. $ grep apache /etc/make.conf APACHE_PORT=www/apache22 -- Philip M. Gollucci ([EMAIL PROTECTED]) o:703.549.2050x206 Senior System Admin - Riderway, Inc. http://riderway.com / http://ridecharge.com 1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB B89E 1324 9B4F EC88 A0BF Work like you don't need the money, love like you'll never get hurt, and dance like nobody's watching. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Apache port OPTIONs support
All, Recently, the apache port changed as per the note in /usr/ports/UPDATING below. I used to build apache with the proxy modules: make WITH_PROXY_MODULES=yes install I've now tried: make WITHOUT_APACHE_OPTIONS=YES WITH_PROXY_MODULES=yes install This builds the proxy modules, but leaves out at least SSL modules, so I'm assuming there is a preferred way to specify specific options, but can't figure out how. Thanks for any help, Barry - From the /usr/ports/UPDATING file - By popular request, OPTIONS support has been added. When enabled (default), these knobs are ignored: * WITH__MODULES * WITHOUT__MODULES * WITH_CUSTOM_ * WITH_MODULES * WITHOUT_MODULES * WITH_STATIC_MODULES However, you can disable OPTIONS by defining WITHOUT_APACHE_OPTIONS. Previous ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Apache port compile error
On Saturday 25 November 2006 05:31, VeeJay wrote: > Hi > > > When compiling apache20 from ports and enabling/diabling knobs, I am > writing the make command as follow; > > #make WITHOUT_MODULES="charset-lite include env setenvif status autoindex > asis cgi negotiation imap actions userdir alias so" > WITH_MODULES="mpm=prefork access auth log_config mime dir" > > #make install > > > And after compiling with above command, I am getting this error when > running apache > > > # /usr/local/sbin/apachectl start > > Syntax error on line 41 of /usr/local/etc/apache2/httpd.conf: > Invalid command 'Order', perhaps mis-spelled or defined by a module not > included in the server configuration > > > Even though I have added "access, auth" modules already in the make > command... > > > Please help!!! What's on line 40, 41, and 42 of your httpd.conf? I you just want a working apache20, skip what you're doing and just do a "make install". Is there a reason that you would want to use apache20 rather than apache22? Just curious. Don ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Apache port compile error
Hi When compiling apache20 from ports and enabling/diabling knobs, I am writing the make command as follow; #make WITHOUT_MODULES="charset-lite include env setenvif status autoindex asis cgi negotiation imap actions userdir alias so" WITH_MODULES="mpm=prefork access auth log_config mime dir" #make install And after compiling with above command, I am getting this error when running apache # /usr/local/sbin/apachectl start Syntax error on line 41 of /usr/local/etc/apache2/httpd.conf: Invalid command 'Order', perhaps mis-spelled or defined by a module not included in the server configuration Even though I have added "access, auth" modules already in the make command... Please help!!! -- Thanks! BR / vj ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
upgrading from apache port 2.0.59 to 2.2.3
the actual switch from 2.0 to 2.2 should be rather self explanitory, but what i really want to know, is what about things like php5 and extensions? will those have to all be rebuilt before 2.2 will work as 2.0 did? thanks, jonathan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Apache port included dso modules
On 4/22/06, fbsd <[EMAIL PROTECTED]> wrote: > In the hpptd.conf file their are a bunch of DSO modules being > included. > > Are these required by Apache to run? > > The only one I know for sure I am using is the PHP4 one. > > Can I comment the rest out to disable them as I considerer > anything I am not really using as possible security leaks? > > Is there documentation on what these DSO modules do and how to use > them? > > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" > It's a very good idea to turn off everything you don't need on a production server. The default set up is not an outright security leak, though. Memory consumption is of a much more realistic importance. http://httpd.apache.org/docs/2.2/mod/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Apache port included dso modules
In the hpptd.conf file their are a bunch of DSO modules being included. Are these required by Apache to run? The only one I know for sure I am using is the PHP4 one. Can I comment the rest out to disable them as I considerer anything I am not really using as possible security leaks? Is there documentation on what these DSO modules do and how to use them? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: FreeBSD 6 Apache Port
On 11/30/05, Grant Peel <[EMAIL PROTECTED]> wrote: > And, the php (cli version) went fine, but it did come up with a few gui > questions, but non about --with-gd -enable-mysql etc etc. How to do I deal > with that? I was thinking, after make, do I go to the work directory and add > them to the configure line? then make again, and install again? OR can you > add them directly to the make line? These are both available as php4 modules and plugin to php just like apache modules do: databases/php4-mysql graphics/php4-gd A nice way to get these is to just run a 'make install' on lang/php4-extensions which will give you a menu to select which extensions you would like installed in one shot, with common defaults already selected. Aaron ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: FreeBSD 6 Apache Port
Aaron, Thanks for the advice. I tool it and the install went flawlessly. Two quick questions though: For testing, I want to use the snake oil cert, so am I limited to using open ssl now to comple the cert, as oppsed to the old apache make make certificate make install ? And, the php (cli version) went fine, but it did come up with a few gui questions, but non about --with-gd -enable-mysql etc etc. How to do I deal with that? I was thinking, after make, do I go to the work directory and add them to the configure line? then make again, and install again? OR can you add them directly to the make line? The above is the part about ports that has always confused me. And to be honest, I have never gotten a straight answer. Thanks again, -Grant - Original Message - From: "Aaron Martinez" <[EMAIL PROTECTED]> To: ; "Grant Peel" <[EMAIL PROTECTED]> Sent: Tuesday, November 29, 2005 11:46 PM Subject: Re: FreeBSD 6 Apache Port On Tuesday 29 November 2005 20:15, Grant Peel wrote: Hi all, I am quite proficient at installing Apache, mod_ssl, mysql php (as a static module) on FreeBSD < 5.0. I always do this from source as I do not understand how to use the ports system ... as far as linking all the mods together. I have recently installed a new server using FreeBSD 6.0. Does anyone know a good tutorial or guide on how to compile Apache 2.x mod_ssl and php to gether from the ports collection? I know how to cd /usr/ports/port_name_here , make , [make test] , make install, but have never understood how to tie the mods together to procuce a complete setup. Also, what is the prefered method for adding ./configure args to a port? FYI, all I am looking to do is to compile Apache 2.x mod_ssl and php together so as to have a ports build of the apache webserver. Any help will be appreciated. -Grant Depending on which version of Apache you're trying to build depends on the different modules you'll need to add in. Apache 2 has native ssl included so no mod needed. If you want php support in your apache, then simply install the /usr/ports/www/mod_php(4_5) port. DONE.. here is an excerpt from a google search: "I recommend lang/php4 When you install it should come up with a menu allowing you to choose your options (GD support, CLI, etc). After it is done, it will tell you what to add to your httpd.conf file to get .php files working (apache restart required). To test, make a file like: " "Just a quick note. /usr/ports/lang/php4 also includes command line interface beside the apache module. if you only need mod_php, you can cd to /usr/ports/www/mod_php4 instead/" Aaron Martinez ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: FreeBSD 6 Apache Port
On Tuesday 29 November 2005 20:15, Grant Peel wrote: > Hi all, > > I am quite proficient at installing Apache, mod_ssl, mysql php (as a static > module) on FreeBSD < 5.0. I always do this from source as I do not > understand how to use the ports system ... as far as linking all the mods > together. > > I have recently installed a new server using FreeBSD 6.0. > > Does anyone know a good tutorial or guide on how to compile Apache 2.x > mod_ssl and php to gether from the ports collection? I know how to cd > /usr/ports/port_name_here , make , [make test] , make install, but have > never understood how to tie the mods together to procuce a complete setup. > > Also, what is the prefered method for adding ./configure args to a port? > > FYI, all I am looking to do is to compile Apache 2.x mod_ssl and php > together so as to have a ports build of the apache webserver. > > Any help will be appreciated. > > -Grant Depending on which version of Apache you're trying to build depends on the different modules you'll need to add in. Apache 2 has native ssl included so no mod needed. If you want php support in your apache, then simply install the /usr/ports/www/mod_php(4_5) port. DONE.. here is an excerpt from a google search: "I recommend lang/php4 When you install it should come up with a menu allowing you to choose your options (GD support, CLI, etc). After it is done, it will tell you what to add to your httpd.conf file to get .php files working (apache restart required). To test, make a file like: " "Just a quick note. /usr/ports/lang/php4 also includes command line interface beside the apache module. if you only need mod_php, you can cd to /usr/ports/www/mod_php4 instead/" Aaron Martinez ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
FreeBSD 6 Apache Port
Hi all, I am quite proficient at installing Apache, mod_ssl, mysql php (as a static module) on FreeBSD < 5.0. I always do this from source as I do not understand how to use the ports system ... as far as linking all the mods together. I have recently installed a new server using FreeBSD 6.0. Does anyone know a good tutorial or guide on how to compile Apache 2.x mod_ssl and php to gether from the ports collection? I know how to cd /usr/ports/port_name_here , make , [make test] , make install, but have never understood how to tie the mods together to procuce a complete setup. Also, what is the prefered method for adding ./configure args to a port? FYI, all I am looking to do is to compile Apache 2.x mod_ssl and php together so as to have a ports build of the apache webserver. Any help will be appreciated. -Grant ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Apache port
On Tue, 23 Nov 2004, Trevor Hart wrote: I installed Apache version 2.0.43 on my FreeBSD 4.7-RELEASE server. The httpd file is set up with Listen 80 and Listen 8000. The problem is that it will not accept connections on port 80, even though it is listening (checked using netstat, and sockstat). It works fine on port 8000. I have never configured a router, so as far as I know, there’s not one running. I am running a mail server, ftp, and a telnet server without problems in addition to the web server. It is not a problem with my ISP, nor my router as it will work if I forward port 80 to another computer. As far as I can tell, it’s being blocked by FreeBSD, but I have no idea where or why, nor how to fix it. Ok a few things to check (sorry if i'm going for the basics but they need ruling out) 1) are you running ipf/ipfw/pf and if so have you allowed port 80 2) does "telnet localhost 80" then a "get /" give you an error message or just connection refused ? 3) not sure if apache uses tcp wrappers but possibly check your /etc/hosts.allow --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.797 / Virus Database: 541 - Release Date: 15/11/2004 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Apache port
I installed Apache version 2.0.43 on my FreeBSD 4.7-RELEASE server. The httpd file is set up with Listen 80 and Listen 8000. The problem is that it will not accept connections on port 80, even though it is listening (checked using netstat, and sockstat). It works fine on port 8000. I have never configured a router, so as far as I know, there’s not one running. I am running a mail server, ftp, and a telnet server without problems in addition to the web server. It is not a problem with my ISP, nor my router as it will work if I forward port 80 to another computer. As far as I can tell, it’s being blocked by FreeBSD, but I have no idea where or why, nor how to fix it. --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.797 / Virus Database: 541 - Release Date: 15/11/2004 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
apache port ignoring datadir variable
All, I'm trying to build apache13-modssl with the data directory set to /var/www. I've tried the obvious "make DATADIR=/var/www install clean" to no avail. Issuing "env DATADIR=/var/www make install clean" doesn't do it either. I went so far as to editing the Makefile itself and I *still* end up with everything in /usr/local/www. Why? On a related note, while looking at the Makefile I noticed line 148 disregards the $DOCUMENT_ROOT variable and instead uses "$PREFIX/www/data"; which as far as I can tell is incorrect. Regards, aaron.glenn ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Compiling Apache (port) apache13-mod_ssl and apache13-mod_perl ... ?
This has to be a FAQ, but I've not found it yet. When compiling the port version of Apache, what trick can be used to get both mod_ssl and mod_perl compiled into the server. Regarding mod_php4 .. the port enables a php4_options file, but I don't see provisions anywhere (except for manually editing the Makefile) for any of the --enable-x configure options. Pointers appreciated. Thanks ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Fw: Apache port version
- Original Message - From: "Kevin D. Kinsey, DaleCo, S.P." <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, October 28, 2002 11:17 AM Subject: Apache port version > Sorry if this is a repeat ??, but shouldn't > /usr/ports/www/apache13/ be building > v 1.3.27 instead of .26? > > Kevin Kinsey > DaleCo, S.P. And, now to be really stupid and answer myself: yes, it should, and it does on your other server, idiot, so go figure out why and THEN ask your question. Kevin Kinsey To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Apache port version
Sorry if this is a repeat ??, but shouldn't /usr/ports/www/apache13/ be building v 1.3.27 instead of .26? Kevin Kinsey DaleCo, S.P. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re: apache port, mod_jk, file locations
On Tue, 2002-07-23 at 11:34, Dev Zero G Ltd wrote: > I am trying to make mod_jk2 for apache2 and tomcat4 (on FBSD 4.4). > > The problem is that when I install the Apache 2 port, it's (as most port > of FreeBSD do) go into several directories: > > /usr/local/etc/rc.d/apache2.sh > /usr/local/etc/apache2 > /usr/local/include/apache2 > /usr/local/lib/apache2 > /usr/local/libexec/apache2 > /usr/local/share/doc/apache2 > /usr/local/share/apache2 > > And this is a problem because when building mod_jk2, I need to specify a > directory for "apache2.home". Since there is no one home, what do you > think this should be? > > I also need to specify: > > apache2.lib=${apache2.home}/lib > is this "/usr/local/lib/apache2" in my case? I once installed the plain vanilla Linux-style Apache tarball on a FBSD box, specifically to achieve a Linux-style directory tree. Worked fine. Eventually whatever problem I was having at the time was solved when some kind soul posted a port. You should consider doing a port yourself. BTW, in the Linux-style Apache tree everything installs under /usr/local/apache. There you will find a bin, a conf, a lib, a data, and more. A world unto itself. -- Gary Dunn Open Slate Project http://www.aloha.com/~knowtree/ Honolulu registered Linux user #273809 >< This tagline is umop apisdn.>< To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
apache port, mod_jk, file locations
I am trying to make mod_jk2 for apache2 and tomcat4 (on FBSD 4.4). The problem is that when I install the Apache 2 port, it's (as most port of FreeBSD do) go into several directories: /usr/local/etc/rc.d/apache2.sh /usr/local/etc/apache2 /usr/local/include/apache2 /usr/local/lib/apache2 /usr/local/libexec/apache2 /usr/local/share/doc/apache2 /usr/local/share/apache2 And this is a problem because when building mod_jk2, I need to specify a directory for "apache2.home". Since there is no one home, what do you think this should be? I also need to specify: apache2.lib=${apache2.home}/lib is this "/usr/local/lib/apache2" in my case? Any advice, help, pointers towards help, etc - would be greatly appreciated!! Mike To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message