Mail Index

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

RE: [ApacheGallery] Apachegallery on Debian

Hey Soren, I think you are missing a couple of things here, if your
config file is exactly what you've got- then you need to set VirtualHost
<VirtualHost IPaddress_apache_is_listening_on>  (of course substitute it
by the actual IP)
DocumentRoot can be wherever, just make sure it's readable by apache
ServerName should be your *hostname*, not domainname, and it has to be
resolvable via DNS.
The rest looks OK.
Oh, and you need to comment the following line out in httpd.conf:
LoadModule autoindex_module /usr/lib/apache/1.3/

What do your logs say?

Good luck

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of [email protected]
Sent: Thursday, June 17, 2004 12:03 PM
To: [email protected]
Subject: [ApacheGallery] Apachegallery on Debian


I have just installed apachegallery on a Debian Sarge/testing box, with
apt-get libapache-gallery-perl.

But I am a bit confused as to what to do next. I suppose I need to run
some sort of setup, but I cant figure out how. 

I tried adding the below to my httpd.conf, but that meant that I couldnt
restart apache afterwards:

<VirtualHost *>
	ServerName (changed this to my domain)
	DocumentRoot /data/pictures/ (changed this to another folder.
Must this be in the web-root directory, or can it be outside of this?)
	ErrorLog     logs/gallery-error_log
	TransferLog  logs/gallery-access_log
	PerlSetVar   GalleryTemplateDir
	PerlSetVar   GalleryInfo 'Picture Taken => DateTimeOriginal,
Flash => Flash' 
	PerlSetVar   GallerySizes '640 1024 1600 2272'
	PerlSetVar   GalleryThumbnailSize '100x75'
	PerlSetVar   GalleryCopyrightImage 'htdocs/c.png'
	<Location />
		SetHandler        perl-script
		PerlHandler       Apache::Gallery

I would very much appreciate a fellow debian user giving me some hints
as to how to proceed...In not to complicated terms :)


Søren Bjørn-Andersen

users mailing list
[email protected]

users mailing list
[email protected]