From owner-freebsd-questions@FreeBSD.ORG Tue Nov 9 20:55:29 2010 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 BA3361065672 for ; Tue, 9 Nov 2010 20:55:29 +0000 (UTC) (envelope-from odhiambo@gmail.com) Received: from mail-qw0-f54.google.com (mail-qw0-f54.google.com [209.85.216.54]) by mx1.freebsd.org (Postfix) with ESMTP id 6C3B18FC08 for ; Tue, 9 Nov 2010 20:55:29 +0000 (UTC) Received: by qwg8 with SMTP id 8so4890885qwg.13 for ; Tue, 09 Nov 2010 12:55:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:cc:content-type; bh=fYwm7tBIHRF/56qchlG/LiCGxBQl7gLX5TNHiVNz+GA=; b=xu+S8UE/dSBUzcbaf2ln1e1+GmPI/M2Ri0Kk5wRucfgtQHBfOQUf6cCmbGr3q7/dww LfoY1yqsJLwQ+Knbbi1i04qTtArZJzaBiPHmTHF0tM3f8GAiV37BfivKZzIqgrynx72W VzozmbilcBcgN0JCIydpn8pvQxi1T8Mga5eF0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=jlGi4EBU1uGyl8V9G5tswOU7AKjyDh9xTwWxtqiW8BFTPOwZnM/9kLgntUt65qCOEB HqREQk1t2M+mW83t8gBfQ6tkLyUr1ZOwj79DdkV2GH8keLN09eo7R+82dg6Wh5jhp3YT HlCtCSZ8PV4ayrvdFFJ92F1zewTOOYTG7Q7b8= Received: by 10.229.98.71 with SMTP id p7mr1325299qcn.289.1289336128114; Tue, 09 Nov 2010 12:55:28 -0800 (PST) MIME-Version: 1.0 Received: by 10.229.65.41 with HTTP; Tue, 9 Nov 2010 12:54:56 -0800 (PST) In-Reply-To: <4CD9AA1B.1050505@a1poweruser.com> References: <4CD84CFB.1090403@a1poweruser.com> <20101108203227.GA3662@orange.esperance-linux.co.uk> <4CD9AA1B.1050505@a1poweruser.com> From: Odhiambo Washington Date: Tue, 9 Nov 2010 23:54:56 +0300 Message-ID: To: Fbsd8 Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Frank Shute , Freebsd-questions@freebsd.org Subject: Re: apache13 to apache22 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: Tue, 09 Nov 2010 20:55:29 -0000 On Tue, Nov 9, 2010 at 11:07 PM, Fbsd8 wrote: > Frank Shute wrote: > >> On Mon, Nov 08, 2010 at 02:18:19PM -0500, Fbsd8 wrote: >> >>> As I do a complete fresh install of 8.1 I saw that apache13 is no longer >>> being supported, so thought this is the time I will move to apache22. >>> >>> Now everything went real easy until testing my websites. In apache13 the >>> .css (style sheet) calls for a blue background. The .css file is in the same >>> directory as the html files making up the website. In apache13 I got the >>> blue background but in apache22 I get a white background. I checked the >>> apache22 htppd.config file for any info on css but found none. >>> >>> Are .css (style sheet) handled differently in apache22? >>> >> >> AFAIK they're not. >> >> It sounds like the stylesheet isn't being served up (white background >> is default). >> >> Examine the apache error log. By default it's in /var/log. Also look >> in the regular apache log and it could be the stylesheet is getting a >> 404. >> >> Is server root the same in httpd.conf for 2.2 as it is for 1.3? Could >> be the cause of the problem. 2.2 uses a different root by default >> IIRC. >> >> >> Regards, >> >> > This is part of my config file. > > > ServerRoot "/usr/local" > Listen 6680 > DocumentRoot "/usr/local/www/apache22/data" > > AllowOverride None > Order deny,allow > Deny from all > > > > Options FollowSymLinks MultiViews > AllowOverride None > Order allow,deny > Allow from all > > > > Alias /FBSD_manuals/ "/usr/local/share/doc/" > > > Options Indexes FollowSymlinks MultiViews > AllowOverride None > Order allow,deny > Allow from all > > > > Here are messages from the access-log. > "GET /index.php/00.00-web_style_sheet.css HTTP/1.1" 200 6839 > "GET /index.php/powered_by_apache_bsd.gif HTTP/1.1" 200 6839 > "GET /index.php/powered_by_FreeBSD.gif HTTP/1.1" 200 6839 > > > You can see that apache22 is saying the .css and the 2 .gif have been > served up, but the browser has white background instead of blue and the 2 > gif images are missing from the displayed web page. Now this is a working > website that displays correctly on apache13 so i know there is nothing wrong > with the directory content. > > The alias website has the .css file in the same directory and it displays > correctly. > > > What am I overlooking here? If the alias website is working correctly, which one else is not working? Where is its DocumentRoot? -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Damn!!