virtual host shuffle

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

 



I have 3 web mod_python apps running on different ports.  It behaves as if it is
mixing up ports.  When I hit http://a.server.name/secure/ it redirects correctly
and https://a.server.name/secure/ looks and works fine.  Then I try
http://a.server.name:8000/ and again fine.  Then I try
https://a.server.name/secure/ again and it appears to be hitting the application
running on port 8000.  Refreshing the page sometimes resolves correctly,
sometimes not. 

Finally, I would expect that using http://the_pysical_servername/ would not
work, or would consistently go to the default virtual server but it responds as
if I used a.server.name.

I am hugely confused.  Any help is greatly appreciated. 

Peace, David S.

p.s.  I have a configuration that looks like the following:

NameVirtualHost 192.168.0.210:80
<VirtualHost 192.168.0.210:80>
  ServerName a.server.name
  Redirect permanent /admin/ https://a.server.name/secure/
  ...
</VirtualHost>

NameVirtualHost 192.168.0.210:443
<VirtualHost 192.168.0.210:443>
  ServerName a.server.name
  SSLEngine on
  ...
</VirtualHost>

NameVirtualHost 192.168.0.210:8000
<VirtualHost 192.168.0.210:8000>
  ServerName a.server.name
  ...
</VirtualHost>




---------------------------------------------------------------------
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