There was an error adding the redirect

limtzerchern

Member
Jan 23, 2019
6
0
1
malaysia
cPanel Access Level
Root Administrator
Hello
When i want to set redirection of a parked domain i got this error
also i received a bit different message in first time and after many works on server the error is changed which is in image

first errors:
There was an error adding the redirect.
Apache detected an error in the Rewrite config. <pre>httpd: Syntax error in -C/-c directive: Could not open config directory /usr/local/apache/conf.modules.d: No such file or directory </pre> Please try again.

now
i.imgur.com/EskiyCm.png
 
Last edited by a moderator:

martin MHC

Well-Known Member
Sep 14, 2016
212
34
28
UK
cPanel Access Level
Root Administrator
What version of apache are you running?
What version of WHM/cPanel are you running?
Can you confirm (using Terminal or FTP (root) ) that the file /usr/local/apache/conf.modules.d does not exist?
 

limtzerchern

Member
Jan 23, 2019
6
0
1
malaysia
cPanel Access Level
Root Administrator
What version of apache are you running?
What version of WHM/cPanel are you running?
Can you confirm (using Terminal or FTP (root) ) that the file /usr/local/apache/conf.modules.d does not exist?
Server version: Apache/2.4.39 (cPanel)
WHM 78.0.21
i have root access and as i have many cpanel vps i checked and found there is no such file or directory on any of them