Skip to main content

[CPANEL-24040] Using whmapi1 set_service_config_key with Apache

Comments

6 comments

  • jmginer
    @Infopro Yes, but what do you mean?
    0
  • Infopro
    Well, I'm thinking about this mesaage, there: [QUOTE] Warning: As of cPanel & WHM version 58, only the dovecot service is compatible with this function
    I assume then that, service=apache, is not compatible. No clue if I'm correct here or not though, just going by what I read on that docs page.
    0
  • jmginer
    Strange, the get_service_config function in the documentation also says that it only works with dovecot, but it does return Apache results correctly.
    0
  • cPanelMichael
    Hello @jmginer, Internal case CPANEL-24040 is open to address an issue where the set_service_config_key WHM API 1 function accepts Apache as an input parameter for service despite the apparent intended limitation of this function to the Dovecot service. I'll monitor this case and update this thread with more information as it becomes available.
    can tell me how I can automate the implementation of the configurations? * Apache Global Configuration * Exim Configuration * FTP Server Configuration * Backup Configuration

    You may find the cpconftool script useful as an alternative for all of the quoted configurations (except for FTP): FTP Server Configuration - Version 82 Documentation - cPanel Documentation Let me know if this helps. Thank you.
    0
  • jmginer
    Thanks @cPanelMichael I'm going to investigate this cpconftool.
    0

Please sign in to leave a comment.