Re: [users@httpd] unexpected redirect

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

 



I upgrade my webserver to 2.0.58 and the preblem is still here; where I open following URL

	https://my.page.com/my_dir

the server redirect the page to

	http://my.page.com:443/my_dir/

with the following error message:

##########
Bad request!

    Your browser (or proxy) sent a request that
    this server could not understand.

If you think this is a server error, please contact
the webmaster.

Error 400

  my.page.com
  Apache/2.0.58 (Unix)
##########

Please help!!
Regards,
Michele


On 08.06.2006, at 11:49, Michele Marcionelli wrote:

Hello List,

I have 2 apache 2.0.54 webserver (on different machines). Both are serving different virtual hosts on port 80 (http) and 443 (https).

The 1st server:
for every "https" virtual host there is a different ip-addess
=> the server works fine (my problem is not here ;-)

The 2nd server:
I configured name-based virtual hosts with:
    NameVirtualHost *:80
    NameVirtualHost *:443
(this is the only - important - difference between them)

The problem (only on the 2nd server!!):
If I open a directory without the trailing slash (ex. http:// my.page.com/my_dir) the webserver redirect the "request" and add the slash (=> http://my.page.com/my_dir/)... as expected. On the other hand, if I try to do the same with https instead of http, the webserver will redirect my page as follow:

    https://my.page.com/my_dir => http://my.page.com:443/my_dir/

Can someone help me?

Regards,
Michele


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux