> Then, you should configure Apache to serve the static content instead of
> Webware. In the first case, you would need mod_rewrite, the second case
> is straightforward, but you will need a redirect if the front page shall
> be dynamic already.
> 
We serve all our static content directly via Apache as it just reduces the
number of requests into Webware and Apache is just really good at it :-)

We avoid using mod_rewrite by using absolute URLs for the static content:
/images/whatever, /css/whatever, etc ­ as long as Apache can find the files
everything is fine. It also helps that we are only running one web
application so we can do whatever we need to the Apache server :)

Adam K
-- 
Adam Kerrison

This email and any attachment may contain confidential, privileged information 
for the sole use of the intended recipient. If you are not the intended 
recipient, do not disclose, reproduce, disseminate or otherwise use this 
communication. If you received this communication in error, please immediately 
notify the sender via email and delete the communication from your system. 
Company information : Tideway Systems Ltd, Registered Office: Anchor House, 
15-19 Britten Street, London, SW3 3TY. Registered in England & Wales Reg. Reg. 
No: 4598072  VAT No: 805 5153 50 
-------------------------------------------------------------------------
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

Reply via email to