You are partly correct, the servername directive is important, however i
have that specified already. Here is the fix to redirecting to the
[real] port:

add this line to your virtual host:
Port 80

and this to your ssl virtual:
Port 443

mine are right above the ServerName.


<conjecture>
apache does not really listen on these ports, since it is not bound with
the listen directive , although it will respect the "default port" when
rewiting url's.
</conjecture>

Cheers,

Chris


"Gary Reid (cars-sold)" wrote:

> try the apache docs - this one should answer your question:
>
> http://httpd.apache.org/docs/misc/FAQ.html#set-servername
>
> Gary
>
> ----- Original Message -----
> From: "Chris Fulton" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Wednesday, May 30, 2001 10:44 AM
> Subject: [OT?] i get bumped to 8080 and 8443 - help
>
> > Hopefully some can help with this:
> >
> > http://servername.com/graphics/
> > https://severname.com/graphics/
> >
> > works fine, but
> >
> > http://servername.com/graphics
> > https://severname.com/graphics
> >
> > redirects me to
> >
> > http://servername.com:8080/graphics/
> > https://severname.com:8443/graphics/
> >
> > any idea what's wrong with apache?
> >
> > TIA,
> > Chris
> >

Reply via email to