[BlueOnyx:18939] Re: Can't figure out site redirect problem
Carl Byington
carl at five-ten-sg.com
Sat Jan 9 12:45:18 -05 2016
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
On Tue, 2016-01-05 at 08:42 -0700, Rod Morgan wrote:
> Now when I browse to the site, it immediately redirects to the first
> vhost listed in httpd.conf. There are no log messages in either
> error_log or access_log.
Are you hitting http://www.example.com or http://example.com from the
browser? Seems similar to a problem we have on a pair of 5208R machines.
The sites are created as www.example.com, with an alias in the gui
service/web for example.com. At some point, some of the aliases stopped
working.
Browsing to http://www.example.com works, but browsing to
http://example.com uses the first vhost. The serveralias line was
missing from the .conf file in the /etc/httpd tree.
We used the gui to remove the server alias, hit 'save', re-added the
alias, hit 'save' again. That restored the serveralias line in the .conf
file, and of course at that point browsing to http://example.com works
again.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (GNU/Linux)
iEYEAREKAAYFAlaRRyMACgkQL6j7milTFsEtcQCfWRGtVxD+diHI9hJKwZ+4DCvb
29QAn2eea5fh/ftUrZPoVtiNt+RiePbh
=i+ch
-----END PGP SIGNATURE-----
More information about the Blueonyx
mailing list