<?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: Apache URL Redirect in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/apache-url-redirect/m-p/5262665#M59281</link>
    <description>Hi Matti,&lt;BR /&gt;&lt;BR /&gt;Thanks for your support.&lt;BR /&gt;&lt;BR /&gt;I have append the following line in httpd.conf&lt;BR /&gt;&lt;BR /&gt;RedirectMatch ^/$ https://server/test&lt;BR /&gt;&lt;BR /&gt;and it is solved the issue.&lt;BR /&gt;&lt;BR /&gt;Manoj K</description>
    <pubDate>Sun, 14 Nov 2010 12:38:48 GMT</pubDate>
    <dc:creator>ManojK_1</dc:creator>
    <dc:date>2010-11-14T12:38:48Z</dc:date>
    <item>
      <title>Apache URL Redirect</title>
      <link>https://community.hpe.com/t5/operating-system-linux/apache-url-redirect/m-p/5262663#M59279</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I want to re direct the requestes which are coming to my server url to https://server/test.&lt;BR /&gt;&lt;BR /&gt;It is working fine if i am giving http://server (http://server redirecting to https://server/test).This is achived by adding the following lines in httpd.conf.&lt;BR /&gt;&lt;BR /&gt;RewriteEngine on&lt;BR /&gt;RewriteRule   ^/$  https://server/test  [R]&lt;BR /&gt;&lt;BR /&gt;But if am giving https://server it is not rdirecting to https://server/test. How i can achive this?&lt;BR /&gt;&lt;BR /&gt;Manoj K</description>
      <pubDate>Sun, 14 Nov 2010 08:22:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/apache-url-redirect/m-p/5262663#M59279</guid>
      <dc:creator>ManojK_1</dc:creator>
      <dc:date>2010-11-14T08:22:45Z</dc:date>
    </item>
    <item>
      <title>Re: Apache URL Redirect</title>
      <link>https://community.hpe.com/t5/operating-system-linux/apache-url-redirect/m-p/5262664#M59280</link>
      <description>There are many possible ways to structure your Apache configuration file.&lt;BR /&gt;&lt;BR /&gt;If the same Apache instance offers both http and https services, one possible way to configure it is to have a separate VirtualHost block for one service (either http or https), and let the main server configuration cover the other service.&lt;BR /&gt;&lt;BR /&gt;Another way is to have two VirtualHost blocks, one explicitly for http and the other for https. &lt;BR /&gt;&lt;BR /&gt;So you may have to add your redirect definition to another spot in your configuration to make it take effect for the HTTPS service too. But without knowing how your Apache configuration is structured, I cannot tell you exactly where to put it.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;By the way, using the RewriteEngine for such a simple redirect is probably overkill. A simpler way to redirect all requests for the server's front page to https://server/test would be:&lt;BR /&gt;&lt;BR /&gt;RedirectMatch ^/$ https://server/test&lt;BR /&gt;&lt;BR /&gt;If someone requests e.g. http://server/foo and you'll want it automatically redirected to https://server/test/foo instead, then:&lt;BR /&gt;&lt;BR /&gt;RedirectMatch ^/(.*)$ https://server/test/$1&lt;BR /&gt;&lt;BR /&gt;MK</description>
      <pubDate>Sun, 14 Nov 2010 09:58:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/apache-url-redirect/m-p/5262664#M59280</guid>
      <dc:creator>Matti_Kurkela</dc:creator>
      <dc:date>2010-11-14T09:58:17Z</dc:date>
    </item>
    <item>
      <title>Re: Apache URL Redirect</title>
      <link>https://community.hpe.com/t5/operating-system-linux/apache-url-redirect/m-p/5262665#M59281</link>
      <description>Hi Matti,&lt;BR /&gt;&lt;BR /&gt;Thanks for your support.&lt;BR /&gt;&lt;BR /&gt;I have append the following line in httpd.conf&lt;BR /&gt;&lt;BR /&gt;RedirectMatch ^/$ https://server/test&lt;BR /&gt;&lt;BR /&gt;and it is solved the issue.&lt;BR /&gt;&lt;BR /&gt;Manoj K</description>
      <pubDate>Sun, 14 Nov 2010 12:38:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/apache-url-redirect/m-p/5262665#M59281</guid>
      <dc:creator>ManojK_1</dc:creator>
      <dc:date>2010-11-14T12:38:48Z</dc:date>
    </item>
  </channel>
</rss>

