Re: clean url problem .htaccess
| From: | kranthi | Date: | Sat, 01 Aug 2009 14:01:54 +0000 |
| Subject: | Re: clean url problem .htaccess | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-296163@lists.php.net to get a copy of this message | ||
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 .htaccess is enabled/disabled)
but in the worst case try using $_SERVER['REQUEST_URI'] instead of
$_SERVER['PHP_SELF'].
in either case you cannot do this with .htaccess disabled.