how to hide .html and .aw extentions in AwareIM htaccess

If you have questions or if you want to share your opinion about Aware IM post your message on this forum
Post Reply
swiftinitpvtltd
Posts: 370
Joined: Sat Apr 28, 2018 3:33 am
Location: India
Contact:

how to hide .html and .aw extentions in AwareIM htaccess

Post by swiftinitpvtltd »

has someone used htaccess to hide .html, .php or .aw extentions in aware?
One of our client has a need to hide any extention and just use link like below
https://alexcican.com/post/how-to-remov ... -htaccess/
hpl123
Posts: 2579
Joined: Fri Feb 01, 2013 1:13 pm
Location: Scandinavia

Re: how to hide .html and .aw extentions in AwareIM htaccess

Post by hpl123 »

swiftinitpvtltd wrote:has someone used htaccess to hide .html, .php or .aw extentions in aware?
One of our client has a need to hide any extention and just use link like below
https://alexcican.com/post/how-to-remov ... -htaccess/
htacccess is for apache and not tomcat so won´t work in Aware. There is another solution called urlrewritefilter you can use instead: http://tuckey.org/urlrewrite/

Also search the forum as I have written some post about it in the past (not sure what exactly I wrote about but something about it :) ). Please post a tips post if you do some work in this area.
Henrik (V8 Developer Ed. - Windows)
swiftinitpvtltd
Posts: 370
Joined: Sat Apr 28, 2018 3:33 am
Location: India
Contact:

Re: how to hide .html and .aw extentions in AwareIM htaccess

Post by swiftinitpvtltd »

Thanks Henrik!
This kind of worked partially for me-
http://tuckey.org/urlrewrite/

So if I type /login it takes me to proper page after config. But when user logs in he again is taken to .aw page with internal awareim redirect. Any clues on how to permanently hide .aw or .html?
hpl123
Posts: 2579
Joined: Fri Feb 01, 2013 1:13 pm
Location: Scandinavia

Re: how to hide .html and .aw extentions in AwareIM htaccess

Post by hpl123 »

swiftinitpvtltd wrote:Thanks Henrik!
This kind of worked partially for me-
http://tuckey.org/urlrewrite/

So if I type /login it takes me to proper page after config. But when user logs in he again is taken to .aw page with internal awareim redirect. Any clues on how to permanently hide .aw or .html?
No not really. I did manage to do a lot of stuff with the urlrewrite plugin when I tested it but can´t remember if I got full control over the url (even after internal AIM redirects). This should be possible though either via some Tomcat hack or the urlrewrite plugin. Please share if you figure it out :)
Henrik (V8 Developer Ed. - Windows)
Post Reply