Top 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

…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: 0exit(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 Fragmentation is a measure of the non-available portion of ap… 3, 0, 0, 0 and 1453

Continue Reading 53

Varnish VCL and Config for WordPress with W3 Total Cache

…ok if ( beresp.status != 200 ) { return (hit_for_pass); } # # don’t cache search results if( req.url ~ “\?s=” ){ return (hit_for_pass); } # # else ok to cache the response set beresp.ttl = 24h; return (deliver); } # sub vcl_deliver { # add debugging headers, so we can see what’s cached if (obj.hits > 0) { set resp.http.X-Cache = “HIT”; } else { set resp.http.X-Cache = “MISS”; } # remove some headers added by varnish unset resp.http.Via; unset… 12, 0, 0, 0 and 622.69

Continue Reading 23

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

…equirements) [APC] extension = apc.so apc.enabled = 1 apc.shm_segments = 1 apc.shm_size = 12M apc.optimization = 0 apc.num_files_hint = 256 apc.user_entries_hint = 1024 apc.ttl = 0 apc.user_ttl = 0 apc.gc_ttl = 600 apc.cache_by_default = 0 apc.filters = “-/home/username/public_html/scripts-not-to-cache/.*,-/home/username/public_html/apc/.*” apc.slam_defense = 0 apc.use_request_time = 1 apc.mmap_file_mask = /tmp/apc.XXXXXX apc.file_update_protecti… 3, 0, 0, 0 and 155.68

Continue Reading 18

Auto Mailer Form with Validation and reCAPTCHA

…”#\”>×</a> <strong class=\”alert-heading\”> Thank you for submitting a course Course Request. By providing this feedback you will help us to make adjustments to the schedule both now and in the future.</strong> </div>”; }//end if(Form::isValid // is the form loaded for the first time, or does input need to be entered or corrected? // if so, display the form. Validation prompts are displayed by the form itself…. 1, 0, 0, 0 and 155.67

Continue Reading 2

Automated WordPress Installation Via Custom Virtualmin Script Installer

…this must be retrievable via wget from YOUR SERVER (test this via terminal command) change ‘virtualmin’ => 0 to NOT use virtualmin scripts repo! (~line 152) Your custom file should now look like this: # script_custompress_files(&domain, version, &opts, &upgrade-info) # Returns a list of files needed by WordPress, each of which is a hash ref # containing a name, filename and URL — set virtualmin to 0 to use the url sub script… 1, 0, 0, 0 and 51.89

Continue Reading 35

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

University Website and Blog Redesign

This was a team project for the University of Tennessee at Chattanooga, my alma mater and current employer. I was hired by UTC as web development specialist in late 2012, and worked with a cross-discipline team on the redesign, information architecture, 10,000 page migration to CMS and user training for over 300 web editors. The design was built on Bootstrap, a versatile framework that includes a flexible, responsive grid system, icon font, and… 1, 0, 0, 0 and 51.89

Continue Reading 0

SSL and CloudFront CDN Support for WebFonts via .htaccess

I recently upgraded my WordPress theme to WooThemes Canvas 5.x, and I found that some of the icons were not rendering, but were showing a letter or integer instead. I dug into the code and found that these icons are now delivered via @font-face webfonts. Meanwhile, I’m working on a client’s e-commerce site with Google WebFonts and a custom webfont to display the Rupee symbol (Indian currency). Though the fonts were uploading properly… 1, 0, 0, 0 and 51.89

Continue Reading 0

Public Art Non-Profit Website

…website This project was yet another “rescue effort” to save a dying website that had been abandoned 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… 1, 0, 0, 0 and 51.89

Continue Reading 0

Web Hosting

Decades of experience hosting websites, from small local sites with only a few html pages, to high-traffic sites with thousands of users and pages.  Website hosting, evolved Web hosting has changed dramatically in the last few years. The majority of accounts are now running PHP scripts and MySQL, whereas in the past most accounts were only […]

Continue Reading