<?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 http ---&amp;gt;https in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/http-gt-https/m-p/3121013#M8003</link>
    <description>I would like to configure apache (1.3.27-3 to let users when they use a browser (ssl enabled) to redirect i.e. http://myserver/homepage automatically to https://myserver/homepage&lt;BR /&gt;&lt;BR /&gt;Thanks in advance</description>
    <pubDate>Mon, 17 Nov 2003 10:54:29 GMT</pubDate>
    <dc:creator>leonardo bianchi quota</dc:creator>
    <dc:date>2003-11-17T10:54:29Z</dc:date>
    <item>
      <title>http ---&gt;https</title>
      <link>https://community.hpe.com/t5/operating-system-linux/http-gt-https/m-p/3121013#M8003</link>
      <description>I would like to configure apache (1.3.27-3 to let users when they use a browser (ssl enabled) to redirect i.e. http://myserver/homepage automatically to https://myserver/homepage&lt;BR /&gt;&lt;BR /&gt;Thanks in advance</description>
      <pubDate>Mon, 17 Nov 2003 10:54:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/http-gt-https/m-p/3121013#M8003</guid>
      <dc:creator>leonardo bianchi quota</dc:creator>
      <dc:date>2003-11-17T10:54:29Z</dc:date>
    </item>
    <item>
      <title>Re: http ---&gt;https</title>
      <link>https://community.hpe.com/t5/operating-system-linux/http-gt-https/m-p/3121014#M8004</link>
      <description>This shouldn't be too much of a problem I don't think.  Have you setup apache to use ssl yet?&lt;BR /&gt;&lt;BR /&gt;Dave</description>
      <pubDate>Mon, 17 Nov 2003 11:32:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/http-gt-https/m-p/3121014#M8004</guid>
      <dc:creator>Dave Falloon</dc:creator>
      <dc:date>2003-11-17T11:32:11Z</dc:date>
    </item>
    <item>
      <title>Re: http ---&gt;https</title>
      <link>https://community.hpe.com/t5/operating-system-linux/http-gt-https/m-p/3121015#M8005</link>
      <description>yes, it is already working</description>
      <pubDate>Mon, 17 Nov 2003 11:55:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/http-gt-https/m-p/3121015#M8005</guid>
      <dc:creator>leonardo bianchi quota</dc:creator>
      <dc:date>2003-11-17T11:55:21Z</dc:date>
    </item>
    <item>
      <title>Re: http ---&gt;https</title>
      <link>https://community.hpe.com/t5/operating-system-linux/http-gt-https/m-p/3121016#M8006</link>
      <description>So you want apache to determine the type of browser and then from that decide which version of the page to show, either http or https?&lt;BR /&gt;&lt;BR /&gt;That may be difficult to do within apache.  Are you using php or cgi?  If so you could do this in your main script.&lt;BR /&gt;&lt;BR /&gt;Here is a link to a tutorial on how one guy used browser detection to change which css he used:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.devarticles.com/art/1/425" target="_blank"&gt;http://www.devarticles.com/art/1/425&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;If you definately want this in your apache server, you can try something like using the BrowserMatchNoCase directive in the setenvif.c module.&lt;BR /&gt;&lt;BR /&gt;You may be able to use that to set up ssl something like this ( keep in mind I have not tested this I am just giving you an example from the top of my head ):&lt;BR /&gt;&lt;BR /&gt;&lt;IFMODULE setenvif.c=""&gt;&lt;BR /&gt;BrowserMatchNoCase ^Mozilla HTTPS&lt;BR /&gt;&lt;/IFMODULE&gt;&lt;BR /&gt;&lt;BR /&gt;Or maybe you could replace HTTPS with SERVER_PORT=443&lt;BR /&gt;&lt;BR /&gt;These are just some ideas, and I'm not all that confident that the best way to do this is within apache.  I would recommend that all this take place inside a php or cgi script rather than your httpd.conf&lt;BR /&gt;&lt;BR /&gt;I hope that helps,&lt;BR /&gt;&lt;BR /&gt;Dave&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 17 Nov 2003 12:32:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/http-gt-https/m-p/3121016#M8006</guid>
      <dc:creator>Dave Falloon</dc:creator>
      <dc:date>2003-11-17T12:32:56Z</dc:date>
    </item>
    <item>
      <title>Re: http ---&gt;https</title>
      <link>https://community.hpe.com/t5/operating-system-linux/http-gt-https/m-p/3121017#M8007</link>
      <description>Ok, it's an idea I didn't thought. however I was thinking about permiting only https web enabled to go to my webpage. I ound a workaround to do that: &lt;BR /&gt;&lt;BR /&gt;A first webpage with this script inside&lt;BR /&gt;&lt;BR /&gt;&amp;lt;script LANGUAGE="JavaScript"&amp;gt;&lt;BR /&gt; &lt;!--&lt;BR /&gt; top.location.href="https://dominio";&lt;BR /&gt; // --&gt;&lt;BR /&gt;&amp;lt;/script&amp;gt;&lt;BR /&gt;&lt;BR /&gt;...I thought it was possible within apache.</description>
      <pubDate>Mon, 17 Nov 2003 12:42:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/http-gt-https/m-p/3121017#M8007</guid>
      <dc:creator>leonardo bianchi quota</dc:creator>
      <dc:date>2003-11-17T12:42:56Z</dc:date>
    </item>
    <item>
      <title>Re: http ---&gt;https</title>
      <link>https://community.hpe.com/t5/operating-system-linux/http-gt-https/m-p/3121018#M8008</link>
      <description>mod_rewrite is your friend I beleive.&lt;BR /&gt;&lt;BR /&gt;RewriteRule ^/(.*) &lt;A href="https://new.url.com/$1" target="_blank"&gt;https://new.url.com/$1&lt;/A&gt; [R,NE]&lt;BR /&gt;&lt;BR /&gt;Should do it.  See the mod_rewrite documentation for moe details (&lt;A href="http://httpd.apache.org/docs-2.0/mod/mod_rewrite.html)" target="_blank"&gt;http://httpd.apache.org/docs-2.0/mod/mod_rewrite.html)&lt;/A&gt;</description>
      <pubDate>Mon, 17 Nov 2003 18:51:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/http-gt-https/m-p/3121018#M8008</guid>
      <dc:creator>Stuart Browne</dc:creator>
      <dc:date>2003-11-17T18:51:55Z</dc:date>
    </item>
    <item>
      <title>Re: http ---&gt;https</title>
      <link>https://community.hpe.com/t5/operating-system-linux/http-gt-https/m-p/3121019#M8009</link>
      <description>(oh, the doc I point to is a Apache2 doc, however the 1.3 is identical (&lt;A href="http://httpd.apache.org/docs/mod/mod_rewrite.html))." target="_blank"&gt;http://httpd.apache.org/docs/mod/mod_rewrite.html)).&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;(0 pts for this one)</description>
      <pubDate>Mon, 17 Nov 2003 18:53:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/http-gt-https/m-p/3121019#M8009</guid>
      <dc:creator>Stuart Browne</dc:creator>
      <dc:date>2003-11-17T18:53:36Z</dc:date>
    </item>
    <item>
      <title>Re: http ---&gt;https</title>
      <link>https://community.hpe.com/t5/operating-system-linux/http-gt-https/m-p/3121020#M8010</link>
      <description>What abt an index.html page with http and do a HTML META REFERESH&lt;BR /&gt;&lt;BR /&gt;-Vijay</description>
      <pubDate>Mon, 17 Nov 2003 18:55:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/http-gt-https/m-p/3121020#M8010</guid>
      <dc:creator>Vijaya Kumar_3</dc:creator>
      <dc:date>2003-11-17T18:55:05Z</dc:date>
    </item>
    <item>
      <title>Re: http ---&gt;https</title>
      <link>https://community.hpe.com/t5/operating-system-linux/http-gt-https/m-p/3121021#M8011</link>
      <description>I did this and works. inside apache In a Virtualhost section &lt;BR /&gt;&lt;BR /&gt;&lt;VIRTUALHOST&gt;&lt;BR /&gt;RewriteEngine on&lt;BR /&gt;RewriteLog "/var/log/rewrite.log"&lt;BR /&gt;RewriteLogLevel 1&lt;BR /&gt;Redirect permanent    / &lt;A href="https://192.168.9.19/" target="_blank"&gt;https://192.168.9.19/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;but sure other rules works better ;-)&lt;BR /&gt;&lt;BR /&gt;Thank for klink to the documentation also!!&lt;/VIRTUALHOST&gt;</description>
      <pubDate>Sat, 29 Nov 2003 07:30:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/http-gt-https/m-p/3121021#M8011</guid>
      <dc:creator>leonardo bianchi quota</dc:creator>
      <dc:date>2003-11-29T07:30:12Z</dc:date>
    </item>
  </channel>
</rss>

