Tumblelog by Soup.io
Newer posts are loading.
You are at the newest post.
Click here to check if anything new just came in.

February 19 2016

35Der kommende Krieg gegen universelle Computer

Wie es weitergeht und mit welchen Folgen,kann man ansatzweise aus folgendem Vortrag bekannten Netizens entnehmen: https://t.co/X75uihFeWz

Tags: twt

February 17 2016

Sadly our website and wiki are unavailable again.

Sadly our https://t.co/IVhm5nZ2JS website and wiki are unavailable again. We 're investigating what is going on. Stay tuned.. #KodiForever

Tags: KodiForever twt

February 14 2016

nginx configuration with FastCGI for osTicket

I set up osTicket on a FreeBSD server and wanted to have it served by nginx and FastCGI. I ran into some problems with the approaches other people described and even with the recipe found on the nginx website. These problems resulted in errors logged as FastCGI sent in stderr: “Primary script unknown” while reading response header from upstream when I tried to upload an attachment to a ticket that I created on the client’s side (not on the agent’s side, i.e. /scp). The client/reporter received something like File Upload error <filename-here> undefined400 in an alert box. Additionally the WYSIWYG icons in the issue description area were missing. Some things need to be added to the corresponding server-block of the nginx configuration to fix these issues. I will only show the relevant parts of that block.

/path/to/nginx/conf/nginx.conf:

# ... more server block options ...

root   /usr/local/www/myhost/osticket/;

set $path_info “”;

location ~ /include {
    deny all;
    return 403;
}

location / {
    try_files   $uri $uri/ index.php;
    index  index.php;
}

if ($request_uri ~ “^/api(/[^\?]+)”) {
    set $path_info $1;
}

if ($request_uri ~ “^/scp/.*\.php(/[^\?]+)”) {
    set $path_info $1;
}

if ($request_uri ~ “^/.*\.php(/[^\?]+)”) {
    set $path_info $1;
}

location ~ ^/scp/ajax.php/.*$ {
    try_files $uri $uri/ /scp/ajax.php?$query_string;
}

location ~ ^/ajax.php/.*$ {
    try_files $uri $uri/ /ajax.php?$query_string;
}

location ~ ^/api/(?:tickets|tasks).*$ {
    try_files $uri $uri/ /api/http.php?$query_string;
}

# pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000
# or a unix socket.
#
location ~ \.php$ {
    include             fastcgi_params;
    fastcgi_param       SCRIPT_FILENAME  $request_filename;
    # fastcgi_pass        127.0.0.1:9000;
    # The socket approach requires the module php5-fpm
    fastcgi_pass        unix:/var/run/php-fpm.sock;
}

# deny access to .htaccess files, if Apache’s document root
# concurs with nginx’s one
#
location ~ /\.ht {
    deny  all;
}

/path/to/nginx/conf/fastcgi_params:

fastcgi_param  QUERY_STRING       $query_string;
fastcgi_param  REQUEST_METHOD     $request_method;
fastcgi_param  CONTENT_TYPE       $content_type;
fastcgi_param  CONTENT_LENGTH     $content_length;
fastcgi_param  SCRIPT_FILENAME    $document_root$fastcgi_script_name;
fastcgi_param  SCRIPT_NAME        $fastcgi_script_name;
fastcgi_param  PATH_INFO          $path_info;
fastcgi_param  REQUEST_URI        $request_uri;
fastcgi_param  DOCUMENT_URI       $document_uri;
fastcgi_param  DOCUMENT_ROOT      $document_root;
fastcgi_param  SERVER_PROTOCOL    $server_protocol;
fastcgi_param  HTTPS              $https if_not_empty;

fastcgi_param  GATEWAY_INTERFACE  CGI/1.1;
fastcgi_param  SERVER_SOFTWARE    nginx/$nginx_version;

fastcgi_param  REMOTE_ADDR        $remote_addr;
fastcgi_param  REMOTE_PORT        $remote_port;
fastcgi_param  SERVER_ADDR        $server_addr;
fastcgi_param  SERVER_PORT        $server_port;
fastcgi_param  SERVER_NAME        $server_name;

