If you are using Apache as your webserver then you can use the DocumentRoot and RewriteEngine as follows:
DocumentRoot /www-root RewriteEngine On RewriteRule ^/images(.*) - [L] Or some appropriate variant. If you're not using apache, I'm not able to help, sorry. jd -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mico Siahaan Sent: Sunday, May 13, 2007 8:45 PM To: Discussion of Webware for Python including feedback and proposals. Subject: [Webware-discuss] Static Contents Dear all, I am making a website using Webkit + Cheetah Template. I want the directory structure to be like this: web: | - application (this directory was made using MakeAppWorkDir.py) |- Lib |- MyContext |- templates |- css |- images |- flash In short, I want to separate between Servlet and templates and static contents. But now, my problem is I can't do it. Let say I have template : <img src="/images/someimage.jpg"> Then webware will try to feed someimage.jpg from web/application/MyContext/images/. This is not what I want. Can you give me tips how to accomplish it? thanks and best regards, -- Mico Siahaan --- Mobile: +62-8121025010 Email: [EMAIL PROTECTED] Blog: www.tentangmico.info/blog Visit our shop: http://www.immanuelbookstore.com ------------------------------------------------------------------------ - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Webware-discuss mailing list Webware-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/webware-discuss ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Webware-discuss mailing list Webware-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/webware-discuss