Turn ON "URL rewrite" in Apache2 (debian etch)
Hi All:
I've installed apache2 + php5 + mysql + gallery2 in my system. The gallery2 found that the "URL rewrite" didn't work. (there is test in the gallery2) However, I found that the module "rewrite" is loaded". What should I do to turn ON the "URL rewrite" in apache2? Thanks. |
Sorry. I missed one thing.
When I use phpinfo() to display my setup. I found that the "Virtual Directory Support" is disable. Is it important? or I need to turn it ON? If YES, how to enable this? Thanks |
Mod_Rewrite is an apache module, therefore it should be enabled in your apache .conf file.
As far as I know Debian-like distros, you should create file in /etc/apache/mods-enabled/ with the name like "rewrite.load" containing a line "LoadModule rewrite_module /usr/lib/apache/modules/mod_rewrite.so". |
All times are GMT -5. The time now is 10:47 PM. |