BACKGROUNDI am using
album.pl v6.1. I just started messing around with it yesterday. I pay for a web hosting service. All of the webpages I serve have to be within a folder called
httpdocs. The system path to this dir is:
/home/httpd/vhosts/mydomain.com/httpdocs. So, when one types in their browser
http://www.mydomain.com/ the file
index.html located in
/home/httpd/vhosts/mydomain.com/httpdocs is what gets served.
PROBLEMI guess what all this boils down to is that I am not sure how to specify the
img_dir setting. The description on the configuration magagement page says:
"This section defines the image directory and the
filenames of individual icons and buttons. The path
to the directory containing all icons and buttons.
This should be relative to album.pl's location, as
it is appended to album_web to get the actual URL."
It says that this path should be relative to
album.pl's location. Well,
album.pl is located in
/home/httpd/vhosts/mydomain.com/cgi-bin/. So, this would mean that I should specify
img_dir as
../httpdocs/album/icons_and_buttons. But since
img_dir is appended to
album_web, the program would wind up with
http://www.mydomain.com/album/photographs/../httpdocs/album/icons_and_buttons. What am I missing? Does this have to do with the fact that my
cgi-bin directroy is not located within my
httpdocs directory?
Things (exept for an error on the configuration management page) seem to
work with these settings:
cgi_dir = /home/httpd/vhosts/mydomain.com/cgi-bin/album_dir = /home/httpd/vhosts/mydomain.com/httpdocs/album/photographs/ cgi_web = http://www.mydomain.com/cgi-bin/album_web = http://www.mydomain.com/album/photographs/ img_dir = /album/icons_and_buttons [/list]
All the buttons and icons appear to be working, however, when I go into Configuration Management I see the following message next to the
img_dir assignment (with
img_dir set as above):
"STOP: This directory does not currently exist
or is not readable to the web server. You must
either create it or modify this config item
before your album will work."
As I said, it appears that all buttons and icons appear to be working despite this message. Should I ignore the warning?
Thanks,
gumshoo