Next Previous Contents

6. Testing

If you want to test your configuration before using it, you can use authpcre-test.

authpcre-test applies all the regular expressions provided in authpcre configuration file to each line of the standard input, printing the result on standard output.

If you want to test a different configuration file, you can set the environment variable PCRECONFIG before calling authpcre-test. For example:

  $ export PCRECONFIG=/home/fuffolandia/fuffolo.rc
  $ authpcre-test
If something goes wrong, I suggest you double check your regular expression. If still you think there's some kind of problem, you can recompile authpcre using ``make debug''.


Next Previous Contents