[Moin-user] www and moin regular expression
Thilo Pfennig
email at pfennigsolutions.de
Fri Nov 17 08:07:58 EST 2006
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/
More information about the Moin-user
mailing list