DirectoryIndex index.php

RewriteEngine on
RewriteRule	^$					-				[R,L]
RewriteRule	^([^/]*)\.(php|css)$			-				[L]
RewriteRule	^([^/]+)/?$				bugs.php?app=$1			[T=application/x-httpd-php,L]
RewriteRule	^([^/]+)/create/?$			create.php?app=$1		[T=application/x-httpd-php,L]
RewriteRule	^([^/]+)/bug_([0-9]+)/?$		detail.php?app=$1&bug=$2	[T=application/x-httpd-php,L]
RewriteRule	^([^/]+)/bug_([0-9]+)/update/?$		update.php?app=$1&bug=$2	[T=application/x-httpd-php,L]
RewriteRule	^([^/]+)/bug_([0-9]+)/printable/?$	printable.php?app=$1&bug=$2	[T=application/x-httpd-php,L]
RewriteRule	^([^/]+)/bug_([0-9]+)/comment/?$	comment.php?app=$1&bug=$2	[T=application/x-httpd-php,L]
RewriteRule	(.*)					-				[L]
