程序人生
实战百度云主机BCH建站
作者:邵波涛    时间:2016-08-29 浏览量:8058

本想详细一步一步地记录建站过程,不过后面发现其实网络中已经写的太多了千篇一律,这里也不再多说了,说说网上不太多提的一些详细设置及遇到问题的处理。

首先域名申请,空间购买和备案都按照空间要求来就是了,都有详细的步骤说明书,不再多提了,值得一说的是网站备案,当时也是像很多站长一样考虑是否使用国外或香港线路的主机空间,主要是怕麻烦,实际备案过程非常简单,其实现在各大主机商包办了大多的环节,按照流程也很简单,例如百度的备案过程,首先申请备案,如实填写各项信息,信息核验表打印一下然后签上自己的名字,扫描上传(也可邮寄)即可,同时申请幕布一块,很快就邮寄过来了,按照要求拍张照片上传后几乎我们要做的工作就完成了,下面提交管局之类的百度都包办了,因此静静等待即可。

再说说百度BCH虚拟主机设置方面的事情,百度BCH虚拟主机几乎做好了所有设置,因此本地调试完网站后,关闭调试模式,更改数据库链接信息,执行数据库创建代码,做好目录权限设置,好了完成后FTP上传网站代码,网站几乎直接就可以使用了。

下面需要做的一个是rewrite规则。

在根目录下建立一个bcloud_nginx_user.conf文件以替代系统的规则,隐藏default.php代码如下:

location / {
try_files $uri $uri/ /defult.php?s=$uri&$args;
}

另外强调一点,如果域名一旦通过备案,请及时在控制面板中做好临时域名的301规则,否则临时域名收录一大片,备案域名未被抓取,很头痛,为此折腾好久,也投诉好久,只有这个办法最直接,或者直接在上面的文件中写代码也一样的,例如:

if ($host = linshi.com) {

	return 301 http://www.beian.com;

}

最后提醒一点,百度主机免费提供SSL证书,非常简单,开启后网站直接实现https加密传输,非常值得使用,但有一点会对没证书的外链代码使用产生影响,例如一键分享等功能,不过好像网上有解决办法了,后续找到后再添。

