<?xml version="1.0" encoding="UTF-8"?> <rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
><channel><title>FAQforge &#187; Webserver</title> <atom:link href="http://www.faqforge.com/tag/webserver/feed/" rel="self" type="application/rss+xml" /><link>http://www.faqforge.com</link> <description>Just another WordPress weblog</description> <lastBuildDate>Fri, 03 Feb 2012 13:47:23 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <item><title>Redirect http requests to a new folder with apache rewrite rules</title><link>http://www.faqforge.com/linux/redirect-http-requests-to-a-new-folder-with-apache-rewrite-rules/</link> <comments>http://www.faqforge.com/linux/redirect-http-requests-to-a-new-folder-with-apache-rewrite-rules/#comments</comments> <pubDate>Fri, 12 Aug 2011 08:21:59 +0000</pubDate> <dc:creator>Till</dc:creator> <category><![CDATA[Linux & Unix]]></category> <category><![CDATA[Server]]></category> <category><![CDATA[Webserver]]></category> <category><![CDATA[apache]]></category> <category><![CDATA[rewriterule]]></category><guid
isPermaLink="false">http://www.faqforge.com/?p=598</guid> <description><![CDATA[When you reorganize the structure of a website, you might want to redirect requests to files in a old folder to a new one without loosing the pagerank. In this example, I will redirect all requests from directory &#8220;olddir&#8221; to directory &#8220;newdir&#8221;, so that requests like http://www.yourdomain.tld/olddir/page.htm get redirected to http://www.yourdomain.tld/newdir/page.htm without loosing the Google pagerank [...]]]></description> <content:encoded><![CDATA[<p>When you reorganize the structure of a website, you might want to redirect requests to files in a old folder to a new one without loosing the pagerank. In this example, I will redirect all requests from directory &#8220;olddir&#8221; to directory &#8220;newdir&#8221;, so that requests like http://www.yourdomain.tld/olddir/page.htm get redirected to http://www.yourdomain.tld/newdir/page.htm without loosing the Google pagerank of the pages.</p><p>The following rewrite rules can be added into a <span
class="system">.htaccess</span> file in the website directory or in the vhost configuration.</p><p
class="command">RewriteEngine on<br
/> RewriteRule ^olddir/(.*)$ newdir/$1 [R=301,L]</p><p>This rewrite rule redirects automatically all requests to pages or subdirectorys of &#8220;olddir&#8221; to the same page or subdirectory in &#8220;newdir&#8221;.</p> ]]></content:encoded> <wfw:commentRss>http://www.faqforge.com/linux/redirect-http-requests-to-a-new-folder-with-apache-rewrite-rules/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Redirect a subdomain with apache mod_rewrite and keep the URL in the address bar</title><link>http://www.faqforge.com/linux/redirect-a-subdomain-with-apache-mod_rewrite-and-keep-the-url-in-the-address-bar/</link> <comments>http://www.faqforge.com/linux/redirect-a-subdomain-with-apache-mod_rewrite-and-keep-the-url-in-the-address-bar/#comments</comments> <pubDate>Fri, 16 Oct 2009 09:11:09 +0000</pubDate> <dc:creator>Till</dc:creator> <category><![CDATA[Debian]]></category> <category><![CDATA[ISPConfig 2]]></category> <category><![CDATA[ISPConfig 3]]></category> <category><![CDATA[Linux & Unix]]></category> <category><![CDATA[Ubuntu]]></category> <category><![CDATA[Webserver]]></category> <category><![CDATA[apache]]></category><guid
isPermaLink="false">http://www.faqforge.com/?p=234</guid> <description><![CDATA[If you want to redirect a subdomain like sub.domain.tld into a subdirectory of the website and keep the original URL in the browser location bar, you may use the following apache directives. RewriteEngine on RewriteCond %{HTTP_HOST} ^sub.domain.tld [NC] RewriteRule ^/(.*)$ /sub/$1 [L] This rewrite rule can be added into a .htaccess file in the website [...]]]></description> <content:encoded><![CDATA[<p>If you want to redirect a subdomain like sub.domain.tld into a subdirectory of the website and keep the original URL in the browser location bar, you may use the following apache directives.</p><p
class="command">RewriteEngine on<br
/> RewriteCond %{HTTP_HOST}   ^sub.domain.tld [NC]<br
/> RewriteRule   ^/(.*)$ /sub/$1  [L]</p><p>This rewrite rule can be added into a .htaccess file in the website root or inside the vhost file. If you use ISPConfig 2 or 3, you can add this also into the apache directives field in the website settings.</p><p>Replace sub.domain.tld with the subdomain that shall be redirected and /sub/ with the path to the directory were the pages for this subdomain are located.</p> ]]></content:encoded> <wfw:commentRss>http://www.faqforge.com/linux/redirect-a-subdomain-with-apache-mod_rewrite-and-keep-the-url-in-the-address-bar/feed/</wfw:commentRss> <slash:comments>5</slash:comments> </item> <item><title>Redirect domains without www (e.g. domain.com) to www.domain.com with apache rewrite rules</title><link>http://www.faqforge.com/linux/redirect-domains-without-www-e-g-domain-com-to-www-domain-com-with-apache-rewrite-rules/</link> <comments>http://www.faqforge.com/linux/redirect-domains-without-www-e-g-domain-com-to-www-domain-com-with-apache-rewrite-rules/#comments</comments> <pubDate>Wed, 14 Oct 2009 14:56:21 +0000</pubDate> <dc:creator>Till</dc:creator> <category><![CDATA[Debian]]></category> <category><![CDATA[ISPConfig 2]]></category> <category><![CDATA[ISPConfig 3]]></category> <category><![CDATA[Linux & Unix]]></category> <category><![CDATA[Ubuntu]]></category> <category><![CDATA[Webserver]]></category> <category><![CDATA[apache]]></category><guid
isPermaLink="false">http://www.faqforge.com/?p=236</guid> <description><![CDATA[If all your visitors shall access your website with a URL like www.domain.com and not without www, use the following apache rewrite rule for redirecting them. RewriteEngine On RewriteCond %{HTTP_HOST} !^www RewriteRule (.*) http://www.%{HTTP_HOST}$1 [L,R] The apache rewrite rule can be added in a .htaccess file in the website root directory or if you use [...]]]></description> <content:encoded><![CDATA[<p>If all your visitors shall access your website with a URL like www.domain.com and not without www, use the following apache rewrite rule for redirecting them.</p><p
class="command">RewriteEngine On<br
/> RewriteCond %{HTTP_HOST} !^www<br
/> RewriteRule (.*) http://www.%{HTTP_HOST}$1 [L,R]</p><p>The apache rewrite rule can be added in a .htaccess file in the website root directory or if you use ISPConfig 2 or 3, you can also add the rwrite rule into the apache directives field of the website.</p> ]]></content:encoded> <wfw:commentRss>http://www.faqforge.com/linux/redirect-domains-without-www-e-g-domain-com-to-www-domain-com-with-apache-rewrite-rules/feed/</wfw:commentRss> <slash:comments>1</slash:comments> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced (User agent is rejected)
Database Caching 1/17 queries in 0.018 seconds using disk: basic
Object Caching 606/639 objects using disk: basic

Served from: www.faqforge.com @ 2012-02-04 23:18:35 -->
