server.htaccess
.htaccess 时间:2021-01-11 阅读:(
)
cPanelAPI1Functions-BoxTrapper::saveconfGuidetocPanelAPI1ReturnDatacPanelTags(deprecated)Bandwidth::displaybwheaderBandwidth::displaybwBandwidth::displaydayBandwidth::displaymainbwheaderBoxTrapper::changestatusBoxTrapper::cleancfgfilelistBoxTrapper::editmsgBoxTrapper::fetchcfgfileBoxTrapper::getboxconfdirBoxTrapper::listmsgsBoxTrapper::logcontrolsBoxTrapper::messageactionBoxTrapper::multimessageactionBoxTrapper::resetmsgBoxTrapper::savecfgfileBoxTrapper::saveconfBoxTrapper::showautowhitelistBoxTrapper::showemailsBoxTrapper::showfromnameBoxTrapper::showlogBoxTrapper::showmessageBoxTrapper::showqueueBoxTrapper::showqueuesearchDescriptionThisfunctionmodifiesanaccount'sBoxTrapperconfiguration.
Examples$cpanel=newCPANEL();//ConnecttocPanel-onlydothisonce.
$edit_boxtrapper_config=$cpanel->api1('BoxTrapper','saveconf',array('user@example.
com','sender1@test.
com,sender2@test.
com','14','1','UserName'Callthefunction.
my$cpliveapi=Cpanel::LiveAPI->new();#ConnecttocPanel-onlydothisonce.
my$edit_boxtrapper_config=$cpliveapi->api1('BoxTrapper','saveconf',['user@example.
com','sender1@test.
com,sender2@test.
com','14','1','UserName']);#Callthefunction.
FunctioninformationModule:BoxTrapperAPIVersion:cPanelAPI1Availablein:cPanel11+Methods:GET,POSTRequiredParameters:account,,froms,queuetimeauto,whitelistfromnameReturnFormats:(none)AboutthismoduleThemoBoxTrapperdulemanagestheBoxTrappersubsystem.
AboutcPanelAPI1cPanelAPI1accessesinformationaboutcPanelaccounts.
Warning:cPanelAPI1isdeprecated.
Donotusethisfunction.
Instead,westronglyrecommendthatyouusethefollowingnewerfunctions:(recommended)UAPI——BoxTrapper::save_configurationThisfunctionmodifiesanaccount'sBoxTrapperconfiguration.
cPanelAPI2—None.
Important:IncPanel&WHMversion76andlater,whenyoudisabletheMailReceiverole,thesystemthisfunction.
disablesFormoreinformation,readourHowtoUseServerProfilesdocumentation.
Note:Formoreinformation,readour.
GuidetotheLiveAPISystemNote:Formoreinformation,readour.
GuidetotheLiveAPISystemNote:ThismodulerequiresaccesstotheBoxTrapperfeature.
BoxTrapper::showqueuetimeBoxTrapper::statusBoxTrapper::statusbuttonBranding::fileBranding::imageBranding::killimgBranding::setbrandingpkgBranding::setmyacctspkgBranding::setupdirsBranding::tempsetbrandingpkgCgi::backuplinkCgi::displayurchinCgi::phpmyadminlinkChkservd::geteximportChkservd::geteximport_sslClamScanner::barscPAddons::mainpgCron::crontab_permsCustInfo::getemailDenyIp::adddenyipDenyIp::deldenyipDenyIp::listdenyipsDiskUsage::showmanagerEmail::addautoresponderEmail::adddforwardEmail::addfilterEmail::addlistEmail::addmxEmail::addpopEmail::addspamEmail::addspamboxEmail::addspamfilterEmail::changemxEmail::checkfastmailEmail::checkpipefwdcpapi1--user=usernameBoxTrappersaveconfuser@example.
comsender1@test.
com,sender2@test.
com141"UserName"Thisfunctiondoesnotreturnoutput.
ParametersParameterTypeDescriptionPossiblevaluesExampleaccountstringRequiredTheaccount'semailaddress.
Avalidemailaddressontheserver.
user@example.
comfromsstringRequiredTheemailaddressesthatsendmailtotheaccount.
Acomma-separatedlistofemailaddresses.
sender1@test.
com,sender2@test.
comqueuetimeintegerRequiredThenumberofdaystoretainlogfilesandqueuedmessages.
Apositiveinteger.
14autowhitelistBooleanRequiredWhethertoenableautomaticwhitelisting.
1—Enable.
0—Disable.
1fromnamestringRequiredThenamethatFrom:BoxTrapperformemailsuse.
Anyvalidstring.
UserNameWarning:IncPanel&WHMversion11.
30andlater,cPaneltagsaredeprecated.
WeprovidethisexampletohelpdevelopersmovefromtheoldcPaneltagsystemtooursystem.
WerecommendLiveAPIstronglythatyouusethesystemtocallthecPanelAPIs.
onlyLiveAPINotes:Youthesevalues.
mustURI-encodeusernamerepresentsyouraccount-levelusername.
Formoreinformationandadditionaloutputoptions,readourdocumentationorruntheGuidetocPanelAPI1cpapi1--command.
helpIfyourunCloudLinux,youusethefullpathofthemustcpcommand:api1/usr/local/cpanel/bin/cpapi1Warning:cPanelAPI1isde.
precatedWestronglyrecommendthatyouusecPanelorAPI2UAPIinstead.
Notes:Email::clearspamboxEmail::delautoresponderEmail::deldforwardEmail::delfilterEmail::dellistEmail::delmxEmail::delpopEmail::delspamEmail::delspamboxEmail::disable_spam_autodeleteEmail::editquotaEmail::enable_spam_autodeleteEmail::getagingEmail::getarsbodyEmail::getarscharsetEmail::getarsfromEmail::getarshtmlEmail::getarsintervalEmail::getarsstartEmail::getarsstopEmail::getarssubjectEmail::getmailserverEmail::getmailserveruserEmail::getpopquotaEmail::has_spam_as_aclEmail::has_spam_autodeleteEmail::listmaildomainsEmail::listmaildomainsoptEmail::listmaildomainsoptndefEmail::mainacctdiskusedEmail::passwdlistEmail::passwdpopEmail::setmxacceptEmail::spamboxstatusReturnsThisfunctiondoesnotreturnoutput.
Thesefunctionsmayrequireafeaturelist.
ToviewtheavailablefeaturelistsonacPanelserver,viewWHM'sFeatureManagerinterface.
UnlessyoucaEmail::spamstatusEmail::tracefilterFileman::changepermFileman::delfileFileman::dofileopFileman::emptytrashFileman::extractfileFileman::fileimgFileman::fmmkdirFileman::fmmkfileFileman::fmpushfileFileman::fmrenameFileman::fmsavefileFileman::fmsavehtmlfileFileman::fullbackupFileman::getfileFileman::htmleditorFileman::killdirFileman::listfilesFileman::listfullbackupsFileman::listtemplatesFileman::restoreafFileman::restoredbFileman::restorefileFileman::restorefilesFileman::savehtmlfileFileman::showpermFileman::uploadfilesFileman::viewfileFrontPage::addfpFrontPage::delfpFrontPage::fpstatusFtp::addftpFtp::delftpFtp::ftpquotaFtp::ftpservernameFtp::ftpstatsloginFtp::get_anonftpllthisAPIviatheWHMAPI,youmustusetheappropriatecPanelports(2082or2083).
YoucanalsocallsomefunctionsviacPanel'sWebmailporFtp::get_anonftpinFtp::get_welcomemsgFtp::getftpquotaFtp::kill_ftp_sessionFtp::listftpstatsurlFtp::passwdftpFtp::set_anonftpFtp::set_anonftpinFtp::set_welcomemsgGpg::deletekeyGpg::exportkeyGpg::exportsecretkeyGpg::genkeyGpg::importkeysHtaccess::checkprotectedHtaccess::del_userHtaccess::getindexHtaccess::htdirlsHtaccess::number_of_usersHtaccess::phpselectableHtaccess::resnameHtaccess::set_passHtaccess::set_protectHtaccess::setindexHtaccess::setphpreferenceHtaccess::showusersImageManager::convertImageManager::dimensionsImageManager::hdimensionImageManager::scaleImageManager::thumbnailImageManager::wdimensionLastLogin::lastloginFindafunctionRelatedfunctionscPanelAPI1Functions-Email::addspam—ThisfunctionenablesApacheSpamAssassinforacPanelaccount.
cPanelAPI1Functions-Email::addspamfilter—ThisfunctionmodifiestheminimumApacheSpamAssassinspamscore.
cPanelAPI1Functions-Email::spamboxstatus—ThisfunctioncheckswhetherApacheSpamAssassinSpamBoxisenabled.
cPanelAPI1Functions-SpamAssassin::config—ThisfunctionprintsthecPanelaccount'sApacheSpamAssassin'sdefaultvalues.
cPanelAPI1Modules-SpamAssassin—TheSpamAssassinmodulemodifiesApacheSpamAssassinsettings.
ts(2095or2096).
LeechProtect::disableLeechProtect::enableLeechProtect::setupLeechProtect::showpasswdfileLeechProtect::statusLogManager::listdownloadsLogManager::savesettingsLogManager::showsettingsMagicRevision::uriMime::add_handlerMime::add_hotlinkMime::add_mimeMime::add_redirectMime::del_handlerMime::del_hotlinkMime::del_mimeMime::del_redirectMime::linkallownullMime::linkenableMime::linkextsMime::linkrurlMime::linkurlsMysql::adddbMysql::addhostMysql::adduserMysql::adduserdbMysql::checkdbMysql::deldbMysql::delhostMysql::deluserMysql::deluserdbMysql::gethostMysql::initcacheMysql::listdbsMysql::listdbsoptMysql::listusersMysql::listusersoptMysql::number_of_dbsMysql::number_of_usersMysql::repairdbMysql::routinesMysql::updateprivsNet::dnslookupNet::dnszoneNet::sethastracerouteNews::displaynewsNVData::setOptimizeWS::loadoptimizesettingsOptimizeWS::loadoptimizesettings(bytes)OptimizeWS::optimizewsPark::disableredirectPark::getredirecturlPark::parkPark::setredirecturlPark::unparkPostgres::adddbPostgres::adduserPostgres::adduserdbPostgres::deldbPostgres::deluserPostgres::deluserdbPostgres::initcachePostgres::listdbsoptPostgres::listusersoptPostgres::number_of_dbsPostgres::number_of_usersProxyUtils::proxyaddressResellers::accountlistoptResellers::themelistoptServerinfo::servicestatusSetLang::listlangsoptSetLang::setlangSpamAssassin::configSpamAssassin::saveconfigSSH::getportSSL::deleteSSL::deletecrtSSL::deletecsrSSL::deletekeySSL::gencrtSSL::gencsrSSL::genkeySSL::getcabundleSSL::getcnnameSSL::installSSL::installedhostSSL::listkeysoptSSL::showcrtSSL::showcsrSSL::showkeySSL::sslsharedstatusSSL::uploadcrtSSL::uploadkeyStatManager::doFormStatManager::updateUserConfigStats::analoglistStats::awstatsStats::bwbarStats::errlogStats::lastvisitorsStats::showbandwidthStats::webalizerStats::webalizerftpSubDomain::addsubdomainSubDomain::cplistsubdomainsSubDomain::disablesubrdSubDomain::listsubdomainsopSubDomain::setsuburlUI::confirmUI::redirectUI::showresult
今天获得消息,vdsina上了AMD EPYC系列的VDS,性价比比较高,站长弄了一个,盲猜CPU是AMD EPYC 7B12(经过咨询,详细CPU型号是“EPYC 7742”)。vdsina,俄罗斯公司,2014年开始运作至今,在售卖多类型VPS和独立服务器,可供选择的有俄罗斯莫斯科datapro和荷兰Serverius数据中心。付款比较麻烦:信用卡、webmoney、比特币,不支持PayPal...
RackNerd 商家从2019年上线以来争议也是比较大的,一直低价促销很多网友都认为坚持时间不长可能会跑路。不过,目前看到RackNerd还是在坚持且这次黑五活动也有发布,且活动促销也是比较多的,不过对于我们用户来说选择这些低价服务商尽量的不要将长远项目放在上面,低价年付套餐服务商一般都是用来临时业务的。RackNerd商家这次发布黑五促销活动,一共有五款年付套餐,涉及到多个机房。最低年付的套餐...
达州创梦网络怎么样,达州创梦网络公司位于四川省达州市,属于四川本地企业,资质齐全,IDC/ISP均有,从创梦网络这边租的服务器均可以备案,属于一手资源,高防机柜、大带宽、高防IP业务,一手整C IP段,四川电信,一手四川托管服务商,成都优化线路,机柜租用、服务器云服务器租用,适合建站做游戏,不须要在套CDN,全国访问快,直连省骨干,大网封UDP,无视UDP攻击,机房集群高达1.2TB,单机可提供1...
.htaccess为你推荐
美国vps服务器美国VPS服务器中,Linode和FDC哪个好? 哪个更快更稳定美国主机租用美国服务器租用整的这么便宜 啊.net虚拟主机.net虚拟主机空间怎么选择,国内虚拟主机哪家比较好,各有什么特色info域名注册info域名什么时候出现的?域名服务商最好的域名服务商是哪一家网站服务器租用个人网站服务器租用一年多少钱虚拟主机申请域名申请以及虚拟主机域名备案域名需要备案吗?php虚拟空间普通网站需要多大空间?本人新手php学习者,想买个虚拟空间用来放自己做的一些企业站,只是练习用途香港虚拟主机虚拟主机大陆的还是香港的好?
论坛虚拟主机 备案域名查询 中国万网域名注册 cybermonday 美元争夺战 BWH 表格样式 evssl证书 debian源 空间服务商 免费全能空间 河南服务器 服务器合租 息壤代理 支付宝扫码领红包 免费网页空间 服务器硬件防火墙 新世界服务器 空间首页登陆 双线asp空间 更多