[PHP] Re: mod_rewrite from .htaccess

2005-04-14 Thread Dasmeet Singh
Matthew Weier O'Phinney wrote:
* Amir Mohammad Saied [EMAIL PROTECTED]:
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
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[PHP] Re: mod_rewrite from .htaccess

2005-04-12 Thread Matthew Weier O'Phinney
* Amir Mohammad Saied [EMAIL PROTECTED]:
 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:[EMAIL PROTECTED] | http://vermontbotanical.org

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