Passa ai contenuti principali

Post

Visualizzazione dei post con l'etichetta http server

IIS Custom Errors URL e Application Pool

In IIS è possibile specificare degli errori HTTP personalizzati con un URL e far eseguire pagine o directory in Application Pool separati. Il problema appare quando l'url della pagina di errore sta in un Application pool diverso da quello dell'indirizzo. Per esempio: /non/esiste.html è la pagina invocata che non esiste /error/404.html è la pagina personalizzata di errore Se /non e /error sono in 2 Application pool diversi ci sarà un errore con uno status HTTP 403.18 con un messaggio: " The specified request cannot be executed from current Application Pool ". Per risolvere questo problema basta aggiungere un'istruzione nel registro e, ovviamente, riavviare IIS. L'istruzione è: [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W3SVC\Parameters] "IgnoreAppPoolForCustomErrors"=dword:00000001 enjoy /m

Errore 403.2 con IIS ?

Domanda : perchè vien fuori un errore 403.2 su IIS ? Magari dopo che hai fatto girare l'impostazione guidata delle autorizzazioni... Magari dopo che hai installato PHP... Risposta: perchè non c'è "lettura" nelle impostazioni del sito web (tab Home directory ). ciao /m

HTTP Status Codes

può essere utile... *1xx Codes:* (Information) This code class indicates a provisional response, consisting only of the Status-Line with optional headers, and is terminated by an empty line. _Note:_ Since HTTP/1.0 did not define any 1xx status codes, servers MUST NOT send a 1xx response to an HTTP/1.0 client except under experimental conditions. *100* (Continue): An interim response telling the browser the initial part of its request has been received and not rejected by the server. A final response code should be sent when the remainder of the material has been sent. *101* (Switching Protocols): The browser may wish to change protocols it's using. If such a request is sent and approved by the server this response is given. *2xx Codes:* (Success) The two hundred range is reserved for successful responses. Your log file will show these classes of codes for all successful hits. *200* (OK): The request was successful and information was returned. This is, by far, the most co...