Robert,<br><br>In Moin 1.5.2 This part of your Guide :<br><span><br>-----<br>There is a wonderfully simple workaround to this: edit moin.cgi so that it contains, somewhere near the top (perhaps just below import sys). the following:    
<br>   1 import os<br>   2 os.environ['SCRIPT_NAME'] = '/terry'<br></span><span>-----<br><br>returned me Internal Server Error, So I just skipped that and did this instead<br>in moin.cgi :<br><br>Replaced <br>--<br>request = RequestCGI()
<br>-- <br><br>With<br>--<br>request = RequestCGI(properties={'script_name':'/terry'})<br>--<br><br>Just one question remains:<br><br>Do I need to add " </span><span>cookie_path = "/" " in wikiconfig.py
 or the bug is fixed in Moin 1.5.2 ?<br><br></span><br><br><div><span class="gmail_quote">On 3/29/06, <b class="gmail_sendername">Robert Schumann</b> <<a href="mailto:robert@cantab.net">robert@cantab.net</a>> wrote:
</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Mariano Absatz wrote:<br><br>>>Mehdi Hassanpour wrote:<br>>> ><br>>> > I couldn't find any help removing cgi-bin & 
moin.cgi from URL ( in<br>>> > MoinMoin 1.5.2 )<br>>> ><br>>> > Can you please tell me what should I do ? and how should I remove<br>>> > chi-bin and moin.cgi from URL or hide them ?<br>
>><br>>><br>>><br>>Well... I have a similar problem.<br>><br>>I have moin 1.5.2 running on an Apache virtual server that is chrooted<br>>and run via "suexec" (it's an ensim server running on fedora core 1:
<br>><a href="http://www.ensim.com/products/pro/linux/index.html">http://www.ensim.com/products/pro/linux/index.html</a>)<br>><br>>I compiled and installed Python 2.4.2 within the chrooted virtual host,<br>>so I'm fine with this.
<br>><br>>Now, I installed following the directions in<br>><a href="http://moinmoin.wikiwikiweb.de/HelpOnInstalling/ApacheOnLinuxFtp">http://moinmoin.wikiwikiweb.de/HelpOnInstalling/ApacheOnLinuxFtp</a><br>><br>
>I have ssh access to the virtual server, but I can't edit httpd.conf...<br>>I can only configure the webserver via .htaccess.<br>><br>>I have everything up and running. moin.cgi is in /var/www/cgi-bin which<br>
>is the only directory where I get to execute code.<br>><br>>Now I want to "hide" the "/cgi-bin/moin.cgi" string from the URL.<br>><br>>I do as instructed in<br>><a href="http://moinmoin.wikiwikiweb.de/HelpOnConfiguration/ApacheVoodoo">
http://moinmoin.wikiwikiweb.de/HelpOnConfiguration/ApacheVoodoo</a> (except<br>>for the "RewriteLogLevel 0" which is invalid inside a .htaccess file,<br>>anyway, that's the default value for the directive).
<br>><br>>Now it "kinda" works... that is, <a href="http://www.example.com/mywiki">http://www.example.com/mywiki</a> gets<br>>executed correctly and shows the exact same page as if I use<br>><a href="http://www.example.com/cgi-bin/moin.cgi">
http://www.example.com/cgi-bin/moin.cgi</a>.<br>><br>The solution to this problem is documented in<br><a href="http://moinmoin.wikiwikiweb.de/RobertSchumann/ApacheOnLinuxFTPRootWiki">http://moinmoin.wikiwikiweb.de/RobertSchumann/ApacheOnLinuxFTPRootWiki
</a><br><br>Robert.<br><br><br>-------------------------------------------------------<br>This SF.Net email is sponsored by xPML, a groundbreaking scripting language<br>that extends applications into web and mobile media. Attend the live webcast
<br>and join the prime developer group breaking into this new coding territory!<br><a href="http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642">http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
</a><br>_______________________________________________<br>Moin-user mailing list<br><a href="mailto:Moin-user@lists.sourceforge.net">Moin-user@lists.sourceforge.net</a><br><a href="https://lists.sourceforge.net/lists/listinfo/moin-user">
https://lists.sourceforge.net/lists/listinfo/moin-user</a><br></blockquote></div><br><br clear="all"><br>-- <br>********************************************************<br>Yours Sincerely, Mehdi Hassanpour<br>----------------------------------------------------------------------
<br>/* Of one Essence is the human race,<br>Thusly has Creation put the Base;<br>One Limb impacted is sufficient,<br>For all Others to feel the Mace.<br>                           ~Saadi (persian poet) -1258 */<br>----------------------------------------------------------------------
<br><a href="http://ImPersian.com">http://ImPersian.com</a>     |     <a href="http://Hezardastan.org">http://Hezardastan.org</a><br>********************************************************