|
|
|
|
||||||
| alt.apache.configuration Apache web server configuration issues. |
![]() |
|
|
LinkBack | Outils de la discussion |
|
|
#1 |
|
Messages: n/a
Hébergeur: |
Hi all:
Simple question. I have something like http://www.domain.com/webthing/weblook/login.htm and I want to change all that to just http://www.domain.com and people would still see the same thing. New to Apache so can someone me out? -TIA -John |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
On 2007-02-08, Johnny <lilgrasshopper@gmail.com> wrote:
> I have something like http://www.domain.com/webthing/weblook/login.htm > and I > want to change all that to just http://www.domain.com and people would Very bad thing to do: first of all your clients won't be able to do things like bookmarks, in second I found these kind of 'trick' really uggly. Anyway, the only way to do so is to create a index page in the root directory of the web server with a frame that redirect to wathever page you want, the client will see the URL of the external frame. Note that this is quickly defeated if the client just show the internal frame. And no, there is no other way to do it. Otherwise your site won't work at all. Davide -- Double your disk space - delete Windows! -- Albert Dorofeev |
|
|
|
#3 |
|
Messages: n/a
Hébergeur: |
Davide Bianchi wrote:
> On 2007-02-08, Johnny <lilgrasshopper@gmail.com> wrote: >> I have something like http://www.domain.com/webthing/weblook/login.htm >> and I >> want to change all that to just http://www.domain.com and people would > > Very bad thing to do: first of all your clients won't be able to do things > like bookmarks, in second I found these kind of 'trick' really uggly. > Anyway, the only way to do so is to create a index page in the root > directory of the web server with a frame that redirect to wathever > page you want, the client will see the URL of the external frame. Note > that this is quickly defeated if the client just show the internal > frame. And no, there is no other way to do it. Otherwise your site > won't work at all. > > Davide > If all he wants is that the short URL result in the long URL page, why not a RewriteRule or even AliasMatch AliasMatch ^/$ /<path-to-web-root>/webthing/weblook/login.htm I'm confused. It appears that Davide and I am anwering very different questions. Jim |
|
|
|
#4 |
|
Messages: n/a
Hébergeur: |
My boss does not like people having to type all that long www stuff
and having to remember it, he wants to simplify, when they go to www.domain.com then have the server display what it would have displayed if they typed that long one. On Feb 8, 1:36 pm, Jim Hayter <see.reply...@nowhere.invalid> wrote: > Davide Bianchi wrote: > > On 2007-02-08, Johnny <lilgrasshop...@gmail.com> wrote: > >> I have something likehttp://www.domain.com/webthing/weblook/login.htm > >> and I > >> want to change all that to justhttp://www.domain.comand people would > > > Very bad thing to do: first of all your clients won't be able to do things > > like bookmarks, in second I found these kind of 'trick' really uggly. > > Anyway, the only way to do so is to create a index page in the root > > directory of the web server with a frame that redirect to wathever > > page you want, the client will see the URL of the external frame. Note > > that this is quickly defeated if the client just show the internal > > frame. And no, there is no other way to do it. Otherwise your site > > won't work at all. > > > Davide > > If all he wants is that the short URL result in the long URL page, why > not a RewriteRule or even AliasMatch > > AliasMatch ^/$ /<path-to-web-root>/webthing/weblook/login.htm > > I'm confused. It appears that Davide and I am anwering very different > questions. > > Jim- Hide quoted text - > > - Show quoted text - |
|
![]() |
| Outils de la discussion | |
|
|