Top Menu

Search results for "php enable apc only for subdomain"

Varnish VCL and Config for WordPress with W3 Total Cache

…nish unset resp.http.Via; unset resp.http.X-Varnish; } # sub vcl_hash { hash_data( req.url ); # altering hash so subdomains are ignored. # don’t do this if you actually run different sites on different subdomains if ( req.http.host ) { hash_data( regsub( req.http.host, “^([^\.]+\.)+([a-z]+)$”, “\1\2″ ) ); } else { hash_data( server.ip ); } # ensure separate cache for mobile clients (WPTouch workaround) if( req.http.User-Agent ~ “(iPod|iPhone|inco… 0, 0, 3, 0 and 272.98

Continue Reading 23

Recursive chmod Tricks

Recursively chmod only directories find . -type d -exec chmod 755 {} \; Similarly, recursively set the execute bit on every directory chmod -R a+X * The +X flag sets the execute bit on directories only Recursively chmod only files find . -type f -exec chmod 644 {} \; Recursively chmod only PHP files (with extension .php) find . -type f -name ‘*.php‘ -exec chmod 644 {} \;… 3, 0, 1, 0 and 194.99

Continue Reading 4

Punk Rock Music Community

…ted CentOS 5 series web server with 3GB RAM. While this is a relatively low-end box, it has plenty of horsepower for a single WordPress site and phpBB3 forum. Punktastic.com web site For this GIG, I soloed on… transferring the site from a WAMP development server to the live LAMP server configuring an active firewall to block the baddies installing monitoring and administration tools tuning Apache and MySQL for high traffic integrating APC… 1, 0, 0, 0 and 155.99

Continue Reading 0

Apache config for Worker MPM vs Prefork MPM

…ns of Apache will have been compiled to work with either Prefork or Worker MPM, but most by default are compiled only to work with Prefork. Changing to Worker MPM may allow your server to handle much higher traffic, more user sessions, with less RAM use. Your site or server will not scale well if it is running Prefork MPM. Worker is a bit more difficult to set up properly, and has some restrictions regarding functionality of PHP scripts. To dete… 2, 0, 1, 0 and 142.99

Continue Reading 2

Remote publishing to WordPress from Facebook via RSS

…rdPress website, you will need a Facebook page or app’s RSS feed. Facebook Fan Pages or Business Pages are for groups or businesses. If you build websites, you have probably set these up for several clients already. But to make the RSS feed from the page available to RSS readers and aggregators, you must change a few settings: Edit Page > Manage Permissions Uncheck Only Admins can See Page Age Restrictions: None Country Restrictions: No… 2, 0, 0, 0 and 103.99

Continue Reading 6

Joomla Content Management

If you’ve read anything at all about Content Management Systems (CMS), you’ll probably know that CMS are the most effective way to keep your site relevant to your audience. You also know at least three other things: Keeping your site relevant and up-to-date can be time consuming CMS can be complicated Portals can be expensive […]

Continue Reading 0

Public Art Non-Profit Website

Mark Making is a Chattanooga non-profit with a mission to enhance the town with public art and to engage the public in the creation and production of art, not merely it’s appreciation or exhibition. Mark Making 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,… 1, 0, 0, 0 and 52

Continue Reading 0