Skip to content

Instantly share code, notes, and snippets.

% ldd /nix/var/nix/profiles/default/bin/qgit 734 2 pts/3 ~/.ssh joachim@nixus 12-06-27 14:10:15
linux-vdso.so.1 => (0x00007fff18bff000)
libQtGui.so.4 => /nix/store/y2kx5k3fnvcmrs7cd8cpv8rg849gvlhv-qt-4.8.2/lib/libQtGui.so.4 (0x00007f87cbdff000)
libQtCore.so.4 => /nix/store/y2kx5k3fnvcmrs7cd8cpv8rg849gvlhv-qt-4.8.2/lib/libQtCore.so.4 (0x00007f87cb919000)
libpthread.so.0 => /nix/store/cj7a81wsm1ijwwpkks3725661h3263p5-glibc-2.13/lib/libpthread.so.0 (0x00007f87cb6fc000)
libXext.so.6 => /nix/store/8dlkm81v5ppq2hv2n41xgyg14831frsy-libXext-1.2.0/lib/libXext.so.6 (0x00007f87cb4ea000)
libX11.so.6 => /nix/store/fs18iz73x60ahd2ky9jb66mhf3s47ybv-libX11-1.4.1/lib/libX11.so.6 (0x00007f87cb1ad000)
libstdc++.so.6 => /nix/store/4gv9gby4bn1y0rlw3k0d5lyqy0yfkrc6-gcc-4.6.3/lib64/libstdc++.so.6 (0x00007f87caea9000)
libm.so.6 => /nix/store/cj7a81wsm1ijwwpkks3725661h3263p5-glibc-2.13/lib/libm.so.6 (0x00007f87cac
root@monitoring:~# cat /usr/local/shinken/etc/shinken-specific.cfg
define module {
modules Apache_passwd,ActiveDir_UI,Cfg_password,PNP_UI
manage_acl 1
play_sound 0
host 0.0.0.0
module_type webui
allow_html_output 0
max_output_length 100
module_name WebUI
root@lucid-desktop:~# apache2ctl -S
apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
VirtualHost configuration:
wildcard NameVirtualHosts and _default_ servers:
*:80 is a NameVirtualHost
default server 127.0.1.1 (/etc/apache2/sites-enabled/000-default:1)
port 80 namevhost 127.0.1.1 (/etc/apache2/sites-enabled/000-default:1)
Syntax OK
<IfModule mod_proxy.c>
#turning ProxyRequests on and allowing proxying from all may allow
#spammers to use your proxy to send email.
ProxyRequests Off
<Proxy *>
AddDefaultCharset off
Order deny,allow
# cat sites-enabled/000-default
<VirtualHost *:80>
ServerAdmin webmaster@localhost
DocumentRoot /var/www
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory /var/www/>
# telnet localhost 80
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
GET http://www.google.com HTTP/1.1
HTTP/1.1 400 Bad Request
Date: Sat, 09 Mar 2013 15:39:59 GMT
Server: Apache/2.2.14 (Ubuntu)
Vary: Accept-Encoding
# telnet localhost 80
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
GET http://www.google.com HTTP/1.0
HTTP/1.1 303 See Other
Date: Sat, 09 Mar 2013 15:49:39 GMT
Server: PasteWSGIServer/0.5 Python/2.6.5
Content-Length: 0
telnet localhost 80
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
GET http://www.google.com HTTP/1.0
HTTP/1.1 403 Forbidden
Date: Sat, 09 Mar 2013 15:53:03 GMT
Vary: Accept-Encoding
Content-Length: 282
[Sat Mar 09 16:56:14 2013] [error] [client xxxxxx ] client denied by server configuration: proxy:http://localhost:7767/
changed to:
[Sat Mar 09 17:02:07 2013] [error] [client xxxxxxx] client denied by server configuration: proxy:http://xx.xx.xx.xx:7767/
cat sites-enabled/000-default
<VirtualHost *:80>
ServerAdmin webmaster@localhost
DocumentRoot /var/www
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory /var/www/>