<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[iRedMail — multiple domains for webmail question...]]></title>
	<link rel="self" href="http://www.iredmail.org/forum/feed-atom-topic4196.xml" />
	<updated>2012-11-25T12:59:40Z</updated>
	<generator>PunBB</generator>
	<id>http://www.iredmail.org/forum/topic4196-multiple-domains-for-webmail-question.html</id>
		<entry>
			<title type="html"><![CDATA[Re: multiple domains for webmail question...]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post19222.html#p19222" />
			<content type="html"><![CDATA[<p>ive tried that before - and just did again - and now it works - dohh</p>]]></content>
			<author>
				<name><![CDATA[Tue]]></name>
				<uri>http://www.iredmail.org/forum/user32101.html</uri>
			</author>
			<updated>2012-11-25T12:59:40Z</updated>
			<id>http://www.iredmail.org/forum/post19222.html#p19222</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: multiple domains for webmail question...]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post19221.html#p19221" />
			<content type="html"><![CDATA[<p>Do you have &quot;AllowOverride None&quot; in Apache config file for directory /var/www/html?</p>]]></content>
			<author>
				<name><![CDATA[ZhangHuangbin]]></name>
				<uri>http://www.iredmail.org/forum/user2.html</uri>
			</author>
			<updated>2012-11-25T11:54:05Z</updated>
			<id>http://www.iredmail.org/forum/post19221.html#p19221</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[multiple domains for webmail question...]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post19219.html#p19219" />
			<content type="html"><![CDATA[<p>==== Required information ====<br />- iRedMail version: iRedAdmin-Pro (MySQL edition) 0.8.3<br />- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL<br />- Linux/BSD distribution name and version: CentOS 6.3<br />- Related log if you&#039;re reporting an issue: <br />==== </p><p>I know this might not be dirctly iRedMail related but as all apache conf files for the package is made directly for iRedMail i hope i can get some help here - as i have been going through alot of the conf files and cant figure out / get it to work as i want <img src="http://www.iredmail.org/forum/img/smilies/smile.png" width="15" height="15" alt="smile" /></p><p>What i want is enable .htaccess in the dir /var/www/html that does the following...</p><p>...<br />RewriteCond %{HTTP_HOST} !^(mydomain.com)<br />RewriteRule (.*) <a href="https://mydomain.com/$1">https://mydomain.com/$1</a> [R=301,L]<br />......</p><p>what i try to do is to redirect all other domains that points to the server over to my main domain (which i have bought SSL cert for). And that way ppl wont have to see and accept an untrusted ssl cert when they access webmail and iRedMail admin interface <img src="http://www.iredmail.org/forum/img/smilies/smile.png" width="15" height="15" alt="smile" /></p><p>but somehow the .htaccess wont work....(hint: the above i use on other serveres/sites without problem - so the .htaccess syntax is fine)....</p><p>so it must be the configuration in apache for the iRedMail install where i somewhere need to enable the use of .htaccess - it kinda tried the usual obvious places - without success <img src="http://www.iredmail.org/forum/img/smilies/sad.png" width="15" height="15" alt="sad" />(</p><p>Hope anyone can help - and i guess i just have overlooked the obvious <img src="http://www.iredmail.org/forum/img/smilies/smile.png" width="15" height="15" alt="smile" /></p><p>/Tue</p>]]></content>
			<author>
				<name><![CDATA[Tue]]></name>
				<uri>http://www.iredmail.org/forum/user32101.html</uri>
			</author>
			<updated>2012-11-24T18:56:43Z</updated>
			<id>http://www.iredmail.org/forum/post19219.html#p19219</id>
		</entry>
</feed>
