gnu-arch-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnu-arch-users] Re: Arch usage case studies


From: O. Moskalenko
Subject: Re: [Gnu-arch-users] Re: Arch usage case studies
Date: Wed, 21 Jan 2004 23:58:07 -0500
User-agent: Mutt/1.5.5.1+cvs20040105i

* James Blackwell <address@hidden> [2004-01-21 20:36:42 -0500]:

> > [BTW, another gripe I have about the URLs is that they all have
> > `/moin.cgi/moin.cgi' in the middle -- is that really necessary?  If so, can
> > it at least be reduce to a single `/moin.cgi'?]
> 
> I've tried a couple times to fix it without success. The wiki does weird
> things, depending on what url_prefix is set to. 
> 
> The pertinant part of http.conf:
> 
> <VirtualHost *>
>         Servername wiki.sourcecontrol.net
>         DocumentRoot /usr/share/moin/htdocs
>         ErrorLog /var/log/apache/wiki.sourcecontrol.net
>         CustomLog /var/log/apache/wiki.sourcecontrol.net common
>         Alias /moin.cgi/ "/var/www/wiki/"
>         <Directory /var/www/wiki/>
>                 DirectoryIndex moin.cgi
>                 AddHandler cgi-script .cgi
>                 AllowOverride None
>                 Options ExecCGI -MultiViews +SymLinksIfOwnerMatch
>                 Order allow,deny
>                 Allow from all
>     </Directory>
> </VirtualHost>

James,

Here is how I set up our lab's Moin Wiki (The allow/deny
order is reversed, of course, since ours is an intranet wiki)

httpd.conf

ScriptAlias /wiki "/home/www/wiki/moin.cgi"
<Directory /home/www/wiki>
        Options +ExecCGI FollowSymLinks
        AllowOverride None
        Order allow,deny
        allow from all
</Directory>

moin_config.py

# basic options (you normally need to change these)
sitename = 'Lab Wiki'
interwikiname = None
url_prefix = '/wiki/'

# options people are likely to change due to personal taste
show_hosts = 1                          # show hostnames?
nonexist_qm = 1                         # show '?' for nonexistent?
backtick_meta = 1                       # allow `inline typewriter`?
allow_extended_names = 1                # allow ["..."] markup?
edit_rows = 30                          # editor size
max_macro_size = 0                     # max size of RecentChanges in
KB (0=unlimited)
bang_meta = 1                           # use ! to escape WikiNames?
show_section_numbers = 0                # enumerate headlines?
# Mail settings:
mail_from = "address@hidden"
mail_smarthost = "localhost"


I hope this helps. It works fine for me on two wikis - the lab one and
my personal on a notebook.

Regards,

Alex.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]