I need help... I have been using this php script written by majohnst (poster here on DP) but am having trouble with it. It is an open source script that he is giving away. Here is the link to his site http://www.mcjiffy.com/. I installed is last night without a hitch. There is nothing to it... basically put in couple of parameters in a config file and copy the whole thing up to a web folder. So I created a sub folder on a site I have plenty of room on and tested it. It worked great! So great in fact that I ordered a domain for it and pointed it to the folder. Well this morning when I attempt to access it I get the site using the domain (great so far...) but all the links are dead giving me an "Error 404 - Not Found". So I know, first instinct is .htaccess. Well take a look at these posts, I show what I did, but I still can't figure out what I am missing. Can someone help?
Do the Go and Buy subdirectories actually exist in the root folder, or are they inside a subdirectory as well?
Actually, the "Go" and "Buy" subdirectories do not physically exist. I'm pretty sure they are not supposed to either. I think these two lines in the .htaccess interpret those links: RewriteEngine on # if your installation is not in the root directory, enter the website # path to your installation # RewriteBase /subdirectory [B][U]RewriteRule buy/(.*)$ index.php?action=buy&q=$1&%{QUERY_STRING} RewriteRule go/(.*)/(.*)$ index.php?action=go&q=$1&link=$2[/U][/B] Code (markup):
I got it now! I commented out the whole RewriteBase line but I actually needed it. I just needed to take out the "subdirectory" but leave the "/". Works great now.