[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: hide url in apache2



In <[🔎] AANLkTi=G6Y0BuNqJaY=TdB79iqF45XeyeeqQm0imLfUt@mail.gmail.com>, Jesus 
arteche wrote:
>Hi guys,
>
>I have a web application running in apache2, www.example.com. When I put
>this on the navigator it goes to www.example.com/users/login. I want the
>client just see www.example.com in the url of the navigator. And the same
>for the others webs in the application. There is some way to do this in
>Apache2????

You can use (internal) rewrite rules to make one URL effectively be treated 
as another.  For example, this is used to make 
http://wiki.freegeekarkansas.org/fgar be treated as 
http://wiki.freegeekarkansas.org/mediawiki/index.php

However if you rewrite a request for http://www.example.com/ into 
http://www.example.com/users/login you can't at the same time also rewrite 
http://www.example.com/ to http://www.example.com/some/other/object.
-- 
Boyd Stephen Smith Jr.                   ,= ,-_-. =.
bss@iguanasuicide.net                   ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy         `-'(. .)`-'
http://iguanasuicide.net/                    \_/

Attachment: signature.asc
Description: This is a digitally signed message part.


Reply to: