LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Turn ON "URL rewrite" in Apache2 (debian etch) (https://www.linuxquestions.org/questions/linux-server-73/turn-on-url-rewrite-in-apache2-debian-etch-600762/)

swmok 11-19-2007 03:03 AM

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.

swmok 11-19-2007 03:11 AM

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

FraGGod 11-19-2007 04:02 AM

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.