Re: mod_rewrite from .htaccess

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



* Amir Mohammad Saied <amirmohammadsaied@xxxxxxxxx>:
> 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.

-- 
Matthew Weier O'Phinney           | WEBSITES:
Webmaster and IT Specialist       | http://www.garden.org
National Gardening Association    | http://www.kidsgardening.com
802-863-5251 x156                 | http://nationalgardenmonth.org
mailto:matthew@xxxxxxxxxx         | http://vermontbotanical.org

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux