Author Topic: static html  (Read 932 times)

0 Members and 1 Guest are viewing this topic.

Offline drs

  • album.pl User
  • *
  • Posts: 1
  • Karma: +0/-0
  • I forgot to change the default text.
static html
« on: March 09, 2003, 08:01:32 »
I have been trying to create static album.pl pages as I have to migrate my site to a webserver which does not have perl for a while.

I am using windows XP PRO, apache 1.3 and perl 5.0.
When I view my album normally (with static flag=0) all the images are displayed correctly, however when I change the static flag all the thumbnails on the main page are replaced by red "X"'s and when I click on a link to view a sub-album I am greeted by a 404 error.

When I right click and check the property of the thumb nails which will not display it says that it is now looking for the images in the /cgi_bin/ directory instead of the /photo_album directory which the images are stored in.
Forgive me if I am being an idiot, I have upgraded my version to 6.1 as well.

DRS

Offline Mike Bobbitt

  • album.pl Author
  • Administrator
  • I Spend Too Much Time Here
  • *****
  • Posts: 3381
  • Karma: +35/-2
    • Mike's Development Archive
Re:static html
« Reply #1 on: March 09, 2003, 08:48:24 »
Hi DRS,

Actually, nothing will display right "live" when static is on.

The way I build a static album is at a command line, running: "perl album.pl static" which generates the HTML for all albums at once.

Then you can just copy your "album" folder over to the new server.

There may be some things that take "fine tuning" there, as I've neglected the static feature for some time. :( Just use it once in a while now to burn off CDs for people...