Mail Index


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [ApacheGallery] Apachegallery on Debian



Bingo! U where spot-on. I moved the alias up before the other alias, and
it worked! 

Thanx for all the advice.

/soren

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Thomas L. Kjeldsen
Sent: 3. juli 2004 20:33
To: [email protected]
Subject: Re: [ApacheGallery] Apachegallery on Debian


Hi Søren,

Søren Bjørn-Andersen wrote:
> Only thing that isnt working, is the icons for gallery.
> Icons are placed here:
> :~# ls -all /usr/share/libapache-gallery-perl/icons

[snip]

> My httpd.conf looks like this:
> 
> Alias /icons/gallery /usr/share/libapache-gallery-perl/icons

[snip]
 
> And the error in my apache-log is:
> [error] [client 10.0.0.2] File does not exist: 
> /usr/share/apache/icons/gallery/agfolder.png
> 
> So I figure my Alias variable isnt working correctly in httpd.conf, 
> but why?

I'd bet that in httpd.conf somewhere before the /icons/gallery alias you
can find something like this:

	Alias /icons/ /usr/share/apache/icons/


It seems that Apache use a first-match approach when handling its
Alias'es. So, if you move the /icons/gallery alias before the general
/icons alias I think it will work.

You could also just do what Michael suggests in the INSTALL file:
"Create a directory called gallery in your Apache icons directory and
copy the png files in htdocs to this directory." -- that is, make use of
the existing /icons alias instead of adding a /icons/gallery alias
yourself. Do something like this:

	mkdir /usr/share/apache/icons/gallery
	cp Apache-Gallery-0.8/htdocs/*.png
/usr/share/apache/icons/gallery

This is how I would do it. :-)


cheers,
	Thomas
_______________________________________________
users mailing list
[email protected]
http://ufo.hestdesign.com/cgi-bin/mailman/listinfo/agusers


---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.712 / Virus Database: 468 - Release Date: 27-06-2004
 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.712 / Virus Database: 468 - Release Date: 27-06-2004
 


_______________________________________________
users mailing list
[email protected]
http://ufo.hestdesign.com/cgi-bin/mailman/listinfo/agusers