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

iON Cloud:新加坡cn2 gia vps/1核/2G内存/25G SSD/250G流量/10M带宽,$35/月

iON Cloud怎么样?iON Cloud升级了新加坡CN2 VPS的带宽和流量最低配的原先带宽5M现在升级为10M,流量也从原先的150G升级为250G。注意,流量也仅计算出站方向。iON Cloud是Krypt旗下的云服务器品牌,成立于2019年,是美国老牌机房(1998~)krypt旗下的VPS云服务器品牌,主打国外VPS云服务器业务,均采用KVM架构,整体性能配置较高,云服务器产品质量靠...

无忧云(25元/月),国内BGP高防云服务器 2核2G5M

无忧云官网无忧云怎么样 无忧云服务器好不好 无忧云值不值得购买 无忧云,无忧云是一家成立于2017年的老牌商家旗下的服务器销售品牌,现由深圳市云上无忧网络科技有限公司运营,是正规持证IDC/ISP/IRCS商家,主要销售国内、中国香港、国外服务器产品,线路有腾讯云国外线路、自营香港CN2线路等,都是中国大陆直连线路,非常适合免北岸建站业务需求和各种负载较高的项目,同时国内服务器也有多个BGP以及高...

美国VPS 美国高防VPS 香港VPS 日本VPS 首月9元 百纵科技

百纵科技湖南百纵科技有限公司是一家具有ISP ICP 电信增值许可证的正规公司,多年不断转型探索现已颇具规模,公司成立于2009年 通过多年经营积累目前已独具一格,公司主要经营香港服务器,香港站群服务器,美国高防服务器,美国站群服务器,云服务器,母机租用托管!美国CN2云服务器,美国VPS,美国高防云主机,美国独立服务器,美国站群服务器,美国母机。美国原生IP支持大批量订货 合作 适用电商 亚马逊...

.htaccess为你推荐
域名查询域名信息查询网站独立ip空间独立IP的空间有什么好处海外域名什么叫海外域名?美国网站空间我想买个国外的网站空间,那家好,懂的用过的来说说郑州虚拟主机请问郑州哪家公司可以做网站还有相应服务器服务的?下载虚拟主机怎么安装虚拟机长沙虚拟主机在长沙,哪个兼职网站最最可靠??www二级域名两个不同的网站一个用主域名,一个用www二级域名,这样做对SEO有没有影响二级域名什么叫一级 二级域名域名邮箱域名是干什么的?域名邮箱和自己注册的邮箱有什么不一样吗?
php虚拟主机 虚拟空间哪个好 手机网站空间 长春域名注册 提供香港vps 国外免费空间 ibox官网 cpanel空间 789电视 国外代理服务器软件 免费全能主机 服务器合租 息壤代理 四核服务器 登陆空间 ebay注册 双线空间 ssl加速 globalsign ipower 更多