Dear pmwiki users,<br><br>I have managed to thinker one .htaccess to start doing what I wanted which is, in summary, to transform this URL:<br><span class="e" id="q_1165451dbeba80dc_2"><a href="http://www.web-farm.org/wiki/fields/WiCo/index.php/Lokhim/Sustainability" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://www.web-farm.org/wiki/fields/WiCo/index.php/Lokhim/Sustainability
</a> into<br><a href="http://www.lokhim.net/Sustainability" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://www.lokhim.net/Sustainability</a><br></span><br>Here was my rationale:<br>[1] First of all, I needed a directory to point my domain to and to put my .htaccess file. I chose to add a MultiDom/ folder in the WiCo field of my farm.
<br>[2] Then, since the group I want to point to is called Lokhim, I defined a Lokhim/ folder in MultiDom/<br>[3] In the folder <a href="http://www.web-farm.org/wiki/fields/WiCo/MultiDom/Lokhim/">http://www.web-farm.org/wiki/fields/WiCo/MultiDom/Lokhim/
</a>, I added the following .htaccess:<br><br># Use mod_rewrite to enable &quot;Clean URLs&quot; for a PmWiki installation.<br>RewriteEngine On<br># Define the rewrite base <br>RewriteBase /<br># Send requests without parameters to the relevant homepage
<br>RewriteRule ^$&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /wiki/fields/WiCo/index.php?n=Lokhim.HomePage&nbsp; [L]<br># Send requests to pmwiki.php, appending the query string part.<br>RewriteRule ^([A-Z0-9\xa0-\xff].*)$ /wiki/fields/WiCo/index.php?n=$1&nbsp; [QSA,L]
<br><br>This works if you access the URL <a href="http://www.web-farm.org/wiki/fields/WiCo/MultiDom/Lokhim/">http://www.web-farm.org/wiki/fields/WiCo/MultiDom/Lokhim/</a><br>However, I set up the subdomain <a href="http://lokhim.web-farm.org">
lokhim.web-farm.org</a> to point to this folder and I get the following error: 
The requested URL /wiki/fields/WiCo/index.php was not found on this server.<br><br>Can someone help me to get the .htaccess to work with the subdomain?<br>Thanks a lot,<br><br>Benoit<br><br><br><br><br><div><span class="gmail_quote">
2007/11/18, Benoit Dutilleul &lt;<a href="mailto:benoit.dutilleul@googlemail.com">benoit.dutilleul@googlemail.com</a>&gt;:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Dear all,<br><br>I got no reply to my previous message. Would there be a specialist of <span id="st" name="st" class="st">mod_rewrite</span> to help me set this up properly?<br>Thanks a lot in advance,<br><span class="sg">
<br>Benoit</span><div><span class="e" id="q_1165451dbeba80dc_2"><br><br>---------- Forwarded message ----------<br>
<span class="gmail_quote">From: <b class="gmail_sendername">Benoit Dutilleul</b> &lt;<a href="mailto:benoit.dutilleul@googlemail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">benoit.dutilleul@googlemail.com
</a>&gt;<br>Date: 13 nov. 2007 16:43<br>Subject: Group-specific URL rewrite with mod_rewrite?
<br>To: <a href="mailto:pmwiki-users@pmichaud.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">pmwiki-users@pmichaud.com</a><br><br></span>Dear all,<br><br>I would like to set-up group-dependent 
<span name="st">CleanURL</span> using .htaccess + mod_rewrite in order to rewrite the following URL:
<br><a href="http://www.web-farm.org/wiki/fields/WiCo/index.php/Lokhim/Sustainability" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://www.web-farm.org/wiki/fields/WiCo/index.php/Lokhim/Sustainability
</a> into:<br><a href="http://www.lokhim.net/Sustainability" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://www.lokhim.net/Sustainability</a><br><br>This is a case slightly more complex than what is described in the 
<span name="st">CleanURL</span> cookbook and I am not so familiar with the mod_rewrite synthax. Would there be somebody able to help me on this?
<br>Kind regards,<br><span><br>Benoit<br><br>
</span>
</span></div></blockquote></div><br>