July 17th, 2002

  • brad


I'll try and keep the latest FotoBilder code running here:


Go create an account.

Upload some pictures (use src/fotoup.pl)

Then go to:


Neat, eh? :P

Of course, the most impressive parts are invisible. Sniff your network connection and watch the challenge/response stuff going on.

I'm happy with all the base now, and I got a usable stock HTML template, even if I made it 5 years ago. It's enough to proceed with the rest.

And if you're too lazy for that:


BTW, your ~/.fotoup.conf file should look like:

server: picpix.com
username: brad
password: whateva
  • brad



Please die, thanks. - - [17/Jul/2002:15:21:27 -0700] "GET /tydel/pic/00001dp6/s10000000x10000000000 HTTP/1.1" 200 54943 "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; Q312461)"

I was aware of that problem, but I thought maybe this community would be kind enough not to kill my server.

And, since LJ uses spare cycles on that machine for one database role, you killed LJ too.... thanks.

Anyway, I guess it's time to fix that now. Then I'll put the demo site back up.
  • brad


The "Tydel bug" is fixed and site's back up.

Read about the "scaleauth" stuff in notes/url, lib/fotobilder.pl, lib/Apache/FotoBilder/Pic.pm, etc...

I guess this made me motivated, so it worked out in the end.
  • evan

(no subject)

I tracked down the error 500 on my installation to a permissions problem.
FB wants to make a $FBHOME/var/picroot/... directory hierarchy at runtime, which it (at least on my machine) was trying to make nobody.nogroup.

My relevant apache configuration looks like this:
<VirtualHost *>
        User fb
        Group fb

        ServerName      fb.bunny
        ServerAlias     fb.bunny.e
        ServerAlias     fb.bunny.darktech.org
        PerlSetEnv      FBHOME /home/fb
        PerlRequire     /home/fb/lib/startup.pl

Though I don't know much about Apache... is this not right?
  • brad

New download location

fotobilder snapshots can now be found at:


You only need a snapshot once. At any time you can bring your code up-to-date with:

$ cvsreport.pl -u -c -s
$ bin/upgrading/update-db.pl -r -p
$ su
# apache-perl-ctl stop
# apache-perl-ctl start

Latest snapshot adds support for ETag headers, non-JPEG images (whoops... had image/jpeg hard-coded in one place), and resizing limits.
pooh piglet
  • niro


And I quote from notes/urls :

So let's reserve all the directory names we'll think we need ahead of time. We'll use 'interface' for the protocol handlers and we could put everything else under a directory hierarchy under 'site' directory. So those two usernames are reserved.

Things aren't currently under /site, though I suspect they should be.
  • brad

Debian packaging

Anybody up for packaging FotoBilder for Debian?

I'd rather do this sooner than later. It'll be less painful that way.

I read some of:

.. but I have tons to learn, and I need to read debian-policy/etc to figure out the correct way to handle web apps.

If anybody wants to get this started, we can get it in cvs already, and have .debs built automatically often.