For Programmers: Free Programming Magazines  


Home > Archive > PHP Language > September 2006 > Re: Scripting editor for Mac OS X?









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: Scripting editor for Mac OS X?
Gleep

2006-09-27, 6:58 pm

I've got the mod_rewrite set up and working but it's screwing up my page links

example here is my .htaccess

Options +FollowSymLinks
RewriteEngine on
RewriteBase /
RewriteRule ^profile/(.*)/$ /profile.php?un=$1


for the most part it works

if i type www.mywebsite.com/profile/fred/ www.mywebsite.com/profile.php?un=fred is what is
actually sent which is ok

however the problem is all my links on that page change..

my internal page links are change to www.mywebsite.com/users/fred/home.php when it should be
www.mywebsite.com/users/home.php why is 'fred' inserted in all the other page links?

Does anyone know why or how to fix this. Thanks
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com