#----------------------------------------------------------------------------- # /etc/check.d/mini_httpd_sitecopy.exp - expressions for parameter checks # # Copyright (c) 2011-2018 The Eisfair Team, team(at)eisfair(dot)org # # Creation: 2011-04-18 jed # Last Update: $Id$ # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. #----------------------------------------------------------------------------- SITECOPY_URL = 'http(s)?://[[:alnum:]/?_=~.-]+(:(RE:NUMERIC)(/[[:alnum:]/~.-]*)?)?' : 'no valid URL' SITECOPY_USER = '([-._[:lower:]0-9])+' : 'no valid user name, because only the following characters = are allowed: a-z, 0-9, ., _ and -'