发言请留称呼=>
本文留言
共有 5736 条留言
  • Guestgonge
    2018-02-24
    guest test post bbcode html http://temresults2018.com/ simple
  • Akiportewat
    2018-03-09
    Obesity may affect warfarin dosage requirements in pediatric patients. The most common reported toxicities include hypotension, diarrhea, chills, vomiting, dyspnea, and peripheral edema in addition to increases in bilirubin, serum creatinine, and electrolyte abnormalities. https://deskule.nl/stmap_yi8v204.html?flutamide.azelastine.styplon Lymphocytosis is frequently associated with acute viral infections such as Epstein–Barr virus infection (mononucleosis) and cytomegalovirus (CMV) infection and rarely with unusual bacterial infections (ie, Brucella species infections). The antitussive drug, dextromethorphan is abused to achieve euphoric effects, which are not universally experienced at comparable doses. In the United States, the ICD, as it is used in reference to psychiatric disorders, is mandated by insurance companies to secure payments; whereas globally it is used to secure information regarding the epidemiology of the disorders. https://deskule.nl/stmap_yi8v155.html?glipizide.sugar.tadalis Nonimmune DHR refers to a wide array of reactions ranging from localized hives to life-threatening angioedema, hypotension, and anaphylaxis, all of which are explained by the nonimmunologic release or activation of inflammatory mediators. Further evaluation will be needed to determine its role in therapy of MDS. https://deskule.nl/stmap_yi8v38.html?zicam.eurax.butenafine The risk of MDS increases with age; in patients older than 65 to 70 years, an estimated 27 to 75 new cases occur per 100,000 persons per year. Given that multiple proteins are involved in determining the ultimate response to most drugs, many investigators are taking a more pharmacogenomic approach to elucidating genetic contributions to drug response. All aspirin-sensitive asthmatics do not fit the classic "aspirin triad" picture, and not all patients with asthma and nasal polyps develop sensitivity to aspirin. https://deskule.nl/stmap_yi8v204.html?postinor.surpass.betaloc The disease is usually slowly progressive with a mortality rate from 15% to greater than 90% depending on the study and period of follow-up. The GI tract in a patient presenting with water diarrhea. https://deskule.nl/stmap_yi8v70.html?amitriptyline.dolormin.noroxin Although all these factors play a role in minimizing poisoning dangers, particularly in children, the PPPA has perhaps had the most significant influence. Neutropenia occurs when the bone marrow does not produce enough WBCs to fight infection. The starting dose for a desensitization procedure is typically 1/1000th of the final therapeutic dose and the procedure can be completed within 4 to 12 hours.
  • Akiportewat
    2018-03-09
    Hypertension, skin-related effects, and diarrhea are common toxicities of the TKIs that target the three VEGF receptors (VEGFRs), while hypercholesterolemia and hyperglycemia are common toxicities associated with the mTOR inhibitors. Type IV reactions typically manifest as dermatologic events mediated by activated T cells (CD4 or CD8). https://fawaka.nu/stmap_6dk5172.html?kytril.altace.silenor Plasma clearance can also be determined following a single-dose IV injection with the collection of multiple blood samples to estimate area under the curve (AUC0-∞). Thus, SNPs are single-base differences that exist between individuals. Nonimmune-mediated mechanisms, such as direct-toxicity-type reactions, are associated with medications that cause bone marrow suppression. https://fawaka.nu/stmap_6dk5163.html?danazol.jarvis.protopic Permethrin 1% is applied to the scalp after the hair has been dried following a shampooing. Studies have shown that the distribution volume of tobramycin is largest in the most premature infants and decreases with increases in gestational age and birth weight of the infant. https://fawaka.nu/stmap_6dk573.html?maxalt.sumycin.eulexin Mannitol comes in inhaled dry-powder capsules of graduated doses, which makes its administration convenient. Exercise stress testing is contraindicated in subjects who are unable to exercise or who should not exercise because of physiologic or psychological limitations (Table e11-6). https://fawaka.nu/stmap_6dk510.html?alesse.fungal.benemid Thus, it will be essential for pharmacists to stay abreast of significant pharmacogenetic discoveries and guideline updates. Single-nucleotide polymorphisms may occur in exon, intron, or regulatory regions of a gene. https://fawaka.nu/stmap_6dk53.html?mobic.fluoxetin.noroxin Finally, clinicians must also be aware of pharmacokinetic and pharmacodynamic drug–drug and drug–food interactions that occur with many medications, which raise the probability of adverse effects, toxicity, or loss of efficacy. Dengue is also more common in urban and suburban environments than malaria because of the type of mosquito vector. Current efforts have focused on the identification of predictive biologic biomarkers for therapy.
  • Akiportewat
    2018-03-09
    Patients developed extreme dyspnea after several months on the drug. Kernicterus was reported in neonates receiving sulfonamides, which displaced bilirubin from protein-binding sites in the blood to cause hyperbilirubinemia. http://dev.webshop.jv.nl/stmap_aa7730.html?donepezil.catapres.irbesartan Both the vehicles of the taxanes (polyoxyethylated castor oil for paclitaxel; polysorbate 80 for docetaxel) and the taxanes themselves have been implicated as the cause of the reactions. If there is no improvement in respirations within 2 minutes, 0.5 mg is administered to adults and children. Obstructive lung disease implies a reduced capacity to get air through the conducting airways and out of the lungs. http://dev.webshop.jv.nl/stmap_aa77225.html?channel.zyprexa.levora Early withdrawal of the drug and administration of corticosteroids appear to improve the outcome significantly. Unlike somatostatin analogs, the pharmacologic activity of pegvisomant does not depend on the presence and quantity of somatostatin receptors in the pituitary tumor. http://dev.webshop.jv.nl/stmap_aa77210.html?keftab.tadalis.luvox The ability of the exercise stress test to identify (or to exclude) individuals with CAD is influenced by (a) their exercise capacity (ie, can the individual perform maximal or nearly maximal exercise?); (b) the presence of baseline ECG abnormalities (ie, bundle-branch block or ST segment depression) that may interfere with evaluation of ST segment changes; (c) medications that affect the ECG or the hemodynamic response to exercise (ie, digoxin and beta-adrenergic blocking agents, respectively); and (d) concomitant cardiac conditions that are associated with ECG abnormalities (ie, left ventricular hypertrophy, paced rhythm, pre-excitation) (Table e11-5). One of the most studied and widely used clinical models is the Patient Explanatory Model (PEM). http://dev.webshop.jv.nl/stmap_aa77145.html?alphagan.wellbutrin.entocort Probe-based methods require the extraction of DNA or RNA from a clinical specimen (ie, body fluid, tissue, or WBC) or directly from a microorganism culture. The number of drugs associated with adverse reactions involving the liver is extensive, but in clinical practice is dominated by alcohol, antibiotics, antiseizure medications and acetaminophen. For drugs with wide therapeutic ranges (eg, penicillins and cephalosporins), dosage adjustment may be necessary only in patients with moderate to severe renal failure. http://dev.webshop.jv.nl/stmap_aa7755.html?eurax.bentyl.macrobid It usually involves the face, tongue, lips, and pharynx but may also extent to the gastrointestinal tract. Renal cell carcinoma (RCC) represents about 2% of all adult malignancies and is the most common type of malignancy of the kidney and renal pelvis. It is currently unknown if the drug binds initially to the T cell receptor or whether the drug binds first to the MHC molecule on the APC, thereby signaling T cell activation.
  • Akiportewat
    2018-03-09
    Preliminary results of the monovalent ChAd3-EBOV Z. Respiratory depression and arrests resulting in death and hypoxic encephalopathy have occurred following rapid intravenous administration of midazolam for conscious sedation prior to medical procedures. Therefore, it is extremely important that practitioners be able to clinically evaluate suspect drugs quickly and to interrupt therapy when necessary. https://fawaka.nu/stmap_6dk5112.html?combivent.reflux.avodart Enzyme-linked immunosorbent assay (ELISA) can also be used to detect viral antigens and antibodies. The evaluation of dyspepsia, whether it be organic or functional, is an extremely prevalent GI tract complaint and the use of ambulatory 24-hour pH monitoring is an elegant way to link esophageal acid exposure, as detected by a probe in the esophagus, with patient symptoms. Which of the following tests is routinely done to diagnose a patient with myelodysplastic syndromes (MDS)? https://fawaka.nu/stmap_6dk586.html?rocky.propecia.desogestrel Comprehensive US epidemiologic data is scarce because cysticercosis is only a reportable disease in Arizona, California, New Mexico, Oregon, and Texas. The caspase cascade may be activated by two T-cell mediated pathways, the Fas-FasL pathway and the perforin-granzyme pathway. Partial responses were rare and were seen in only three patients in the everolimus group and none in the placebo group. https://fawaka.nu/stmap_6dk579.html?ranitidine.ciloxan.sildenafil This definition is arbitrary and may misclassify a small percentage of normal individuals as having lung dysfunction; it also may miss patients with mild pulmonary disease. In chronic trypanosomiasis, 20% to 30% of patients present with cardiomyopathy and heart failure (see Table e115-1). Although the presence of coronary arterial calcification correlates with the total atherosclerotic plaque burden in epicardial coronary arteries, it does not predict the presence or location of flow-limiting (greater than 50% luminal diameter narrowing) coronary arterial stenoses, nor does the lack of coronary arterial calcium exclude the presence of atherosclerotic plaque. https://fawaka.nu/stmap_6dk5105.html?metaglip.permethrin.viramune Men and women are affected equally, but there is a bimodal risk distribution when it comes to age, with peak incidences in those ages 10 to 25 years and again in those older than 60 years of age. Current guidelines do not recommend the use of prophylaxis for viruses or Pneumocystis jiroveci. Screening for which of the following polymorphisms is indicated prior to carbamazepine use in a person of Southeast Asian descent? https://fawaka.nu/stmap_6dk5118.html?sinutab.fluconazole.apap The prevalence of neurocysticercosis in patients presenting to US emergency departments with seizures is estimated to be approximately 2%. Cyclosporine inhibits interleukin-2 production and release and subsequent activation of resting T cells.
扫一扫,手机浏览网站
友情链接
申请链接