Archive for Monday 16 September, 2002
Today I was going to pretend that I had come up with a way to get Domino running with Apache and to comply to XHTML standards. Here was the proof. Note the Domino header in the source and the .nsf URL!
Then I thought that maybe Friday's practical joke was enough for one week. Sure you all know what happened to the boy who cried wolf one too many times ;o)
Anyway the reason I am spoofing .nsf URLs is to see whether it's feasible to switch CodeStore from Domino to PHP. The main reason not to would be that there are endless links and bookmarks pointing to things like /A55692/store.nsf/unid/EPSD-5DTT4L etc. These would all break and I would have broken one of the golden rules of the internet. However, in Apache's .htaccess file you can add the the following line:
AddType application/x-httpd-php .nsf
So, any files ending in .nsf are treated the same as a .php file. All I have to do then is add a PHP file called store.nsf in a directory called A55692 and I can handle/redirect all these links. Brilliant. A simple example: