Cov txheej txheem:
Video: Kuv yuav muab httpErrors nyob qhov twg hauv web config?
2024 Tus sau: Lynn Donovan | [email protected]. Kawg hloov kho: 2023-12-15 23:47
Kev teeb tsa . Koj ua tau teeb tsa qhov < http yuam kev > yam nyob rau qib server hauv ApplicationHost. config cov ntaub ntawv thiab ntawm qhov chaw thiab daim ntawv thov qib hauv qhov tsim nyog Web . config ntaub ntawv.
Yog li ntawd, kuv yuav teeb tsa qhov kev cai 404 nplooj ntawv yuam kev hauv Microsoft IIS li cas?
Mus rau "Kev Sib Txuas" pane thiab nyem lub cim ntxiv (+) nyob ib sab ntawm koj server npe kom nthuav nws. Tom qab ntawd nthuav "Sites." Tom ntej no, mus rau qhov chaw lossis daim ntawv thov koj xav tau teem ib nplooj ntawv yuam kev rau. Kauj ruam 3: Qhib Nplooj ntawv yuam kev . Double-click lub " Nplooj ntawv yuam kev ” icon nyob rau hauv lub tsev pane; nyem "Edit."
Tsis tas li ntawd, kuv yuav teeb tsa customErrors hom li cas? Tsim ib < kev cai yuam kev > tag nyob rau hauv "web. config" configuration file nyob rau hauv lub hauv paus directory ntawm daim ntawv thov web tam sim no. Qhov no < kev cai yuam kev > tag yuav tsum muaj nws " hom "attribute teeb mus "Off". Thaum twg kev cai yuam kev yog teeb mus rau On lossis RemoteOnly, koj yuav tsum tau hais kom meej qhov defaultRedirect attribute.
Tom qab ntawd, lo lus nug yog, Kuv yuav ua li cas thiaj li tsis raug cai yuam kev hauv web config?
Txhawm rau lov tes taw kev cai yuam kev ua raws cov kauj ruam no:
- Tsim ib daim ntawv theej ntawm lub vev xaib.
- Qhib lub Web.
- Hauv Web.
- Teem lub customErrors hom kom tawm raws li hauv qab no:
- Txuag lub Web.
- Thaum koj khiav qhov kev thov teeb meem, ASP. NET tam sim no rov qab cov lus qhia ntxaws ntxaws uas piav qhia txog qhov tshwj xeeb ntawm qhov teeb meem.
- Reenable.
Cov cwj pwm twg ntawm cov kev cai yuam kev raug siv los teeb tsa nplooj ntawv yuam kev URL?
config muaj ob yam ntxwv uas cuam tshuam dab tsi nplooj ntawv yuam kev yog qhia: defaultRedirect thiab hom. Lub defaultRedirect tus cwj pwm yog xaiv tau. Yog hais tias muab, nws qhia cov URL ntawm nplooj ntawv yuam kev thiab qhia tias cov nplooj ntawv yuam kev yuav tsum tau qhia es tsis txhob Runtime yuam kev YSOD.
Pom zoo:
Kuv yuav muab lub nplhaib rau kuv lub xov tooj nyob qhov twg?
Cov neeg feem coob xaiv muab lawv lub xov tooj ringholder nyob nruab nrab ntawm lawv lub xov tooj. Nws yog qhov chaw tshaj plaws los lo rau lub nplhaib tuav raws li nws zoo nkaus li zoo. Tsis tas li ntawd, qhov kev ua tau zoo ntawm kev ua tus kickstand ntawm lub rooj yog zoo nkauj heev
Qhov chaw nyob IP twg raug muab ua qhov chaw nyob ntiag tug?
Tus IPv4 chaw nyob RFC1918 lub npe IP chaw nyob ntau Tus lej ntawm qhov chaw nyob 24-ntsis thaiv 10.0.0.0 - 10.255.255.255 16777216 20-ntsis thaiv 172.16.0.0 - 172.31.255.255 block 104.65.6 2018.25.65
Kuv yuav tsum tso kuv lub koob yees duab CCTV nyob qhov twg hauv kuv lub tsev?
Qhov chaw zoo tshaj plaws rau nruab lub koob yees duab kev ruaj ntseg Lub qhov rooj hauv ntej, lub qhov rooj nraub qaum thiab lub qhov rais thawj-pem teb yog cov kev nkag mus rau cov neeg ua phem tshaj plaws, raws li Bureau of Justice Statistics. Qhov tseeb, nyob ib ncig ntawm 81 feem pua ntawm cov tub sab nkag mus rau hauv thawj pem teb, yog li muab koj lub koob yees duab qhov twg cov tub sab yuav nkag mus
Nyob rau hauv qhov xwm txheej twg yuav Layer 2 hloov muaj qhov chaw nyob IP teeb tsa?
Txheej 2 hloov pauv tuaj yeem teeb tsa nrog qhov chaw nyob IP kom lawv tuaj yeem tswj hwm los ntawm tus thawj tswj hwm. Txheej 3 keyboards tuaj yeem siv qhov chaw nyob IP ntawm cov chaw nres nkoj. Txheej 2 keyboards tsis tas yuav tsum tau teeb tsa IP chaw nyob xa mus rau cov neeg siv tsheb lossis ua raws li lub rooj vag qub
Qhov twg nyob rau hauv ib lub rooj ntaub ntawv yuav tsum tau muab tso rau qhov ntsuas ntsuas?
Nyob rau hauv ib lub rooj ntaub ntawv, units ntawm kev ntsuas yuav tsum tau qhia nyob rau hauv cov nqe lus ntawm cov kab uas cov ntaub ntawv muaj nuj nqis teev. Qhov no qhia tau hais tias chav tsev qhia siv rau tag nrho cov ntaub ntawv muaj nuj nqis teev nyob rau hauv kab