PDA

View Full Version : I don't think I'm smaert enough for a dedicated server



darthmalis
18 Aug 2006, 08:51 PM
I am having trouble with MySpaceIconCode.com (http://www.myspaceiconcode.com ). I was using too much bandwidth and need to upgrade it to a virtual dedicated server. Now when I click on any internal link, It just reloads the home page. The URL appears right in the address bar, but, it always loads the home page. I am using mod_rewrite to create better file names. The exact code I'm using is:

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_HOST} !^www\.myspaceiconcode\.com [NC]
RewriteRule ^(.*) http://www.myspaceiconcode.com/$1 [L,R=301]
</IfModule>
rewriteEngine on
rewriteRule ^myspace_icons/([^/]+)_icons.html$ index.php?cat=$1
rewriteRule ^myspace_icons/([^/]+)/([^/]+)_icons.html index.php?cat=$1&sub_cat=$2

I am hosting on a GoDaddy Virtual Dedicated Server account using cPanel. Does anybody have any idea what settings I have to change, or what the problem with my code is? I use the same code on several sites. It works everywhere but here. :confused:

Thanks in advance. :)

darthmalis
19 Aug 2006, 11:38 AM
I told you I'm not smart enough. It was register_globals. Just had to turn it on. :idea: