Skip to content

Instantly share code, notes, and snippets.

Avatar

Russell Matbouli russellmatbouli

View GitHub Profile
@russellmatbouli
russellmatbouli / .htaccess
Created Nov 21, 2016
Bugzilla PROJECT rewrite rules
View .htaccess
# This set of directives sets the PROJECT environment variable.
# Bugzilla uses this to switch configurations for multiple databases
# It matches a request url for a subdirectory called project, then sets
# the value of ENV{PROJECT} to the next directory (alphanumeric only).
RewriteEngine on
RewriteCond %{REQUEST_URI} "^(.*)project"
RewriteRule "project/([a-zA-Z0-9_]+?)/(.*)$" "%1$2" [E=PROJECT:$1]
SetEnvIfExpr "env('REDIRECT_PROJECT') =~ /^([a-zA-Z0-9_]+)$/" PROJECT=$1
View keybase.md

Keybase proof

I hereby claim:

  • I am russellmatbouli on github.
  • I am ruskle (https://keybase.io/ruskle) on keybase.
  • I have a public key ASAO5IKzVHtx1cyimWDxh7d-e9H1tXn5DdYt6rxZ4f9rjwo

To claim this, I am signing this object: