[AWS] Response physical or virutal path

Pascal Obry p.obry@wanadoo.fr
Fri, 30 May 2003 20:36:37 +0200


Frederic,

 > In the function AWS.Response.File, is it possible to have a (full ?) path
 > instead of the file only ? 

I think so.

 > If yes, is it  possible to have a virtual path
 > (e.g.: <wwwroot>/prot/toto.htm) ?

Well, yes. You just have to catenate AWS.Config.WWW_Root in front of
your filename.

Pascal.

-- 

--|------------------------------------------------------
--| Pascal Obry                           Team-Ada Member
--| 45, rue Gabriel Peri - 78114 Magny Les Hameaux FRANCE
--|------------------------------------------------------
--|         http://perso.wanadoo.fr/pascal.obry
--| "The best way to travel is by means of imagination"
--|
--| gpg --keyserver wwwkeys.pgp.net --recv-key C1082595