Software development, photography, jokes, ....


Sites by me

 
tas-logoTransportation Administration System
snoezelkussen-logo-kleinstSnoezelkussens voor verstandelijk gehandicapten
ikzoekeenbegeleider-logoBegeleiders voor gehandicapten
Laat uw hond het jaarlijkse vuurwerk overwinnen
Betuweroute en Kunst
logo 50x50Hey Vos! Je eigen naam@vos.net emailadres?
Kunst in huis? Nicole Karrèr maakt echt bijzonder mooie dingen
nettylogo2Kunst in huis? Netty Franssen maakt ook bijzonder mooie dingen
Professionele opvang bij Gastouderbureau
Kind-Zijn
Salarisadministratie en belastingadvies bij
De Zaak Loont
Zutphense Bomenstichting

Hosting Favorites

 
ANU Internet Services
XelMedia .internet Services
register.com

Blogroll

 
Bomenstichting
LassoSoft
MacFreak
Quality that computes
The Economy of Motion
Wheel 2.0
IntrAktv



Website Hosting bij Xel Media


Marc's Place


 

Virtual host order on Mac OS X Server

I am in the process of converting my website forwarding setup to actual host names (A-records). I was quite reluctant to do this at first, because I could not oversee the consequences and googling didn't reassure me either. But on the LDC09, I talked to Chris who kindly explained to me how easy and unproblematic this actually is. Being a sceptic, I did not start by converting all entries at once, but I do convert one entry per day - when it succeeds.

The first one went wrong already because of my logical thinking as a programmer. I pointed the subdomain name to our Mac OS 10.4 server and setup the site there, putting the default (*) at the bottom. Hey, where is a catch-all entry for!? It belongs at the end, just like with a if/else/end - the last 'else' is the catch-all. But from that moment on, every site landed on my newly created domain, so I quickly swapped the two site entries so that the catch-all was the first one again. Now it worked.

So I made a whole plan : setup a subdomain on one afternoon and check if it works the next morning. This way I set some others up on this 10.4 server and they all work.

Then comes the day I needed to setup the same construct on a Mac OS 10.5 Server. So I deleted the website forwarding entry, created the A-record, created the site on the OS X server, leaving the catch-all at the top and waited until the next morning. The domain name worked all right, but landed on /library/webserver/documents/ (the www-root) instead of the path I put into the site. I have been struggling for two days with this 10.5 server. I checked and double checked, changed the site's path, etc.. Nothing worked, it kept landing on the webroot. And today I thought, what if I swap the site entries and put the default (*) at the bottom (as I did at first on the 10.4 server) and ... it worked! I tested the other sites which have no domain name yet (website forwarding) and they all work ok.

