michaelfox + apache   105

Adaptive Images in HTML
Adaptive Images detects your visitor's screen size and automatically creates, caches, and delivers device appropriate re-scaled versions of your web page's embeded HTML images. No mark-up changes needed. It is intended for use with Responsive Designs and to be combined with Fluid Image techniques.
Why? Because your site is being increasingly viewed on smaller, slower, low bandwidth devices. On those devices your desktop-centric images load slowly, cause UI lag, and cost you and your visitors un-necessary bandwidth and money. Adaptive Images fixes that.
rwd  apache  images  mobile  responsive  php  gd  performance  optimization  ios  ipad  iphone 
september 2011 by michaelfox
ab - Apache HTTP server benchmarking tool - Apache HTTP Server
ab is a tool for benchmarking your Apache Hypertext Transfer Protocol (HTTP) server. It is designed to give you an impression of how your current Apache installation performs. This especially shows you how many requests per second your Apache installation is capable of serving.
apache  benchmark  performance  http  testing 
may 2011 by michaelfox
Question about Matchbox / HMVC | CodeIgniter Forums
Why dont you use an .htaccess

RewriteRule .* - [E=MODULES_PATH:application/modules/]
RewriteRule css\/(.+)\/(.+)\.css$ %{ENV:MODULES_PATH}$1/public/css/$2.css [NC] 
codeigniter  moduels  matchbox  assets  mod_rewrite  apache  redirect  css  javascript  htaccess  php 
march 2011 by michaelfox
Will web browsers cache content over https - Stack Overflow
By default web browsers should cache content over HTTPS the same as over HTTP, unless explicitly told otherwise via the HTTP Headers received.

This link is a good introduction to setting cache setting in HTTP headers.

is there anyway to tell them it's ok to cache?

This can be achieved by setting the max-age value in the Cache-Control header to a non-zero value, e.g.

Cache-Control: max-age=3600
will tell the browser that this page can be cached for 3600 seconds (1 hour)
cache  caching  headers  http  apache  max-age  ssl  https  performance  optimization 
october 2010 by michaelfox
Install Apache/PHP/MySQL on Snow Leopard
In /etc/apache2/httpd.conf, uncomment this line:

LoadModule php5_module libexec/apache2/libphp5.so
Restart Apache

sudo apachectl restart
Fix a warning appearing in phpinfo()

Create /etc/php.ini and make it writable

cd /etc
sudo cp php.ini.default php.ini
sudo chmod 666 php.ini
php  mac  osx  development  environment  server  testing  apache  mysql  linux  system  install  compile 
october 2010 by michaelfox
Sean Coates blogs: php-5.2.5 on Leopard
development environment up and running (I did a clean install). After the jump, I'll outline the steps that I took to get a functioning Apache, PHP, MySQL installed. Sure, you could use the leopard-bundled Apache and PHP, but if you're like me, you generally upgrade PHP (and use weird extensions) a lot more often than Apple will upgrade it.

Built on Rasmus' birthday. How appropriate (-:

First, a couple things should be noted: I'm still without local SSL support on Apache. I've been in touch with the maintainer of apache2 on macports (who, coincidentally, is probably familiar to many of you due to his past work on the PHP project: James Cox), but I still don't have a solution. See this bug report for info. The second thing is that my colleague/client/boss/friend (wow.. that sounds like a dangerous combination!) Marco helped me out quite a bit with the initial leopard-friendly incantations to make things build.
php  mac  osx  development  environment  server  testing  apache  mysql  linux  system  install  compile 
october 2010 by michaelfox
HOWTO: Setup PHP, Apache and MySQL development environment on OS X Snow Leopard
UPDATED: Updated to use PHP 5.3.1 and with easier instructions for fixing PHP’s iconv linking problem via Apple’s iconv.patch file.

Although Mac OS X Snow Leopard (10.6) finally comes with current versions of open source software developers use, the default setup is not enough for our needs so we’ve compiled this easy to follow guide to setting up a PHP development environment including the following:
PHP 5.3
Apache 2.2
MySQL 5.1
As I mentioned, we needed to add a few things to the PHP install that Apple left out:
GeoIP
libjpeg
libpng
IMAP
libmcrypt
gettext
php  mac  osx  development  environment  server  testing  apache  mysql  linux  system  install  compile 
october 2010 by michaelfox
CodeIgniter htaccess — Best of the Best
21
CodeIgniter htaccess
CodeIgniter

This is the CI .htaccess file that I use for my CodeIgniter PHP projects (some of these CodeIgniter htaccess rules can be used for any project, keep reading). CodeIgniter uses mod_rewrite to route all requests to the CI front controller. I’ve made some additions in an attempt to canocalize some of the CodeIgniter URL end points. The key benefit of a canocalized URL is that your search engine page ranking (page juice) is not spread across several pages, but instead, targeted to a single page.
htaccess Rule Breakdown

