From owner-freebsd-questions Sat Nov 17 12:37:18 2001 Delivered-To: freebsd-questions@freebsd.org Received: from gridley.ACNS.Carleton.edu (Gridley.ACNS.Carleton.edu [137.22.96.1]) by hub.freebsd.org (Postfix) with ESMTP id ABC8E37B405 for ; Sat, 17 Nov 2001 12:37:10 -0800 (PST) Received: from localhost (lueyb@localhost) by gridley.ACNS.Carleton.edu (8.11.6/8.11.6) with ESMTP id fAHKbA866694 for ; Sat, 17 Nov 2001 14:37:10 -0600 (CST) (envelope-from lueyb@gridley.ACNS.Carleton.edu) Date: Sat, 17 Nov 2001 14:37:10 -0600 (CST) From: Ben Luey To: questions@FreeBSD.ORG Subject: apache13-mod-ssl logging, certif and EAPI In-Reply-To: <20011117140840.M66421-100000@gridley.ACNS.Carleton.edu> Message-ID: <20011117143125.J66421-100000@gridley.ACNS.Carleton.edu> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I installed the binary of apache+mod_ssl-1.3.22+2.8.5_1 because when I try to compile apache I get lots of problems httpd.conf needing modules that aren't installed. I edited my start script to load startssl and now I've got ssl working, but I first got the error: Unrecognized LogFormat directive %x in reference to in httpd.conf CustomLog /var/log/ssl_request_log \ "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b" When I comment this out ssl works, but I'd like to know what is wrong with this (defult) custumlog option. Also, my certificate has expired -- how can I generate a new ssl certificate? And finally, when I start up apache I get : [Sat Nov 17 14:29:15 2001] [warn] Loaded DSO libexec/apache/mod_headers.so uses plain Apache 1.3 API, this module might crash under EAPI! (please recompile it with -DEAPI) for a munch of modules -- is this a worry? How can I fix this? (compiling apahce hasn't worked for me at least from a simple make in /usr/ports/www/apache13-modssl Thanks! Ben > > > mod_php4-4.0.6_5 and php4-4.0.6_1. I've checked all the configuration and > > > the DirectoryIndex and mime types and loading of mod_php4 modules is all > > > in httpd.conf. > > > > > > But when I try to load .php pages, I just get the static page as if it > > > were an html file. Is there a way to check if apache is loading the > > > mod_php4 module or any ideas on tracing where the problem is? > > > > > > Thanks, > > > > > > Ben > > > > > > lueyb@gridley.acns.carleton.edu > > > > > > > If you have in you httpd.conf: > > > > # > > # Allow remote server configuration reports, with the URL of > > # http://servername/server-info (requires that mod_info.c be loaded). > > # Change the ".your_domain.com" to match your domain to enable. > > # > > > > SetHandler server-info > > Order deny,allow > > Deny from all > > Allow from .your_domain.com > > > > > > Then try browsing to 'http://_yourwebserver_/server-info' > > > > Also sometimes useful is: > > > > # > > # Allow server status reports, with the URL of http://servername/server-status > > # Change the ".your_domain.com" to match your domain to enable. > > # > > > > SetHandler server-status > > Order deny,allow > > Deny from all > > Allow from .your_domain.com > > > > > > Then try browsing to 'http://_yourwebserver_/server-status' > > > > -- > > I call it "No-Pants Wonderday," but it turns out the police just call it > > "Thursday." Go figure. > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message