Ib qho yuam kev thaum qhib lub vev xaib tshwj xeeb tuaj yeem tshwm sim rau ntau yam. Rau qhov yooj yim, cov teeb meem no tau raug suav, txhua ntawm lawv muaj nws tus kheej piav qhia thiab cov kev daws teeb meem. Kev ua yuam kev 500 kuj tsis suav nrog.
Tsim nyog
Is taws nem sib txuas
Cov Lus Qhia
Kauj ruam 1
Txiav txim siab qhov ua rau muaj peev xwm sab hauv qhov kev ua haujlwm sab hauv (yuam kev 500). Tau kawg, cov no tuaj yeem yog cov xwm txheej sib txawv, tab sis feem ntau qhov no yog vim muaj qhov tsis yog ntawm ib qhov system hu ua.htaccess lossis cov ntsiab lus ntawm cov tsis txhawb nqa hauv nws.
Kauj ruam 2
Yuav kom daws tau qhov teeb meem, qhov no, tawm tswv yim tawm Cov Lus Qhia Xaiv Txoj Haujlwm los ntawm kev tso ib tus hash ntawm pib ntawm kab. Khaws koj cov kev hloov pauv thiab tshawb xyuas yog tias qhov teeb meem ploj mus. Yog tias qhov yuam kev tseem ua txhaum, tej zaum yuav muaj ntau qhov laj thawj - kos lub ntsiab lus ntxiv thiab nco ntsoov kuaj xyuas qhov sau kom raug.
Kauj ruam 3
Yog tias koj pom qhov ua rau sab hauv kev ua tsis raug los ua tsis raug tuav ntawm CGI cov ntawv sau, nco ntsoov xyuas qhov kawg ntawm cov kab ntawm cov ntawv sau, lawv yuav tsum yog UNIX hom ntawv (n) thiab tsis muaj lwm qhov (ib qho kev ua yuam kev yog kab xaus rau hauv Windows hom (r / n)). Nkag mus ntawm FTP rau lub server siv ASCII hom.
Kauj ruam 4
Tshawb cov kev tso cai ntawm CGI ntawv sau. Lawv thiab phau ntawv teev npe qhov chaw uas lawv tau nyob yuav tsum yog nkag mus tau rau lawv tus tswv xwb. Hauv qhov no, txoj cai yuav tsum muaj cov ntawv hauv qab no: 0755 (drwxr-xr-x). Hloov cov lus no yog tsim nyog. Kuaj yog tias qhov yuam kev tshwm sim tom qab hloov pauv tau.
Kauj ruam 5
Txheeb xyuas tias qhov HTTP teb cov kab lus sib txuas yog lo lus kom raug raws li kev sib tw los ntawm kev khiav koj cov ntawv CGI. Pom lub cav hu ua error_log, uas yuav tsum muaj nyob rau hauv seem rau khaws cov ntaub ntawv sau cia (cov cav yuam kev), hauv "Cov Txheeb cais" ntawm cov khoom siv. Ua qhov tsim nyog hloov pauv thiab tshawb xyuas yog tias qhov kev ua yuam kev sab hauv ploj mus. Feem ntau feem ntau nws hloov tawm tias yog tsis muaj ib qho ntawm cov kev xaiv saum toj no pab, qhov yuam kev nyob hauv kev sau tsis raug. Nco ntsoov xyuas qhov tsis xws li koj nyuam qhuav kho.