Apache has a rewrite module, which once enabled, will do as you wish.
The following lines are from my apache.conf file and demonstrate how to
rewrite /servlet/uk.co.townpages.servlet.kiosk.Op8 to servlet/kiosk.
This is server specific though. Hope it helps.
LoadModule rewrite_module modules/ApacheModuleRewrite.dll
RewriteEngine On
RewriteRule ^/servlet/kiosk(.*)
/servlet/uk.co.townpages.servlet.kiosk.Op8$1 [PT]
Alan Boldock wrote:
> Hi there.
>
> how do you manage to rewrite all your URLs in your HTML if
> only a few are dynamic and the rest are in a HTML file?
> do you need to put all the HTML in the java and rewrite all
> of them to get some session tracking working?
>
> or should I just forget about people not
> using cookies and carry on regardles!
>
> Is ther some ckind of parser on the server to rewrite all HTML?
>
> any help appreciated
>
> Alan Boldock
>
> ------------------------------------------------------------
> To subscribe: [EMAIL PROTECTED]
> To unsubscribe: [EMAIL PROTECTED]
> Problems?: [EMAIL PROTECTED]
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Problems?: [EMAIL PROTECTED]