Why rewrite URLs? Check Wikipedia
Make sure AllowOverride is on for your directory, or put in httpd.conf
# Apache (.htaccess or httpd.conf)
RewriteEngine On
diff --git actions/admin/settings/136.phpfpm.php actions/admin/settings/136.phpfpm.php | |
index be0e925..07c73ce 100644 | |
--- actions/admin/settings/136.phpfpm.php | |
+++ actions/admin/settings/136.phpfpm.php | |
@@ -54,20 +54,17 @@ return array( | |
'default' => 'froxlorlocal', | |
'save_method' => 'storeSettingField' | |
), | |
- /* | |
- * @TODO implement if phpfpm knows custom php.ini files |
Why rewrite URLs? Check Wikipedia
Make sure AllowOverride is on for your directory, or put in httpd.conf
# Apache (.htaccess or httpd.conf)
RewriteEngine On
#!/bin/bash | |
# ssh-multi | |
# D.Kovalov | |
# Based on http://linuxpixies.blogspot.jp/2011/06/tmux-copy-mode-and-how-to-control.html | |
# a script to ssh multiple servers over multiple tmux panes | |
starttmux() { | |
if [ -z "$HOSTS" ]; then |
#!/bin/sh | |
### BEGIN INIT INFO | |
# Provides: bluepill | |
# Required-Start: | |
# Required-Stop: | |
# Default-Start: 2 3 4 5 | |
# Default-Stop: 0 1 6 | |
# Short-Description: bluepill daemon, providing process monitoring | |
# Description: bluepill is a monitoring tool. More info at http://github.com/arya/bluepill. |
In one of my pet projects, I redirect all requests to index.php, which then decides what to do with it:
This snippet in your .htaccess will ensure that all requests for files and folders that does not exists will be redirected to index.php:
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-d
// ============================================================================ | |
// gzstream, C++ iostream classes wrapping the zlib compression library. | |
// Copyright (C) 2001 Deepak Bandyopadhyay, Lutz Kettner | |
// | |
// This library is free software; you can redistribute it and/or | |
// modify it under the terms of the GNU Lesser General Public | |
// License as published by the Free Software Foundation; either | |
// version 2.1 of the License, or (at your option) any later version. | |
// | |
// This library is distributed in the hope that it will be useful, |
#!/usr/bin/env ruby | |
# Apache log analyzer | |
# by Przemek Sobstel ([email protected]) | |
require 'rubygems' | |
require 'slop' | |
require 'time' | |
class Array |
#!/bin/sh | |
######################################################################### | |
# # | |
# MySQL performance tuning primer script # | |
# Writen by: Matthew Montgomery <[email protected]> # | |
# Inspired by: MySQLARd (http://gert.sos.be/demo/mysqlar/) # | |
# Version: 1.5-r2 Released: 2009-04-21 # | |
# Licenced under GPLv2 # | |
# # |
#! /bin/sh | |
# | |
# $FreeBSD$ | |
# | |
# Maintenance shell script to backup mysql databases | |
# Put this in /usr/local/etc/periodic/daily, and it will be run | |
# every night | |
# | |
# By Geoff Garside <Geoff.Garside at m247.com>, Mon, Jan 24 13:04:18 GMT 2010 | |
# |
3.1.1 Mac OS X guests | |
Starting with version 3.2, VirtualBox has experimental support for Mac OS X guests. | |
This allows you to install and execute unmodified versions of OS X on supported host | |
hardware. | |
Whereas competing solutions perform modifications to the OS X install DVDs (e.g. | |
different boot loader and replaced files), VirtualBox is the first product to provide the | |
modern PC architecture expected by OS X without requiring any “hacks”. | |
You should be aware of a number of important issues before attempting to install | |
a Mac OS X guest: | |
1. OS X is commercial, licensed software and contains both license and technical |