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
as 
<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/mod_autoindex.so

What do your logs say?

Good luck
Dmitri


-----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

Hi.

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   gallery.yourdomain.org (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
'/usr/local/apache/gallery/templates'
	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
	</Location>
</VirtualHost> 

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

Thx.

Søren Bjørn-Andersen



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

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