I need some custom filters for Apache, so I wrote a mod_perl module MyFilter and put this in /etc/httpd. However, 24 hours later, cpanel seems to remove all 'unkown' directories from /etc/httpd. How do I prevent this from happening?
Thanks!
|
|
|
I received the answer from cpanel support; You could create the directory in /usr/local/"your directory", then create a symlink as follows.
Then create the hook script /scripts/posteasyapache with a bash command inside it to recreate the above symlink anytime Apache is rebuilt. Then set the posteasyapache script executable "chmod +x /scripts/posteasyapache" |
|||
|
|
|
Try adding it to Also, where did you put the config includes? The proper place is |
|||
|
|