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
物语云计算(MonogatariCloud)是一家成立于2016年的老牌国人商家,主营国内游戏高防独服业务,拥有多家机房资源,产品质量过硬,颇有一定口碑。本次带来的是美国圣何塞 Equinix 机房的高性能I9-10980XE大带宽VPS,去程CN2GIA回程AS9929,美国原生IP,支持解锁奈飞等应用,支持免费安装Windows系统。值得注意的是,物语云采用的虚拟化技术为Hyper-V,资源全...
cmivps香港VPS带来了3个新消息:(1)双向流量改为单向流量,相当于流量间接扩大一倍;(2)Hong Kong 2T、Hong Kong 3T、Hong Kong 无限流量,这三款VPS开始支持Windows系统,如果需要中文版Windows系统请下单付款完成之后发ticket要求官方更改即可;(3)全场7折年付、8折月付优惠,优惠码有效期一个月!官方网站:https://www.cmivp...
韩国云服务器哪个好?韩国云服务器好用吗?韩国是距离我国很近的一个国家,很多站长用户在考虑国外云服务器时,也会将韩国云服务器列入其中。绝大部分用户都是接触的免备案香港和美国居多,在加上服务器确实不错,所以形成了习惯性依赖。但也有不少用户开始寻找其它的海外免备案云服务器,比如韩国云服务器。下面云服务器网(yuntue.com)就推荐最好用的韩国cn2云服务器,韩国CN2云服务器租用推荐。为什么推荐租用...
.htaccess为你推荐
域名注册网网站域名申请,在那备案?域名主机电脑域名是什么美国vps主机听说美国vps主机性能不错,没用过,想听听各位的意见~香港虚拟空间香港虚拟空间哪家好?免备案虚拟主机哪家免备案虚拟主机好,而且便宜点的?郑州虚拟主机请问郑州哪家公司可以做网站还有相应服务器服务的?apache虚拟主机Apache跟虚拟主机有什么关系?云南虚拟主机大家觉得云南天成科技服务器租用给力吗?虚拟主机测评虚拟主机怎么看好坏!!!!沈阳虚拟主机为什么修改了虚拟机Vmware的TCP/IP配置以后就上不了网
深圳虚拟主机 上海服务器租用 上海vps 免费申请域名和空间 google镜像 winscp wavecom omnis 香港主机 轻博客 sockscap 架设服务器 165邮箱 web服务器的架设 静态空间 免费申请个人网站 gtt 四川电信商城 789 什么是web服务器 更多