Passa ai contenuti principali

Post

JSP su IIS con il Tomcat Connector

Le guide e gli how-to in giro per Internet su come usare le JSP su IIS non sono molto a prova di bomba, e a me piacciono le cose next-next-next. Questa è una procedura testata con Windows 2003 e il Connector 1.2.25... IIS deve essere installato, doh. Tomcat Scaricarlo da http://tomcat.apache.org/download-60.cgi Installarlo in d:\Tomcat6.0\ [è meglio se non ci sono spazi] Verificare che sia installato come servizio e che parta in automatico. Verificare che funzioni http://localhost:8080/ Stoppare il servizio Cancellare TUTTE le directory in tomcat\webapps [tranne manager , che può essere utile] Creare il file d:\Tomcat6.0\conf\Catalina\localhost\ROOT.xml che contenga <context docbase="D:\ sito \www\" path=""> </context> "D:\ sito \www\" è la "Home directory" della configurazione del sito in IIS Riavviare il servizio Verificare che in d:\Tomcat6.0\logs non ci siano errori Verificare che funzioni http://localhost:8080/ Verificare http:/...

Permessi di PHP su Windows

Mettiamo di aver installato PHP su Windows 200x, e poi ? La cartella del PHP che permessi avrà ? E' tutto un grande next-next-next ? Vediamo... Installo l'eseguibile da www.php.net come ISAPI. Modifico il php.ini Modifico i permessi Controlli vari Riavvio i servizi 1. INSTALLAZIONE Installo PHP in c:\Inetpub\PHP\. 2. PHP.INI In corsivo le opzioni opzionali... short_open_tag = On error_reporting = E_ALL & ~E_NOTICE variables_order = "EGPCS" register_argc_argv = On upload_tmp_dir="C:\Inetpub\PHP\upload" session.save_path="C:\Inetpub\PHP\session" 3. PERMESSI In C:\Inetpub\PHP\ eredito i permessi e poi... IIS_WPG : read & execute IUSR_machine : read & execute IWAM_machine : read & execute NETWORK SERVICE : read & execute Le directory session e upload le metto nella directory di PHP. Queste 2 cartelle erediteranno i permessi da \PHP\ in più gli diamo un bel... IIS_WPG : modify 4. Controlli vari Verifichiamo una manciata di config...

permessi su IIS

Quali saranno mai i permessi di una cartella disponibile sul world wide web tramite IIS 6.0? Non far ereditare i permessi della cartella in questione, e poi... Administrator : full control Ftp user : modify IIS_WPG : read & execute IUSR_machine : read & execute SYSTEM : full control Users : read & execute enjoy §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...

Apache Extended Log File Format

Description of Fields: · Field 1: User Address IP or domain name of the user accessing the site. · Field 2: RFC931 Domain for multi-homed web servers. · Field 3: User Authentication · Field 4: Date/Time Date and time the user accessed the site. · Field 5: GMT Offset Number of hours from GMT (if this is +0000 it is logged in GMT time). · Field 6: Action The particular operation of the hit (this must be in quotes). · Field 7: Return Code The return code indicates whether or not the action was successful etc. · Field 8: Size The size of the file sent. · Field 9: Referrer The URL which linked the user to your site · Field 10: Browser/Platform The web browser and platform used by the user accessing your site.