This shows you the differences between two versions of the page.
apache [2014/01/07 13:34] |
apache [2022/04/16 12:22] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | @related : [[HTTPD]] [[SSL]] [[HTTP]] [[Server]] [[PHP]] [[SQL]] [[SSL]] | ||
+ | * LAMP | ||
+ | ** http://rzr.online.fr/isbn/2-7460-2840-9 | ||
+ | * http://packages.qa.debian.org/a/apache2.html | ||
+ | |||
+ | * [[log]] : http://debaday.debian.net/2008/10/05/logstalgia-pong-like-apache-log-viewer | ||
+ | * http://incubator.apache.org/cordova/ | ||
+ | * http://www.catswhocode.com/blog/10-useful-htaccess-snippets-to-have-in-your-toolbox# HttpD | ||
+ | * https://perishablepress.com/stupid-htaccess-tricks/# HtAccess | ||
+ | |||
+ | |||
+ | ===== index ===== | ||
+ | |||
+ | * http://www.webrankinfo.com/forums/topic_page_81953_45.htm | ||
+ | |||
+ | |||
+ | ===== SSL ===== | ||
+ | |||
+ | sudo aptitude install libapache2-mod-gnutls | ||
+ | sudo a2enmod gnutls | ||
+ | sudo a2ensite default-ssl && sudo invoke-rc.d apache2 restart | ||
+ | |||
+ | openssl s_client -connect localhost:443 | ||
+ | wget -O- https://localhost:443/ | ||
+ | |||
+ | |||
+ | MisC : | ||
+ | |||
+ | -12263 see [[SSL]] page | ||
+ | |||
+ | Error 107 (net::ERR_SSL_PROTOCOL_ERROR): SSL protocol error. | ||
+ | |||
+ | |||
+ | ==== Name or service not known: Failed to resolve server name for ==== | ||
+ | |||
+ | sudo invoke-rc.d apache2 restart | ||
+ | Restarting web server: apache2[Thu Jan 03 10:25:07 2008] [error] (EAI 2)Name or service not known: Failed to resolve server name for 192.168.0.60 (check DNS) -- or specify an explicit ServerName | ||
+ | httpd (no pid file) not running | ||
+ | [Thu Jan 03 10:25:23 2008] [error] (EAI 2)Name or service not known: Failed to resolve server name for 192.168.0.60 (check DNS) -- or specify an explicit ServerName | ||
+ | * http://www.linuxhomenetworking.com/wiki/index.php/Quick_HOWTO_:_Ch20_:_The_Apache_Web_Server#The_Apache_Error_Log_Files | ||
+ | |||
+ | |||
+ | grep 192.168.0.60 /etc/hosts | ||
+ | 192.168.0.60 localhost | ||
+ | |||
+ | |||
+ | ==== make_sock: could not bind to address [::]:443 ==== | ||
+ | |||
+ | sudo invoke-rc.d apache2 restart | ||
+ | ... | ||
+ | (98)Address already in use: make_sock: could not bind to address [::]:443 | ||
+ | (98)Address already in use: make_sock: could not bind to address 0.0.0.0:443 | ||
+ | no listening sockets available, shutting down | ||
+ | Unable to open logs | ||
+ | failed! | ||
+ | invoke-rc.d: initscript apache2, action "restart" failed. | ||
+ | |||
+ | sudo invoke-rc.d apache2 force-reload | ||
+ | |||
+ | netstat -tunap | grep 443 | ||
+ | tcp6 0 0 :::443 :::* LISTEN 32002/apache2 | ||
+ | |||
+ | Fail : | ||
+ | |||
+ | cat /etc/apache2/ports.conf | ||
+ | Listen 80 | ||
+ | <IfModule mod_ssl.c> | ||
+ | Listen 443 | ||
+ | </IfModule> | ||
+ | |||
+ | Success : | ||
+ | |||
+ | cat /etc/apache2/ports.conf | ||
+ | Listen 80 443 | ||
+ | |||
+ | Wip : | ||
+ | |||
+ | nc localhost 443 | ||
+ | localhost [127.0.0.1] 443 (https) : Connection refused | ||
+ | |||
+ | grep 443 /etc/apache2/sites-enabled/* | ||
+ | |||
+ | |||
+ | * http://bugs.debian.org/325594 | ||
+ | * http://ubuntuforums.org/showthread.php?t=451986 | ||
+ | * http://gentoo-wiki.com/Apache2_Install | ||
+ | |||
+ | |||
+ | === "500 Internet Server Error"=== | ||
+ | |||
+ | Internal Server Error | ||
+ | The server encountered an internal error or misconfiguration and was unable to complete your request. | ||
+ | |||
+ | Apache/ProXad [[Dec 3 2006 11:06:17]] Server at ... Port 80 | ||
+ | |||
+ | |||
+ | * http://groups.google.com/group/blip/browse_thread/thread/ab5ad84dcc4c7302/04d52c0cd8da7398?lnk=st&q=%22The+server+encountered+an+internal+error+or+misconfiguration+and+was+unable+to+complete+your+request.+Apache%2FProXad%22&rnum=7#04d52c0cd8da7398 | ||
+ | |||
+ | * http://www.commentcamarche.net/forum/affich-2534168-probleme-page-perso-serveur-free | ||
+ | |||
+ | |||
+ | === ERROR === | ||
+ | |||
+ | |||
+ | [warn] RSA server certificate CommonName (CN) `$hostname.example.org' does NOT match server name!? | ||
+ | |||
+ | |||
+ | === java / j2ee / tomcat === | ||
+ | |||
+ | @tag: [[j2ee]] | ||
+ | |||
+ | * http://tomcat.apache.org/connectors-doc/webserver_howto/apache.html | ||
+ | |||
+ | |||
+ | <code> | ||
+ | </code> |