<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Problem Redirecting in Apache in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/problem-redirecting-in-apache/m-p/3376063#M70715</link>
    <description>Please look at the error_log file and post up an error.&lt;BR /&gt;&lt;BR /&gt;The daemon is failing on a confguration error, more than likely.&lt;BR /&gt;&lt;BR /&gt;httpd -t will test the syntax of httpd.conf&lt;BR /&gt;&lt;BR /&gt;SEP</description>
    <pubDate>Thu, 09 Sep 2004 15:05:25 GMT</pubDate>
    <dc:creator>Steven E. Protter</dc:creator>
    <dc:date>2004-09-09T15:05:25Z</dc:date>
    <item>
      <title>Problem Redirecting in Apache</title>
      <link>https://community.hpe.com/t5/operating-system-linux/problem-redirecting-in-apache/m-p/3376062#M70714</link>
      <description>Hi there --&lt;BR /&gt;&lt;BR /&gt;I am trying to automatically redirect connections from port 80 to port 443. I set up a virtual host section to accomplish this task. Here is the syntax&lt;BR /&gt;that I entered into the httpd.conf file:&lt;BR /&gt;&lt;BR /&gt;&lt;VIRTUALHOST 192.168.112.62=""&gt;&lt;BR /&gt;ServerName 192.168.112.62&lt;BR /&gt;ServerAdmin someone@someplace.com&lt;BR /&gt;DocumentRoot /usr/local/apache/htdocs&lt;BR /&gt;Redirect / &lt;A href="https://192.168.112.62/" target="_blank"&gt;https://192.168.112.62/&lt;/A&gt;&lt;BR /&gt;&lt;/VIRTUALHOST&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;VIRTUALHOST 192.168.112.62=""&gt;&lt;BR /&gt;ServerName 192.168.112.62&lt;BR /&gt;ServerAdmin someone@someplace.com&lt;BR /&gt;DocumentRoot /usr/local/apache/htdocs&lt;BR /&gt;&lt;BR /&gt;SSLEngine On&lt;BR /&gt;SSLCertificateFile /usr/local/apache/conf/ssl.crt/ca-bundle.crt&lt;BR /&gt;SSLCertificateKeyFile /usr/local/apache/conf/ssl.key/server.key&lt;BR /&gt;SSLCertificateChainFile /usr/local/apache/conf/ssl.key/server.key&lt;BR /&gt;SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown&lt;BR /&gt;&lt;/VIRTUALHOST&gt;&lt;BR /&gt;&lt;BR /&gt;When I start Apache with SSL, apachectl startssl, I get the following error message:&lt;BR /&gt;&lt;BR /&gt;Thu Sep 9 15:44:57 2004] [warn] VirtualHost 192.168.112.62:80 overlaps with VirtualHost 192.168.112.62:80, the first has precedence, perhaps you need a NameVirtualHost directive&lt;BR /&gt;Apache/1.3.31 mod_ssl/2.8.19 (Pass Phrase Dialog)&lt;BR /&gt;Some of your private key files are encrypted for security reasons.&lt;BR /&gt;In order to read them you have to provide us with the pass phrases.&lt;BR /&gt;&lt;BR /&gt;Server linux.mgh.harvard.edu:443 (RSA)&lt;BR /&gt;Enter pass phrase:&lt;BR /&gt;&lt;BR /&gt;Ok: Pass Phrase Dialog successful.&lt;BR /&gt;/usr/local/apache/bin/apachectl startssl: httpd started&lt;BR /&gt;linux:/usr/local/apache/conf # ps -ef |grep httpd&lt;BR /&gt;root 10767 9807 0 15:45 pts/54 00:00:00 grep httpd&lt;BR /&gt;&lt;BR /&gt;As you can see, I enter the appropriate passphrase and although it appears the httpd daemon has started, the grep command shows it has not.&lt;BR /&gt;If I comment out the VirtualHost excerpt shown above, Apache starts successfully.&lt;BR /&gt;&lt;BR /&gt;What do I need to correct?</description>
      <pubDate>Thu, 09 Sep 2004 14:53:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/problem-redirecting-in-apache/m-p/3376062#M70714</guid>
      <dc:creator>Andrew Kaplan</dc:creator>
      <dc:date>2004-09-09T14:53:58Z</dc:date>
    </item>
    <item>
      <title>Re: Problem Redirecting in Apache</title>
      <link>https://community.hpe.com/t5/operating-system-linux/problem-redirecting-in-apache/m-p/3376063#M70715</link>
      <description>Please look at the error_log file and post up an error.&lt;BR /&gt;&lt;BR /&gt;The daemon is failing on a confguration error, more than likely.&lt;BR /&gt;&lt;BR /&gt;httpd -t will test the syntax of httpd.conf&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Thu, 09 Sep 2004 15:05:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/problem-redirecting-in-apache/m-p/3376063#M70715</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2004-09-09T15:05:25Z</dc:date>
    </item>
    <item>
      <title>Re: Problem Redirecting in Apache</title>
      <link>https://community.hpe.com/t5/operating-system-linux/problem-redirecting-in-apache/m-p/3376064#M70716</link>
      <description>I found the problem: The second &lt;VIRTUALHOST&gt; heading should have read: &lt;BR /&gt;&lt;VIRTUALHOST 443=""&gt;&lt;/VIRTUALHOST&gt;&lt;/VIRTUALHOST&gt;</description>
      <pubDate>Thu, 09 Sep 2004 15:16:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/problem-redirecting-in-apache/m-p/3376064#M70716</guid>
      <dc:creator>Andrew Kaplan</dc:creator>
      <dc:date>2004-09-09T15:16:49Z</dc:date>
    </item>
  </channel>
</rss>

