Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Feb 2008 23:57:48 +0100
From:      Mel <fbsd.questions@rachie.is-a-geek.net>
To:        freebsd-questions@freebsd.org
Cc:        Paul Schmehl <pauls@utdallas.edu>
Subject:   Re: Cups not working
Message-ID:  <200802272357.50639.fbsd.questions@rachie.is-a-geek.net>
In-Reply-To: <E3FC5F1CDC18C32F885B9241@utd65257.utdallas.edu>
References:  <E3FC5F1CDC18C32F885B9241@utd65257.utdallas.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200802272357.50639.fbsd.questions>