Apache - how redirect port

Alles, was den Apache betrifft, kann hier besprochen werden.

Apache - how redirect port

Postby grizmo » 19. September 2005 15:43

How can i redirect adres with port to only adress?
When i have acces to adress https://localhost:443/rootwww/index.php i what auto change this adress on adress widhout port https://localhost/rootwww/index.php.
I thing - this is on the Apache configuration; I don't know where and how can i do it?
Last edited by grizmo on 19. September 2005 16:20, edited 1 time in total.
grizmo
 
Posts: 5
Joined: 19. September 2005 15:22

Postby deepsurfer » 20. September 2005 11:49

normaly, you don´t need to type https://localhost:443/xxxx
the Port 443 is the standart port FOR https

try to type https://localhost/xxxx , that must work and you have your dreams come true ;)
chirio Deep
Wie sagte einst der MCP aus Tron auf dem Bildschirm zu schreiben Pflegte
" ... end of communication ... "
User avatar
deepsurfer
AF Moderator
 
Posts: 6440
Joined: 23. November 2004 10:44
Location: Cologne
Operating System: Win-XP / Win7 / Linux -Debian

You have right

Postby grizmo » 20. September 2005 12:03

i know ..... ok how can i do it .... i'm write adress http://localhost:8443/xxx and i want auto-change adress to http://localhost/xxx. I don't know wher can i change this function in the file configuration Apache.
grizmo
 
Posts: 5
Joined: 19. September 2005 15:22

Postby Wiedmann » 20. September 2005 12:45

i'm write adress http://localhost:8443/xxx

You really mean Port 8443?
Wiedmann
AF Moderator
 
Posts: 17102
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Postby grizmo » 21. September 2005 09:27

Yes this is not wrong.
grizmo
 
Posts: 5
Joined: 19. September 2005 15:22

Postby Wiedmann » 21. September 2005 09:55

Well, then it's not possible what you want to do.

(Only with patching the browser source code and recompiling your browser you can do that)
Wiedmann
AF Moderator
 
Posts: 17102
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Postby grizmo » 21. September 2005 10:04

I don't think so .... i want known how is make auto chanhe address .... when i write https://localhost:443/xxx, browser give me in addressbar https://localhost/xxx Why??
grizmo
 
Posts: 5
Joined: 19. September 2005 15:22

Postby Wiedmann » 21. September 2005 10:26

i want known how is make auto chanhe address

As I told you:
Your browser knows that 443 is the standard port for HTTPS and so he remove the port in the addressbar.

So, this is a behavior of your broswer and you only can change this with patching and recompiling the (browser) source code.
Wiedmann
AF Moderator
 
Posts: 17102
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Postby grizmo » 21. September 2005 10:46

OK so .... i've the same problem with port 80 ... In this time can i change this with patching and recompiling the (browser) source code?? why not in conf file Apache?
grizmo
 
Posts: 5
Joined: 19. September 2005 15:22

Postby Wiedmann » 21. September 2005 10:54

why not in conf file Apache?

This is a behavior of your browser and not of the webserver.
Wiedmann
AF Moderator
 
Posts: 17102
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany


Return to Apache

Who is online

Users browsing this forum: No registered users and 62 guests