Contact Menu

Search results for "fcgi-exitlifetime-expired-terminated-by-calling-exit-return-code-0"

APC INFO Monitor

How to Configure APC Cache on Virtual Servers with PHP running under FCGId

…50 /home/domainname.com/logs/error_log In the logs, you should see messages like the following: mod_fcgid: process /home/username/public_html/scriptname.php(21272) exit(lifetime expired), terminated by calling exit(), return code: 0 … exit(server exited) … … exit(idle timeout) … if the cache is working well. If you see exit(communication error) then you have issues, probably cache full and fragmented. Fragmentation Explained… 16, […]

Continue Reading 57
wordnish

Varnish VCL and Config for WordPress with W3 Total Cache

…lient.ip; # # logged in users must always pass if( req.url ~ “^/wp-(login|admin)” || req.http.Cookie ~ “wordpress_logged_in_” ){ return (pass); } # accept purges from w3tc and varnish http purge if (req.request == “PURGE”) { return (lookup); } # # don’t cache search results if( req.url ~ “\?s=” ){ return (pass); } # # always […]

Continue Reading 24

Integrating Content from External Sources into OU Campus Using RSS, PHP, and JavaScript

…item) { if (++$i > $maxitems) { break; } $namespaces = $item->getNameSpaces( true ); $content = isset($namespaces[‘content’]) ? $item->children( $namespaces[‘content’] ) : ”; $content_encoded = isset($content->encoded) ? $content->encoded : ”; $media = isset($namespaces[‘media’]) ? $item->children( $namespaces[‘media’] ) : ”; $html = “ ” . “

Continue Reading 0
virtualmin-nginx-wordpress-permalinks-apc

WordPress with W3 Total Cache on Nginx with APC (Virtualmin)

…= 0 apc.use_request_time = 1 apc.mmap_file_mask = /tmp/apc.XXXXXX apc.file_update_protection = 2 apc.enable_cli = 0 apc.max_file_size = 2M apc.stat = 1 apc.write_lock = 1 apc.report_autofilter = 0 apc.include_once_override = 0 apc.rfc1867 = 0 apc.rfc1867_prefix = “upload_” apc.rfc1867_name = “APC_UPLOAD_PROGRESS” apc.rfc1867_freq = 0 apc.localcache = 1 apc.localcache.size = 256 apc.coredump_unmap = 0 apc.stat_ctime = 0 Reloading PHP-fastcgi… […]

Continue Reading 20
screen-shot 2016-03-02 at 1.13.28 PM

YouTube Gallery snippet & table transform for OU Campus

…TAINER ############################### */ .vid-container { position: relative; padding-bottom: 52%; padding-top: 30px; height: 0; } .vid-container iframe, .vid-container object, .vid-container embed { position: absolute; top: 0; left: 0; width: 100%; height: 100%; } /* VIDEOS PLAYLIST ############################### */ .vid-list-container { width: 92%; overflow: hidden; margin-top: 20px; margin-left:4%; padding-bottom: 20px; } .vid-list { width:… 1, 0, 0, […]

Continue Reading 0

WordPress Fail2Ban RegEx for RedHat, CentOS, Amazon Linux

VacantServer WordPress sites are getting hammered with bad logins and probes. We’ve implemented a plugin to log failed login attempts to syslog, and a Fail2Ban filter for the same. If you run these on RedHat, you’ll need some additional configuration info… here it is: WordPress login failure regex (error_log):

Apache nohome regex (error_log):

[…]

Continue Reading 0
Mark Making website

Public Art Non-Profit Website

…ed by a previous developer. Knowing how artists can be very particular about visual design and information architecture, I was a little apprehensive to take on this project… but I soon found some new PHP and JavaScript code to make WordPress behave as desired. Search Engine Optimization Fancybox JavaScript modal windows for YouTube, image slideshows, […]

Continue Reading 0