Monthly Archives: May 2016

Apache / PHP – End of script output before headers

 

[Thu May 12 03:14:41.562083 2016] [core:error] [pid 25726] [client 68.71.XXX.XXX:44611] End of script output before headers: manage.php
[Thu May 12 03:14:41.697026 2016] [:error] [pid 26855] [client 84.91.XXX.XXX:60222] SoftException in Application.cpp:256: File “/home/rocker/public_html/system/manage.php” is writeable by group

I had to set the file to 755.

As seen on http://stackoverflow.com/questions/17583341/error-500-premature-end-of-script-headers

A More Efficient Method for Embedding YouTube Videos

When you embed any YouTube video on your website using standard IFRAME tags, you’ll be surprised to know how much extra weight that YouTube video will add to your page. The web page has to download ~0.5 MB of extra resources (CSS, JavaScript and images) for rendering the YouTube video player and the files will download even if the visitor on your website has chosen not to watch the embedded YouTube video.

Read all about it here http://www.labnol.org/internet/light-youtube-embeds/27941/

Beyond The Wizards Sleeve – Diagram Girl – repost?

Beyond The Wizards Sleeve, the sonic brotherhood of @ErolAlkan and @RichardNorris, present a brand new single, ‘Diagram Girl’ released April 8th 2016 on @Phantasysound. Taken from a forthcoming album, ‘Diagram Girl’ glides into view on the wings of @hannahpeel‘s reflective, androgynous vocal, glacial synthesis and a haze of woozy electronic beats, as if its willing spring into existence.

As heard on https://soundcloud.com/erolalkan/sets/diagram-girl-beyond-the

More readings https://thump.vice.com/en_uk/track/delve-deep-beyond-the-wizards-sleeve-with-new-single-diagram-girl

fatal: no matching comp found: client zlib server none,[email protected]

 

May  4 00:04:35 sd-71796 sshd[20887]: fatal: no matching comp found: client zlib server none,[email protected] [preauth]

You need to install zlib and libgcrypt11-dev and set compression to yes on /etc/ssh/sshd_config.

sudo apt-get install libgcrypt11-dev zlib1g-dev

Then

sudo nano /etc/ssh/sshd_config

And add Compression yes to it.
Save and restart ssh.

sudo service ssh restart

In some cases you might need to restart the server.

 

cannot read directory for multi:

While I was setting up a CGI directory I was getting the following error

[Tue May 03 01:22:11.274857 2016] [negotiation:error] [pid 2625] (13)Permission denied: [client 84.91.XXX.XXX:49530] AH00686: cannot read directory for multi: /var/www/domain.com/, referer: http://domain.com/

This solved me the issue….

ScriptAlias /cgi-bin/ /var/www/domain.com/cgi-bin/
 <Directory /var/www/domain.com/>
   AllowOverride None
   Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
   Order allow,deny
   Allow from all
</Directory>