Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Apache Gallery - doesn't work
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
naresh
Tux's lil' helper
Tux's lil' helper


Joined: 30 Aug 2005
Posts: 88

PostPosted: Mon Aug 14, 2006 6:35 pm    Post subject: Apache Gallery - doesn't work Reply with quote

Hi there, i'm trying to run apache gallery on apache2. Emerge went good... i changed few things in /etc/apache2/vhosts.d/76_apache2-gallery.conf

Code:
##### Apache::Gallery configuration
#
# This is actually a virtual host definition with mod_perl directives
# It might be a very good idea to disable mod_autoindex in apache[2].conf
#

<VirtualHost *>
  ServerName   localhost
  DocumentRoot /var/www/localhost/htdocs
  ErrorLog     /var/log/gallery-error_log
  TransferLog  /var/log/gallery-access_log
  <IfDefine MODPERL2>
  PerlSetVar   GalleryTemplateDir '/var/www/localhost/Apache-Gallery/templates/default'
  PerlSetVar   GalleryInfo 'Picture Taken => DateTimeOriginal, Flash => Flash'
  PerlSetVar   GallerySizes '640 1024 1600 2272'
  PerlSetVar   GalleryThumbnailSize '100x75'
# If you have a copyright overlay image set the location of it
#  PerlSetVar   GalleryCopyrightImage 'htdocs/c.png'
# If you use Apache2 set the following "PerlOptions" too
  PerlOptions +GlobalRequest
  <Location />
   SetHandler           modperl
   PerlResponseHandler Apache::Gallery
   Options +Indexes
   AllowOverride AuthConfig
   Order deny,allow
   Allow from all
  </Location>
  </IfDefine>
# Allow access to cache
  <Directory /var/tmp/Apache-Gallery>
    Options -ALL
    AllowOverride None
    Order deny,allow
    Allow from all
  </Directory>
## Give Apache an idea of where to find icons and css
  Alias /icons /var/www/localhost/icons
  Alias /gallery.css /var/www/localhost/Apache-Gallery/templates/default/gallery.css
</VirtualHost>


of course i turned off autoindex module loading, also i moved /etc/apache2/vhosts.d/00_default_vhost.conf from vhosts.d dir, restarted my apache and it shows me error 404... in error log i can see

Code:
[Mon Aug 14 20:32:58 2006] [error] [client 127.0.0.1] Attempt to serve directory: /var/www/localhost/htdocs/
[Mon Aug 14 20:33:01 2006] [error] [client 127.0.0.1] Attempt to serve directory: /var/www/localhost/htdocs/img/


any idea why is that?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum