cPanel to DA Migration & cgi-bin context removal

Mahfuz-SS-EHL

Verified User
Joined
Oct 11, 2019
Messages
7
Hello,

I have a DA Server with OLS running. While migrating from cPanel, it shows Error in OLS Log that:

2020-01-10 14:01:13.903691 [ERROR] [config:server:vhosts:vhost:domain1.com-80:context:/cgi-bin/] path is not accessible: /home/admin/domains/domain1.com/public_html/cgi-bin/
2020-01-10 14:01:13.905638 [ERROR] [config:server:vhosts:vhost:domain1.com-443:context:/cgi-bin/] path is not accessible: /home/admin/domains/domain1.com/public_html/cgi-bin/


From the discussion here: https://forum.directadmin.com/threads/config-changes.60046/ I got the solution that I need to fix by removing all instances of

context /cgi-bin/ {
allowBrowse 1
location /home/admin/domains/domain1.com/public_html/cgi-bin/
type cgi
}


for all domains from /usr/local/directadmin/data/users/admin/openlitespeed.conf

Is there any way to remove it for all Domains at one ? I have so many domains :( Doing one by one is freaking tiresome.

Regards.
 

Attachments

  • Screenshot_1.png
    Screenshot_1.png
    172.6 KB · Views: 60
Back
Top