In your CodeIgniter project you will typically have a default controller and you will be able to access this controller at the following URLs:
codeigniter  htaccess  config  apache  php 
july 2010 by michaelfox
Speed Up Sites with htaccess Caching
This article shows 2 awesome ways to implement caching on your website using Apache .htaccess (httpd.conf) files on the Apache Web Server. Both methods are extremely simple to set up and will dramatically speed up your site!
apache  cache  caching  performance  htaccess  environment  config  webdev 
may 2010 by michaelfox
The Ultimate Htaccess
This is not an introduction to .htaccess… This is the evolution of the best of the best .htaccess on the planet. Its changed over the years with more and better .htaccess tricks using real .htaccess example code. I add my favorite htaccess-related links and sites, results from my htaccess research, and frequently update this article.

You’ve come to the right place if you are looking to acquire mad skills for using .htaccess files.

Originally (2003) this guide was known in certain hacker circles as the Ultimate .htaccess due to the high number of powerful htaccess tricks and tips to bypass security, and the fact that many of the rewrite tricks and htaccess code examples were easy to use.
htaccess  reference  apache  config  environment  caching  security  server  php  webdev 
may 2010 by michaelfox
Speed up your site – drop in .htaccess file - Binary Orders of Magnitude
It’s very important to speed up your web sites so you don’t loose the users.

That being said, many tasks in the checklists from Yahoo or Google are quite complex and are hard to grasp for people who didn’t work all their life configuring Apache or digging deep into the depths of HTTP.

To help this, I created a drop-in .htaccess file that will enable gzipping and long term expiration (helping with unique URLs for your assets).
htaccess  apache  gzip  deflate  performance  caching  expires  headers  speed  cache 
may 2010 by michaelfox
Top 5 WordPress Security Tips You Most Likely Don’t Follow
I recently gave a presentation at WordCamp Montreal on WordPress Security. While doing research for my presentation I came across a bunch of great WordPress Security tips that all WordPress users should use. Surprisingly, a good majority of these tips are not usually followed. Below is a list of the top 5 tips that most WordPress administrators do not do, but should:
apache  htaccess  tips  mod_rewrite  security  routing  wordpress  install  config 
may 2010 by michaelfox
Ultimate Htaccess Tutorial for .htaccess files
This is not an introduction to .htaccess… This is the evolution of .htaccess… The best of the best .htaccess info I can find.

Originally known as the Ultimate .htaccess Guide, its changed over the years with more and better .htaccess tricks using real .htaccess example code. I add my favorite htaccess-related links and sites, results from my best .htaccess experiments, and frequently update this article.

You’ve come to the right place if you are looking to acquire mad skills for using .htaccess files.
apache  htaccess  tips  mod_rewrite  security  routing  wordpress  install  config 
may 2010 by michaelfox
A Deeper Look at mod_rewrite for Apache - Nettuts+
RT: @envatowebdev: "An In Depth Guide to mod_rewrite for Apache" - new on Nettuts+ http://t.co/pdM8hoK
apache  environment  web  mod_rewrite  server  config  webdev  htaccess  tutorial  php 
september 2009 by michaelfox
« earlier      

related tags

*todo  admin  ajax  analytics  apache  API  apple  assets  bash  benchmark  bind  bots  brew  browser  build  cache  caching  calendar  charset  cheatsheet  cli  clustering  codeigniter  collection  compile  compression  config  configuration  content  continuousintegration  cruisecontrol  css  customization  database  db  debug  debugger  debugging  deflate  deployment  design  development  devops  dictionary  directives  directory  distributedcomputing  django  dns  dotfiles  dotmac  dynamic  dynamic_css  effecient  env  environment  error  etc  example  expires  expressionengine  extension  file  gd  generator  git  google  googleanalytics  grid  gzip  headers  hosting  howto  htaccess  html  html5  http  https  ical  icons  imagemagick  images  include  index  ini  install  ios  ipad  iphone  ISP  java  javascript  jquery  json  lamp  ldap  library  linux  list  local  log  logging  mac  macosx  magicwand  mail  maintenance  mamp  matchbox  max-age  mcrypt  memcache  metadata  min  mobile  mobileme  moduels  mod_rewrite  mozilla  mysql  optimization  organization  osx  parser  pear  peformance  performance  php  phpundercontrol  productivity  profile  programming  proxy  rdfa  redirect  reference  resources  responsive  rest  restful  rewrite  rfi  robots.txt  routing  rwd  scalability  scripts  security  server  setup  shell  snippet  snippets  spam  speed  ssl  svn  sysadmin  system  testing  tips  tools  trick  troubleshooting  tuning  tutorial  ubuntu  ubuntuserver  unix  urchin.js  urls  utf8  versioncontrol  vhost  virtual  virtualhost  vmware  web  webapp  webdav  webdev  webkit  webtool  weinre  wordpress  xdebug  XML  yui  zend  zend.server  zend.serverce  zip  zsce 

Copy this bookmark:



description:


tags: