Commit: 703a5cbfba0f924c56ff85095f260368435909a0 Author: Dejan Marjanovic <d...@php.net> Thu, 3 Oct 2013 03:10:36 +0200 Committer: Peter Cowburn <petercowb...@gmail.com> Thu, 3 Oct 2013 14:17:43 +0100 Parents: bbed473811f9127b3ba670e7da726c3d892c06f3 Branches: master
Link: http://git.php.net/?p=web/people.git;a=commitdiff;h=703a5cbfba0f924c56ff85095f260368435909a0 Log: shorten profile URL Changed paths: A .htaccess Diff: diff --git a/.htaccess b/.htaccess new file mode 100644 index 0000000..939e99b --- /dev/null +++ b/.htaccess @@ -0,0 +1,5 @@ +RewriteEngine On + +RewriteCond %{REQUEST_FILENAME} !-f +RewriteCond %{REQUEST_FILENAME} !-d +RewriteRule ^(.*)$ http://%{HTTP_HOST}/user.php?username=$1 [L,QSA,R=302] \ No newline at end of file -- PHP Webmaster List Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php