kid_drew Posted December 6, 2006 Share Posted December 6, 2006 First time playing with mod rewrite. I have it enabled in httpd.conf and the module loads fine. The following line produces a 404:RewriteRule ^member/(.*) member.php?username=$1This is supposed to take http://www.xxxxxxx.com/member/my_name and redirect to http://www.xxxxxxx.com/member.php?username=my_nameAny ideas why it isn't working?Apache 2.0.59 (Win32) PHP 5.1.5 Link to comment https://forums.phpfreaks.com/topic/29631-apache-mod-rewrite-404/ Share on other sites More sharing options...
wildteen88 Posted December 6, 2006 Share Posted December 6, 2006 See if adding - [b]RewriteEngine On[/b] before your RewriteRule solves it. Link to comment https://forums.phpfreaks.com/topic/29631-apache-mod-rewrite-404/#findComment-136290 Share on other sites More sharing options...
kid_drew Posted December 6, 2006 Author Share Posted December 6, 2006 I have that line already. Any other ideas?[quote author=wildteen88 link=topic=117542.msg479899#msg479899 date=1165429903]See if adding - [b]RewriteEngine On[/b] before your RewriteRule solves it.[/quote] Link to comment https://forums.phpfreaks.com/topic/29631-apache-mod-rewrite-404/#findComment-136373 Share on other sites More sharing options...
kid_drew Posted December 6, 2006 Author Share Posted December 6, 2006 Didn't have it turned on in httpd.conf. I'm a dumbass... :P Link to comment https://forums.phpfreaks.com/topic/29631-apache-mod-rewrite-404/#findComment-136424 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.