PDA

View Full Version : php problem



WebWatcher
July 20th, 2008, 08:10
Should be an easy fix but I have forgot. :(

got a script that shows link as: http://mydomain.com/user
and goes to http://mydomain.com/profile.php?username=user

but it is not working. Can remember what setting I need to change on server to get this to work.

Help would be appreciated.

Regards and Thanks in advance

JonnyH
July 20th, 2008, 09:00
Ohhh.. what is it now. I've got it.. is your mod_rewrite enabled in apache?

themoose
July 20th, 2008, 11:57
You need to make sure the correct .htaccess file is present and setup correctly. The script may have come with this, or instructions in the readme on how to set it up.

Alternatively the script may have generated it on install in which case you should speak to people who made the script for the necessary .htaccess code - or if you're advanced enough, break apart the install script and look through it. for ".htaccess" writing.