1

Topic: Error: Page not found.

When opening the second page of e-mail addresses I get the following error:

Error: Page not found. (/users/vcn.nl/page/2) Go back

2

Re: Error: Page not found.

It's a bug in v1.1.0 pre-release. You can fix it manually with attached patch.

Find lines you need to modify in file "libs/iredutils.py", then change them.

There're two lines need to be modified, just remove '$' at the end.

diff -r 8862460398bc libs/iredutils.py
--- libs/iredutils.py    Thu Apr 21 08:18:29 2011 +0800
+++ libs/iredutils.py    Fri Apr 22 15:07:26 2011 +0800
@@ -18,10 +18,10 @@
# Regular expressions.
#
# Email.
-reEmail = r"""[\w\-][\w\-\.]*@[\w\-][\w\-\.]+[a-zA-Z]{2,4}$"""
+reEmail = r"""[\w\-][\w\-\.]*@[\w\-][\w\-\.]+[a-zA-Z]{2,4}"""

# Domain.
-reDomain = r"""[\w\-][\w\-\.]*\.[a-z]{2,4}$"""
+reDomain = r"""[\w\-][\w\-\.]*\.[a-z]{2,4}"""

# End Regular expressions.
####

3

Re: Error: Page not found.

I've change the two lines but this doesn't seem to fix the problem.

I'm running iRedAdmin-Pro-LDAP-1.5.0

4

Re: Error: Page not found.

Did you restart Apache web server?
Sorry, i forgot to mention this in above post.

5

Re: Error: Page not found.

ZhangHuangbin wrote:

Did you restart Apache web server?
Sorry, i forgot to mention this in above post.

That fixed it. Thanks