[Moin-user] www and moin regular expression and "//"
Lukasz Szybalski
szybalski at gmail.com
Wed Nov 22 13:18:20 EST 2006
Now on my ubuntu installation for some reason i get the "//" before a link
so front page has link to NewPage, but link looks like :
http://192.168.1.1/mywiki//NewPage
so i click on it. It shows a front page again. I need to click on
NewPage again but this time it is correct.
Final link is:
http://192.168.1.1/mywiki//NewPage/NewPage
but now i get this if i click on Front Page
http://192.168.1.1/mywiki//NewPage/FrontPage
What is wrong?
On 11/21/06, Lukasz Szybalski <szybalski at gmail.com> wrote:
> 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,
> >
> >
More information about the Moin-user
mailing list