views:

28

answers:

1

I'm attempting to perform some url rewriting, and after looking at the phpinfo file, I can't see any mention of this.. My host is FastHosts.

Should I be looking for something else in the phpinfo() or should I assume that mod_rewrite is simply disabled?

A: 

mod_rewrite is an apache module, not a PHP module. It isn't visible in phpinfo(). Create an .htaccess in some subfolder and make sure it contains:

RewriteEngine on

Point your browser to the folder. If you get a Server Error, it isn't installed. Otherwise it is.

Emil H
I've found out it is installed :) Would changes I make to .htaccess (url re-write rules) take effect immediately or would it need a restart from the webhost?
shane
I believe that they take effect without restarting Apache, yes.
Emil H