[Moin-user] Re: remove moin.cgi from URL

Robert Schumann robert at cantab.net
Wed Mar 29 09:33:04 EST 2006


Mariano Absatz wrote:

>>Mehdi Hassanpour wrote:
>> >
>> > I couldn't find any help removing cgi-bin & moin.cgi from URL ( in
>> > MoinMoin 1.5.2 )
>> >
>> > Can you please tell me what should I do ? and how should I remove
>> > chi-bin and moin.cgi from URL or hide them ?
>>
>>    
>>
>Well... I have a similar problem.
>
>I have moin 1.5.2 running on an Apache virtual server that is chrooted
>and run via "suexec" (it's an ensim server running on fedora core 1:
>http://www.ensim.com/products/pro/linux/index.html)
>
>I compiled and installed Python 2.4.2 within the chrooted virtual host,
>so I'm fine with this.
>
>Now, I installed following the directions in
>http://moinmoin.wikiwikiweb.de/HelpOnInstalling/ApacheOnLinuxFtp
>
>I have ssh access to the virtual server, but I can't edit httpd.conf...
>I can only configure the webserver via .htaccess.
>
>I have everything up and running. moin.cgi is in /var/www/cgi-bin which
>is the only directory where I get to execute code.
>
>Now I want to "hide" the "/cgi-bin/moin.cgi" string from the URL.
>
>I do as instructed in
>http://moinmoin.wikiwikiweb.de/HelpOnConfiguration/ApacheVoodoo (except
>for the "RewriteLogLevel 0" which is invalid inside a .htaccess file,
>anyway, that's the default value for the directive).
>
>Now it "kinda" works... that is, http://www.example.com/mywiki gets
>executed correctly and shows the exact same page as if I use
>http://www.example.com/cgi-bin/moin.cgi.
>
The solution to this problem is documented in
http://moinmoin.wikiwikiweb.de/RobertSchumann/ApacheOnLinuxFTPRootWiki

Robert.




More information about the Moin-user mailing list