From: James E J. Jr. <mu...@er...> - 2002-03-18 00:20:11
|
> I'm trying to get psp working. Instead of making a alias: /psp > /usr/lib/cgi-bin/psp/piledriver.cgi > wouldn't it be possible to have it use an: AddType psp-script .psp > and then use: AddHandler psp-script /usr/lib/cgi-bin/psp/piledriver.cgi > ...Or something simular? > > There has to be a way to do that so I can use extentions instead of handling > each file manualy! PSP only supports a pre-compilation phase, where .psp files are compiled into a "pile". Unfortunately, the piledriver currently cannot compile .psp files on the fly. However, you can do the same trick with the pre-compiled piles. One reasonable way to use AddType and AddHandler is via the following: AddType pile .pile AddHandler pile /usr/lib/cgi-bin/psp/piledriver.cgi Alias /piles/ /usr/share/piles/ .. in order to access http://localhost/piles/tutorial.pile/intro I believe something along these lines should work. james |