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
Sharktech 鲨鱼机房商家我们是不是算比较熟悉的,因为有很多的服务商渠道的高防服务器都是拿他们家的机器然后部署高防VPS主机的,不过这几年Sharktech商家有自己直接销售云服务器产品,比如看到有新增公有云主机有促销活动,一般有人可能买回去自己搭建虚拟主机拆分销售的,有的也是自用的。有看到不少网友在分享到鲨鱼机房商家促销活动期间,有赠送开通公有云主机$50,可以购买最低配置的,$49/月的...
paypal贝宝可撸$10的代金券!这两天paypal出了活动,本次并没有其他的限制,只要注册国区的paypal,使用国内的手机号和62开头的银联卡,就可以获得10美元的代金券,这个代金券购买产品需要大于10.1美元,站长给大家推荐几个方式,可以白嫖一年的VPS,有需要的朋友可以看看比较简单。PayPal送10美元活动:点击直达活动sfz与绑定卡的号码可以重复用 注册的邮箱,手机号与绑的银联卡必须...
RAKsmart发布了9月份优惠促销活动,从9月1日~9月30日期间,爆款美国服务器每日限量抢购最低$30.62-$46/月起,洛杉矶/圣何塞/香港/日本站群大量补货特价销售,美国1-10Gbps大带宽不限流量服务器低价热卖等。RAKsmart是一家华人运营的国外主机商,提供的产品包括独立服务器租用和VPS等,可选数据中心包括美国加州圣何塞、洛杉矶、中国香港、韩国、日本、荷兰等国家和地区数据中心(...
.htaccess为你推荐
免费虚拟主机哪个网站可以申请免费虚拟主机空间?免费虚拟主机空间请问哪里有:免费一级域名申请,免费虚拟主机,免费空间英文域名中文域名和英文域名有什么区别,越具体越好免费国内空间跪求国内最好的免费空间!美国vps主机我用的美国VPS主机429元/月,感觉好贵,请问有比较便宜点的吗?虚拟主机申请个人虚拟主机怎么申请?香港虚拟空间香港虚拟主机空间哪家最好asp虚拟空间怎样在一个虚拟空间里放上一个ASP和一个PHP的网站韩国虚拟主机韩国虚拟主机好还是香港的好虚拟主机评测网怎么选一台好的虚拟主机
美国虚拟主机推荐 域名到期查询 hkbn mediafire parseerror 网站实时监控 地址大全 个人空间申请 本网站在美国维护 linux空间 新天域互联 股票老左 国外免费asp空间 dnspod 网络速度 建站技术 htaccess 遨游论坛 装修瓦工培训 大容量存储控制器驱动 更多