Dear Perl Mongers,<div id="yMail_cursorElementTracker_0.638374705798924"><br></div><div id="yMail_cursorElementTracker_0.638374705798924">please excuse the slightly off-topic posting, but I know that several of you work for the provider XS4ALL.NL or have similar knowledge.</div><div id="yMail_cursorElementTracker_0.638374705798924"><br></div><div id="yMail_cursorElementTracker_0.638374705798924">I have also tried to contact the author of the Mod_Rewrite module, but haven't heard back from him yet.</div><div id="yMail_cursorElementTracker_0.638374705798924"><br></div><div id="yMail_cursorElementTracker_0.638374705798924">The problem is how to automatically redirect HTTP-requests of the form</div><div id="yMail_cursorElementTracker_0.638374705798924"><a data-yahoo-extracted-link="true" href="http://www.domain1.com/path/to/some/web/page.html" id="yMail_cursorElementTracker_0.8274669437669218">www.domain1.com/path/to/some/web/page.html</a></div><div id="yMail_cursorElementTracker_0.638374705798924">to</div><div id="yMail_cursorElementTracker_0.638374705798924"><a data-yahoo-extracted-link="true" href="http://www.domain2.com/path/to/some/web/page.html" id="yMail_cursorElementTracker_0.9302238738164306">www.domain2.com/path/to/some/web/page.html</a></div><div id="yMail_cursorElementTracker_0.638374705798924">without replicating the directory structure of domain2 on the server of domain1.</div><div id="yMail_cursorElementTracker_0.638374705798924"><br></div><div id="yMail_cursorElementTracker_0.638374705798924">I've already tried the following .htaccess file in the root directory of the domain's web page tree, but I get 'no permission' and '403 forbidden' errors for all pages:</div><div id="yMail_cursorElementTracker_0.638374705798924"><br></div><div id="yMail_cursorElementTracker_0.638374705798924"><span style="font-family: Consolas, 'Courier New', Courier, monospace; font-size: 16px; line-height: 20.8px; widows: 1; background-color: rgb(255, 255, 255);">RewriteEngine on</span><br style="font-family: Consolas, 'Courier New', Courier, monospace; font-size: 16px; line-height: 20.8px; widows: 1; background-color: rgb(255, 255, 255);"><span style="font-family: Consolas, 'Courier New', Courier, monospace; font-size: 16px; line-height: 20.8px; widows: 1; background-color: rgb(255, 255, 255);" id="yMail_cursorElementTracker_0.1738536306656897">RewriteCond %{HTTP_HOST} ^www\.fluodivegear\.com$ [OR]</span></div><div id="yMail_cursorElementTracker_0.638374705798924"><span style="font-family: Consolas, 'Courier New', Courier, monospace; font-size: 16px; line-height: 20.796875px; widows: 1; background-color: rgb(255, 255, 255);" id="yMail_cursorElementTracker_0.8039932681713253">RewriteCond %{HTTP_HOST} ^fluodivegear\.com$</span><br style="font-family: Consolas, 'Courier New', Courier, monospace; font-size: 16px; line-height: 20.8px; widows: 1; background-color: rgb(255, 255, 255);"><span style="font-family: Consolas, 'Courier New', Courier, monospace; font-size: 16px; line-height: 20.8px; widows: 1; background-color: rgb(255, 255, 255);" id="yMail_cursorElementTracker_0.0010322444140911102">RewriteRule ^(.*)$ <a data-yahoo-extracted-link="true" href="http://firedivegear.com/$1 [R=301,L]" id="yMail_cursorElementTracker_0.9696195635478944">http://firedivegear.com/$1 [R=301,L]</a></span></div><div id="yMail_cursorElementTracker_0.638374705798924"><br></div><div id="yMail_cursorElementTracker_0.638374705798924">Actually <a data-yahoo-extracted-link="true" href="http://www.fluodivegear.com" id="yMail_cursorElementTracker_0.5528951815795153">www.fluodivegear.com</a> is an add-on domain located in a subdirectory '/redirect/' of my primary domain <a data-yahoo-extracted-link="true" href="http://www.fluomedia.org." id="yMail_cursorElementTracker_0.8208945991937071">www.fluomedia.org.</a></div><div id="yMail_cursorElementTracker_0.638374705798924"><br></div><div id="yMail_cursorElementTracker_0.638374705798924">If the web hoster redirects the fluodivegear domain to that subdirectory using Mod_Rewrite rules, could that cause a conflict and thus be the cause of the error messages?</div><div id="yMail_cursorElementTracker_0.638374705798924"><br></div><div id="yMail_cursorElementTracker_0.638374705798924">The hoster's technical support was of no help, he seemed to know less than me.</div><div id="yMail_cursorElementTracker_0.638374705798924"><br></div><div id="yMail_cursorElementTracker_0.638374705798924">Thanks a lot in advance for your help!</div><div id="yMail_cursorElementTracker_0.638374705798924"><br></div><div id="yMail_cursorElementTracker_0.638374705798924">Kind regards,</div><div id="yMail_cursorElementTracker_0.638374705798924">Steffen</div>