Perhaps you want to use mod_rewrite:
http://webware.colorstudy.net/twiki/bin/view/Webware/ModRewriteRecipes

Otherwise you'd have to rewrite your HTML output to fix up the URLs --
there's no real easy way to do that. 

On Mon, 2002-11-25 at 17:23, Ian Sparks wrote:
> Stupid question : How do I use absolute URL's in my webware programs? (or at least 
>URL's relative to the context)
>  
> For instance, my main page can be found on :
>  
> http://localhost/wkcgi.exe/test/main.py
>  
> Ideally I want to be able to output <a href="/test/nextlevel/index.py>.... in my 
>HTML without having to mention the wkcgi.exe part.
>  
> 
-- 
Ian Bicking <[EMAIL PROTECTED]>


-------------------------------------------------------
This SF.net email is sponsored by: Get the new Palm Tungsten T 
handheld. Power & Color in a compact size! 
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en
_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to