Re: mod_rewrite from .htaccess

From: Date: Thu, 14 Apr 2005 06:09:47 +0000
Subject: Re: mod_rewrite from .htaccess
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-213052@lists.php.net to get a copy of this message
Matthew Weier O'Phinney wrote:
* Amir Mohammad Saied <amirmohammadsaied@yahoo.com>:
I want to use mod_rewrite patterns, but i have not access to the httpd.conf so i think i should use .htaccess, but the patterns don't work properly there, have my admin should set any settings in the httpd.conf?
I use mod_rewrite from .htaccess all the time; just make sure that you have the 'RewriteEngine on' directive in your .htaccess file before your rewrite rules. It's entirely possible, however, that the server admin has denied permission for that action in the global httpd.conf, though. If you simply cannot get rules to work -- rules that you know work on another machine, for instance, that would be the next step to try. This should help you :)
http://www.yourhtmlsource.com/sitemanagement/urlrewriting.html http://www.webmasterworld.com/forum92/82.htm Regards, Dasmeet http://hostwindow.info

« previous php.general (#213052) next »