Account Level Filtering regex error

alfa ex

Member
Oct 15, 2014
19
0
1
cPanel Access Level
Website Owner
Hi.

I'm trying to make easier to control my filters in 'Account Level Filtering' using regex.
I have a list of domains about 1500 entries divided by groups.

instead of have 'group 1' insert 200 domains one by one.

filtro um.jpg

I want the make one rule with regex.

filtro dois.jpg

The problem is when i tried to insert this regex.

[Removed]

i get an error.

if i try put less filters like 20 it works, but i have way more then 20

I read the manual and searched on google but i can't find anything about characters limit.

Thanks a lot.
 
Last edited by a moderator:

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,908
2,218
463
Hello :)

Could you let us know the full error message you receive? Also, what is output to /usr/local/cpanel/logs/error_log when this happens?

Thank you.
 

alfa ex

Member
Oct 15, 2014
19
0
1
cPanel Access Level
Website Owner
hi.

thanks for the reply and sorry for the delay.

i don't have access on my server, i need to ask for the cloud provider.

But i already found the answer to my question.

I found in the log this message.

"Filter error: string is too long in line 28 of filter file (max = 1024 chars)"

Thanks a lot.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,908
2,218
463
I am happy to see you were able to determine the cause of the issue. Thank you for updating us with the outcome.