Re: [PHP] clean url problem .htaccess

2009-08-01 Thread Andrew Ballard
On Sat, Aug 1, 2009 at 2:11 AM, A.a.kblue...@gmail.com wrote: 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$

Re: [PHP] clean url problem .htaccess

2009-08-01 Thread A.a.k
what if I don't have access to server to enable mod_rewrite like a hosting, is there anyway to work around? just don't want to build entire website and finally can't get a hosting to enable mod_rewrite for me. Andrew Ballard aball...@gmail.com wrote in message

Re: [PHP] clean url problem .htaccess

2009-08-01 Thread kranthi
mod_rewrite is the best solution available to your case. more over if you are sure that your host supports .htaccess, there is very little chance that they will block mod rewrite alone. you can confirm that by phpinfo. look in apache2handler- Loaded Modules section (this does not tell you if

Re: [PHP] clean url problem .htaccess

2009-08-01 Thread O. Lavell
A.a.k wrote: what if I don't have access to server to enable mod_rewrite like a hosting, is there anyway to work around? No. just don't want to build entire website and finally can't get a hosting to enable mod_rewrite for me. Then make it a requirement when you are choosing a (shared)

RE: [PHP] clean url problem .htaccess

2009-08-01 Thread HallMarc Websites
-Original Message- From: A.a.k [mailto:blue...@gmail.com] Sent: Saturday, August 01, 2009 4:13 AM To: php-general@lists.php.net Subject: Re: [PHP] clean url problem .htaccess what if I don't have access to server to enable mod_rewrite like a hosting, is there anyway to work

RE: [PHP] clean url problem .htaccess

2009-08-01 Thread HallMarc Websites
-Original Message- From: O. Lavell [mailto:olav...@xs4all.nl] Sent: Saturday, August 01, 2009 12:34 PM To: php-general@lists.php.net Subject: Re: [PHP] clean url problem .htaccess A.a.k wrote: what if I don't have access to server to enable mod_rewrite like a hosting