[Moin-user] www and moin regular expression

Lukasz Szybalski szybalski at gmail.com
Tue Nov 21 12:53:23 EST 2006


great.
I managed to get it to work with following
("mywiki", r"^[www.]?/?.*$"),
so now
www....
.com/mywiki/
.com/mywiki
all 3 work
and i guess localhost, 192.168.0.1 etc.

Great thx
Lucas


On 11/17/06, Thilo Pfennig <email at pfennigsolutions.de> wrote:
> Lukasz Szybalski schrieb:
> > hello,
> > I have installed moinmoin but it only works for
> >
> > http://example.com/mywiki/
> > how do i get it to work for
> >
> > http://www.example.com/mywiki/
> > and
> > http://www.example.com/mywiki
> >
> >
> > I installed it this way:
> > http://moinmoin.wikiwikiweb.de/MoinMoinPackages/DebianLinux#head-1b39156a3daa5689018369273b567ce421eb6313
> >
> > and used ("mywiki",    r"^yoursite.com/mywiki/.*$"), as my regular expression.
> >
> > So what is the proper reg ex for www.example.com?
> >
> >
> add a "?" after the "/" . That means that there can be a slash, but does
> not have to be.
>
> regards,
>
>
> Thilo
>
> --
> Thilo Pfennig
> PfennigSolutions - Wiki-Systeme
> http://www.pfennigsolutions.de/
>
>


-- 
-- 
Illinois Automotive recall database:
http://www.lucasmanual.com/recall/index.psp
Universal Information Crawler
http://uicrawler.sourceforge.net/




More information about the Moin-user mailing list