Kia
-
Posts
4 -
Joined
-
Last visited
Never
Posts posted by Kia
-
-
somewhere in your apache conf file you need to add the line
AddModule mod_rewite.c
however I'm not sure exactly WHERE it is supposed to go.
I'm going to keep looking but I'll check back here and see if anyone has posted a pointer in the mean time
-
Thank you
that solved the problem, guess that's what I get for staring at lines of code for several hours straight.
Cheers, much appreciated.
-
**SOLVED**
Part of a registration code I am using saves user details into a mysql database.
the database is there and has access (logins can be called from the database).
the user fills in a basic form and the details are supposed to be entered into the database.
join.php
$query="INSERT INTO users (uid, username, password, first_name, last_name, country, email, last_paid, signup_date) VALUES ('','$susername', '$spassword', '$sfirst_name', '$slast_name', '$scountry', 'free', '$nowdate')"; mysql_query($query);
join.php calls another .php early on which contains the database login details.
the user gets a "success screen" and their randomly generated password is emailed to them (this bit works), however the details never make it into the database.
the login screen (I have manually entered several users for test purposes) uses the same .php file to get it's database login info and successfully completes queries to validate the user info.
any suggestions welcomed
How to enable mod_rewrite in Apache 2.0.54 ?
in Apache HTTP Server
Posted
This has been a while now.
I am still looking for an answer with this issue.
I have added the line
AddModule mod_rewrite.c
on the line below
LoadModule rewrite_module modules/mod_rewrite.so
but everytime I uncomment it and try to restart Apache it fails as soon as I comment it out Apache will restart with out problems.
I have check via phpinfo.php and the rewrite module is not showing up.
I have direct access to my server (no uploading/ftp or anything) and I have direct access to the conf file.
thanks in advance kia