I'm using a self compiled copy of Apache 1.3.27 with ApacheSSL 1.48,
SunONE ASP 3.6.1 (ChiliASP), and the Frontpage extensions v5. I had a
difficult time getting these modules all working together, especially
the Frontpage extensions.
I have several virtual hosts and am noticing no problems when
accessing a host via hostname, but with used with a directory or
filename a redirect seems to occur. For example, accessing
http://www.company.com and clicking links in the site causes no
redirects. Accessing
http://www.company.com/directory redirects to
http://192.168.1.5/directory. This isn't a problem inhouse, but when
accessed externally this private IP becomes a problem. DNS resolves
to the proper public IP externally, so using
www.company.com/directory
would be fine without the redirect.
My virtual hosts are setup as follows:
<VirtualHost 192.168.1.5:80>
Port 80
SSLDisable
ServerName 192.168.1.5
DocumentRoot /www/site5
ErrorLog logs/site5-errors
TransferLog logs/site5-access
</VirtualHost>
I have listen directives for each of my virtual hosts, each using the
hostname and port (i.e. Listen
www.company.com:80).
I think Apache is redirecting because I'm including the IP in the
VirtualHost (or possibly ServerName) directives. If I attempt to use
a hostname in these directives I receieve a segmentation fault when
the server starts. When building the server I noticed this didn't
happen if I didn't use Frontpage extensions.
Does anyone know why Apache is redirecting? Can I disable the
redirects?
Thanks,
Bob