clean url problem .htaccess

From: Date: Sat, 01 Aug 2009 06:11:58 +0000
Subject: clean url problem .htaccess
Groups: php.general 
Request: Send a blank email to php-general+get-296157@lists.php.net to get a copy of this message
Hi I'm trying to use clean urls in my application: lets say convert http://mysite/article.php?id=3 to http://mysite/article/3/ my problem is to use /article act as it was /article.php here is mt .htacess : <FilesMatch "^article$"> ForceType application/x-httpd-php </FilesMatch> on php code parsing string from $_SERVER['PHP_SELF'] to get id out. this one works if i use article.php (http://mysite/article.php/3/ works) but i want to use /article without php extention. is there a way around?

« previous php.general (#296157) next »