# PHP only, required if PHP was built with --enable-force-cgi-redirect
fastcgi_param  REDIRECT_STATUS    200;

February 07 2016

Exposing the Invisible

#AKtiVCongrEZ gerade Session zu #Metadaten – talks zum Thema: https://t.co/2sbaFKNk79

Tags: AKtiVCongrEZ Metadaten twt

Belgische Rissreaktoren: Wie sicher sind Tihange 2 und Doel 3? | Nuklearia

Wer die Sicherheit der belgischen »Schrottreaktoren« fundiert beurteilen will, muss sich mit der Technik befassen: https://t.co/yP64S9E97U.

Tags: twt

February 05 2016

The Essential Guide to Electronics in Shenzhen | Crowd Supply

I wrote a sourcing guidebook for electronics in Shenzhen. Crowdfunding now at https://t.co/2En9DLGiyW. Please RT. https://t.co/TpVbrz3MgK

Tags: twt

February 03 2016

[base] Revision 295124

FreeBSD bhyve now supports Windows UEFI guests - https://t.co/23zr5lXcQN #Unix #Hypervisor

Tags: Unix Hypervisor twt

February 02 2016

Decentraleyes :: Add-ons for Firefox

Decentraleyes: A Firefox addon to prevent tracking via free CDN providers https://t.co/zijdDZMb4o

Tags: twt

January 31 2016

A Mr. Robot Reading List — Medium

A list of what to read while we wait for #MrRobot to come back, by @girlziplocked https://t.co/hq7Qbo27Zi

Tags: MrRobot twt

January 30 2016

fail2web — fail2ban GUI

fail2web — fail2ban GUI https://t.co/gCGmMCij4t #hackingtools

Tags: hackingtools twt

January 29 2016

2424 aac9 450

seananmcguire:

lior-liraz:

vaspider:

popculturebrain:

micdotcom:

micdotcom:

micdotcom:

the-future-now:

Wait, does rapper B.o.B. really think the Earth is flat — or is he trolling us?

After claiming to have watched Felix Baumgartner’s famous Red Bull Stratos jump from the edge of space, recording artist B.o.B is furiously tweeting everything science says about the Earth being round is a total lie. Why is he doing this? We have an idea.

Follow @the-future-now

Update: Neil deGrasse Tyson has joined the fray to lay the scientific smackdown on B.o.B.

Tyson sent the rapper multiple tweets disproving him and then things got personal.

Update: This feud is getting weirder and weirder. B.o.B released a new track “Flatline” on Monday, that takes a few shots at Neil deGrasse Tyson. “Aye, Neil Tyson need to loosen up his vest,” the rapper spits. “They’ll probably write that man one hell of a check.”

And then Tyson fired back with a diss track of his own. Really.

The astrophysicist enlisted the help of his nephew Stephen J. Tyson, who is apparently a rapper. Tyson delivers the facts at B.o.B. over a Drake beat.

Update: It got better. Neil deGrasse Tyson apparently wasn’t done educating B.o.B. Here’s what happened on The Nightly Show:

You need to hear the crowd’s reaction to this.

This is the greatest thing happening right now.

“And by the way, this is called gravity” from Neil deGrasse Tyson is the greatest fucking mic drop of all time.

Okay, but many if not most of the bizarre theories B.o.B spouted were antisemitic conspiracy theories (clones and lizard people, anyone?), he referred his audience to an infamous Holocaust denier, and said that Obama was being controlled by Jews, so I’d appreciate it if everyone would stop acting like it’s a fucking joke.

Oh, ugh.  I had not heard about any of that.

Thank you for the information.

Reposted fromFiresighn Firesighn
Older posts are this way If this message doesn't go away, click anywhere on the page to continue loading posts.
Could not load more posts
Maybe Soup is currently being updated? I'll try again automatically in a few seconds...
Just a second, loading more posts...
You've reached the end.

Don't be the product, buy the product!

Schweinderl