From owner-freebsd-cvsweb@FreeBSD.ORG Tue Jan 30 14:58:09 2007 Return-Path: X-Original-To: freebsd-cvsweb@freebsd.org Delivered-To: freebsd-cvsweb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id CD4FE16A402 for ; Tue, 30 Jan 2007 14:58:09 +0000 (UTC) (envelope-from sam@munzani.com) Received: from alnrmhc11.comcast.net (alnrmhc11.comcast.net [204.127.225.91]) by mx1.freebsd.org (Postfix) with ESMTP id A438B13C467 for ; Tue, 30 Jan 2007 14:58:09 +0000 (UTC) (envelope-from sam@munzani.com) Received: from [172.24.100.233] (c-67-184-36-140.hsd1.il.comcast.net[67.184.36.140]) by comcast.net (alnrmhc11) with ESMTP id <20070130145808b1100100kue>; Tue, 30 Jan 2007 14:58:09 +0000 Message-ID: <45BF5CFC.6030500@munzani.com> Date: Tue, 30 Jan 2007 08:58:04 -0600 From: Sam Munzani User-Agent: Thunderbird 1.5.0.9 (Windows/20061207) MIME-Version: 1.0 To: Daniel Leidert References: <45BE3FC5.2090009@comcast.net> <1170099874.27134.3.camel@localhost> <45BE57FA.6030802@munzani.com> <1170160882.6983.17.camel@localhost> In-Reply-To: <1170160882.6983.17.camel@localhost> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-cvsweb@freebsd.org Subject: Re: CSS not reading properly X-BeenThere: freebsd-cvsweb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: sam@munzani.com List-Id: CVS Web maintenance mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Jan 2007 14:58:09 -0000 I figured out my problem. System install had created /usr/local/www/data, /usr/local/www/cgi-bin and /usr/local/www/icons empty directories at fresh install. The apache22 loads in its own directory(/usr/local/www/apache22/cgi-bin el al) now a days. When I loaded cvsweb3, it found empty directories and since that directory structure was its 1st priority, it installed the scripts, icons etc in those empty directory. ##### A section of Makefile from cvsweb3 ports directory. ########## # Specify these directories in relative paths to ${PREFIX}. .if exists(${PREFIX}/www/cgi-bin) CGIDIR?= www/cgi-bin ICONSDIR?= www/icons CSSDIR?= www/data/css .elif exists(${PREFIX}/www/apache22/cgi-bin) CGIDIR?= www/apache22/cgi-bin ICONSDIR?= www/apache22/icons CSSDIR?= www/apache22/data/css .elif exists(${PREFIX}/apache/cgi-bin) CGIDIR?= apache/cgi-bin ICONSDIR?= apache/icons CSSDIR?= apache/data/css .else CGIDIR?= share/apache/cgi-bin ICONSDIR?= share/apache/icons CSSDIR?= share/apache/data/css .endif ######################################################## I removed both packages, installed apache13 port which installed it self in /usr/local/www. Everything worked great. I could have just removed cvsweb3 only and reinstall after removing those empty directory. However it was better to install apache in /usr/local/www because not doing so breaks many other installs like Nagios etc. I just didn't feel like configuring proper paths on each software I install so just changed the apache root :-) Thanks to all who helped, Regards, Sam > Am Montag, den 29.01.2007, 14:24 -0600 schrieb Sam Munzani: > >> Daniel, >> >> There is nothing in httpd.conf file. All I did was I copied cvsweb.cgi >> file to cgi-bin directory of Apache. >> >> Below are some paths I have installed under. >> Apache Configuration file: /usr/local//etc/apache22/httpd.conf >> >> Some configurations from httpd.conf. >> ServerRoot "/usr/local" >> AccessFileName .htaccess >> DocumentRoot "/usr/local/www/apache22/data" >> >> AllowOverride None >> Options None >> Order allow,deny >> Allow from all >> >> >> Cvsweb configuration file path: >> /usr/local/etc/cvsweb/cvsweb.conf >> > > Is this mentioned in cvsweb.cgi ("##### Start of Configuration Area > ########" ...)? > > >> Some contents from cvsweb.conf >> my $iconsdir = '/icons/cvsweb' >> $cssurl = '/css/cvsweb/cvsweb.css'; >> > > So you installed the cvsweb-stuff into > > /usr/local/www/apache22/data/icons/cvsweb > /usr/local/www/apache22/data/css/cvsweb/cvsweb.css > > ? What does your Log/Server say, when you try to load > > /css/cvsweb/cvsweb.css? > > Do you have an > > Alias /icons/ /foo/ > > somewhere in your httpd.conf (IIRC there is one by default under > , but I'm not sure)? > > >> My question is what are these paths in reference off? Are they >> relative to the cvsweb directory or the apache document root? >> > > Relative to the document root. > > Regards, Daniel > > >