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 Quote Link to comment 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. Quote Link to comment 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] Quote Link to comment 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 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.