Re: Upgrade 1.3.12 -> 2.2.16: Reverse Proxy issues [WAS: Jserv issue ???]

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

 




On 9/11/2010 8:00 AM, Eric Covener wrote:
>> NameVirtualHost *:443
>> <VirtualHost *:443>
>>     ServerName test-webreporter.return.returninc.com
>>     DocumentRoot "C:/Program Files/Apache Software
>> Foundation/Apache2.2/htdocs"
>> ###    DocumentRoot "C:\oracle\ora81\Apache\Apache\htdocs"
>>
>>     SSLEngine on
>> ###    SSLProxyEngine on
>>     SSLCertificateFile
>> C:\Oracle\ora81\Apache\Apache\htdocs\webapp\ssl\returninc.crt
>>     SSLCertificateKeyFile
>> C:\Oracle\ora81\Apache\Apache\htdocs\webapp\ssl\returninc.key
>>
>>     ProxyRequests off
>>     ProxyPass / http://localhost:81/
>>     ProxyPassReverse / http://localhost:81/
>> </VirtualHost>
>
> Your request is probably not hitting this virtual host, but one with
> *:443 and no ProxyPass directives.
>
> See apachectl/apache2ctl/httpd -S and/or add unique access logs to
> port 443 virtual hosts to confirm.

# NEW web server listening on *:80 and *:443:

# Top httpd.conf declaration:
DocumentRoot "C:/Program Files/Apache Software Foundation/Apache2.2/htdocs"
# <VirtualHost *:80>:
DocumentRoot "C:/Program Files/Apache Software Foundation/Apache2.2/htdocs"
# <VirtualHost *:443>:
DocumentRoot "C:\oracle\ora81\Apache\Apache\htdocs"

index.html:
<html>
<body>
<h1>Apache v2.2.16</h1>
<h2>NOT Oracle Apache!</h2>
</body>
</html>

# OLD web server, Listen 81, Port 81, NO VirtualHost:

DocumentRoot "C:\oracle\ora81\Apache\Apache\htdocs"

index.html:
<html>
<body>
<h1>Apache v1.3.12</h1>
<h2>This IS Oracle Apache!</h2>
</body>
</html>


Browsing to http://internal-domain.com I see this:
Apache v1.3.12
This IS Oracle Apache!

Browsing to https://internal-domain.com I see this:
Apache v2.2.16
NOT Oracle Apache!

So, tcp 80 redirects as expected.

tcp 443 IS handled by the v2 Apache web server, but does NOT redirect. We just installed v2.2.16, and DocumentRoot "C:/Program Files/Apache Software Foundation/Apache2.2/htdocs" did NOT exist until yesterday - what else could redirect there?

For <VirtualHost *:443>, I have tried both:
DocumentRoot "C:/Program Files/Apache Software Foundation/Apache2.2/htdocs"
DocumentRoot "C:\oracle\ora81\Apache\Apache\htdocs"

Tt does NOT make a difference, the only thing displayed is:
C:/Program Files/Apache Software Foundation/Apache2.2/htdocs/index.html

What's with that?

Also, NOTHING in error.log on either server; access.log does show when accessed; and ssl_request.log on v2.2.16 DOES show AES128-SHA, RC4-MD5 and DHE-RSA-AES256-SHA GETs.

I am unclear on the suggestions re: apachectl.

How can I better troubleshoot this?

Thank you.


If ever I can be of service to you; contact me at once.

I wish for you a truly extraordinary day ...

--
Best Regards,

Mike Schleif
612-235-6060
http://mdsresource.net
http://www.linkedin.com/in/schleif
http://facebook.com/MDSResource
http://twitter.com/mikeschleif


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