CSS not reading properly

Sam Munzani sam at munzani.com
Tue Jan 30 14:58:09 UTC 2007


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"
>> <Directory "/usr/local/www/apache22/cgi-bin">
>>     AllowOverride None
>>     Options None
>>     Order allow,deny
>>     Allow from all
>> </Directory>
>>
>> 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
> <IfModule mod_alias.c>, 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
>
>
>   



More information about the freebsd-cvsweb mailing list