List Info

Thread: Apache2.0.54 mod_rewrite configuration




Apache2.0.54 mod_rewrite configuration
user name
2006-04-10 13:50:27
Hi, Bala

It's kinda old post but I will reply anyways.
My setup is PHP 4.4.2, Apache 2.0.55 on  Win XP. I work on
Linux box
as well and I know it works on Linux.
I have changed my httpd.conf file and created .htaccess file
in a web
folder and tried what you want to accomplish. It worked
fine. 

Here is a check list you might want to follow.

1. Does your Apache recognize .htaccess file? In httpd,conf
file, find
a line like below and make sure it is commented out.
   AccessFileName .htaccess

2. Is mod_rewrite enabled? To check, view the log files
under Apache/logs/

3. On your .htaccess file, change the code as below.
   RewriteEngine On
   RedirectMatch /mod_rewrite_test.php http://www.google.com/

Thanks,
Chong





 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.
yahoo.com/group/PHP-OOP/

<*> To unsubscribe from this group, send an email to:
    PHP-OOP-unsubscribe@yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.c
om/info/terms/
 



[1]

about | contact  Other archives ( Real Estate discussion Medical topics )