From owner-freebsd-questions@FreeBSD.ORG Wed Feb 27 22:57:53 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1877F1065704 for ; Wed, 27 Feb 2008 22:57:53 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from snoogles.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id D85168FC13 for ; Wed, 27 Feb 2008 22:57:52 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from localhost (localhost [127.0.0.1]) by snoogles.rachie.is-a-geek.net (Postfix) with ESMTP id D23571CDE2; Wed, 27 Feb 2008 13:57:51 -0900 (AKST) From: Mel To: freebsd-questions@freebsd.org Date: Wed, 27 Feb 2008 23:57:48 +0100 User-Agent: KMail/1.9.7 References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200802272357.50639.fbsd.questions@rachie.is-a-geek.net> Cc: Paul Schmehl Subject: Re: Cups not working X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Feb 2008 22:57:53 -0000 On Wednesday 27 February 2008 23:02:31 Paul Schmehl wrote: > When I got to http://localhost:631/ I see the text (source) of the webpage > rather than the page. (Cupsd is running.) I see this in > /var/log/cups/access_log: > localhost - - [27/Feb/2008:15:58:21 -0600] "GET / HTTP/1.1" 304 0 - - > localhost - - [27/Feb/2008:15:58:45 -0600] "GET / HTTP/1.1" 304 0 - - > localhost - - [27/Feb/2008:15:59:08 -0600] "GET / HTTP/1.1" 304 0 - - > > What am I missing? You're missing the first request. 304 means it should be in your browser cache. Either way, if you're seeing the source, it most likely means the webserver sends text/plain as mime-type. curl -s -o /dev/null --dump-header /dev/stdout http://localhost:631/ should shed some light on it. -- Mel Problem with today's modular software: they start with the modules and never get to the software part.