All pastes #225112 Raw Edit

Jink

public text v1 · immutable
#225112 ·published 2006-10-27 19:24 UTC
rendered paste body
Im trying to get http://beta2.dailywireless.org/?1234 to be equivalent to http://beta2.dailywireless.org/index.php?p=1234

from .htaccess:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{QUERY_STRING} (.*)
RewriteRule ^$ index.php?p=%1 [L]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule .* /index.php [L]
</IfModule>