So the order for site entries on MacOS 10.4 Server differs from MacOS 10.5 Server. You can see that in the
sites folder inside the Apache folder (/etc/httpd/ on 10.4 and /etc/apache2/ on 10.5). Sites are loaded by including sites/*.conf and the order is determined by the name of the conf-files (10.5 example):

-rw-r--r-- 1 root wheel 1659 Nov 1 17:12 sites/0000_any_80_my.site.com.conf
-rw-r--r-- 1 root wheel 1857 Nov 1 17:12 sites/0001_any_80_default.conf
-rw-r--r-- 1 root wheel 566 Nov 1 17:12 sites/virtual_host_global.conf


So it seems on 10.5 the catch-all sites are loaded last.
View Comments
 

Foto: Zutphen

IMG_0168-2009-10-23-21-54.JPG
View of Zutphen's old side of the city. I took this photo with Pano on my iPhone 3G and enhanced it with Preview.
More panorama's by me : Panoramio.
View Comments
 

Reading comics and self-scanned books on iPhone or iPod Touch

Today I switched my comic book reader on my iPhone from ComicZeal to MyComics to ComicReader Mobi. I found that the last one has the same functionality as the other two + a lot more. No conversion of files, no separate uploader - you can use any FTP-client, simply upload your folders so you have the same arrangement as in the Finder (yes, I use a Mac).

I use Transmit as the FTP client and created a favourite to my iPhone, then dragged the favourite to my books folder so it's accessible from there.
Screenshot2009-10-20at16.20.45-2009-10-20-16-14

The only thing with ComicReader Mobi is that it doesn't handle files with special characters in the file name (yet) : é, è, etc. simply block the ftp transfer. On the forum I read that an update which addresses this issue is on its way.

A comic book reader is nothing more than an image-viewer which views images stored in a ZIP-file. This simple fact means you can read any book with a comic book reader as long you do not OCR your scans into a text document. For example, I am scanning De Saint pocket books. The scanned images are named in sequence : IMG_0000.jpg, IMG_0001.jpg, and so on. The folder name is the name of the story. Thus, when I zip the folder and change the extension in .cbz (ComicBookZip; so a zip file doesn't get opened with the standard zip-utility), I can read the book in any comic book reader, also those on iPhone or iPod Touch! The advantage of not OCR-ing pocket books is that these kind of books have small pages and can therefore be read quite good on an iPhone or iPod Touch in landscape mode, and you also retain the layout, page numbers and possible images in the book.
iphone-2009-10-20-16-14
View Comments
 

ScreencastsOnline

Don McAllister of ScreenCastsOnline made a great show this weekend on the new Services-setup in Snow Leopard. Check it out here. BTW, Don has a lot of good podcasts on Mac software - a must-view for Mac users! Very useful tips for those, like me, who rarely use the Services or Automator!
 
View Comments
 

At the Lasso Developer Conference 2009

LDC09-2009-10-5-22-17

From october 1 thru 4, the Lasso Developer Conference 2009 was held in Amsterdam. For me, this was the first time because a) it was in Amsterdam and b) Lasso 9 would be introduced and c) at last I would meet quite a few fellow Lasso-ers in real life.
There were some round-tables and workshops presented by Lasso-ers themselves, where some interesting topics were discussed and great solutions to returning questions were offered.
LassoSoft picked a real cool location: Spaces at the Herengracht. You can see some photo's of it here.

It was great. Thanks Lassosoft and everyone for this opportunity!

DSCF0114-2009-10-5-22-17.JPG

LDC09 Video's :
YouTube - LassoSoft's channel

Here are some links to LDC09 material :
LassoTech
At_begin URL-handling and REST
Version Control Systems
L-Migrator presentation
itPage presentation
Lfor presentation
Encoding and Character-sets
File permissions
jquery Week calendar

Check out the lively Lasso community at LassoTalk
And Brian's blog-post
View Comments
 

Reflecterende achterruiten

Een week of wat geleden reden we naar Arnhem en de hele weg zat er voor ons een auto waarvan de achterruit de zon recht in ons gezicht reflecteerde, waardoor je, zelfs met zonnebril, bijna geheel werd verblind. Op de foto was het al wat minder, maar toch nog fel genoeg om storend te zijn. Ik heb Postbus 51 gemaild en het is doorgegeven:

"Via Postbus 51 hebben wij uw e-mail van 07 september jl. ontvangen. Hierin vraagt u of het ministerie iets kan doen aan verblindend zonlicht reflecterende achterruiten van personenauto's.
Ik stuur uw bericht ter informatie door aan het Team Verkeersveiligheid van het Directoraat-Generaal Mobiliteit."

IMG_0106-2009-09-21-23-25.JPG
View Comments
 

SetEXIFData 2.4

A new version of SetEXIFData is on-line. You can find it here.
View Comments
 

A new design

Today I found it necessary to redesign my website.. I've been doing it for others all the time, and now it is my turn. And this is it! Of course I didn't design this cool look and feel - that's part RapidWeaver (www.realmacsoftware.com) and Elixer Graphics (www.elixirgraphics.com). Lot's of the nice effects and page-layouts are done with YourHead's (www.yourhead.com) and Loghound's (www.loghound.com) excellent plug-ins.
View Comments
 
See Older Posts...
© 1997- Marc Vos (and others) Contact Me