DNS issue and where the roster gets the DNS info

Requests, feedback, and general discussion about WoWRoster
DO NOT post topics about WoWRoster AddOns here!

DNS issue and where the roster gets the DNS info

Postby suliman » Mon Feb 19, 2007 10:06 pm

Small problem with a new roster install at http://www.sillyhoodguild.com/roster

I have entered (and checked the DB) the domain name and directory correctly.

The issue is that this domain is actually hosted on:
http://www.sportbikeguy.com/sillyhood

The links (and apparently the style sheets) are grabbing some sort of URL info from the PHP variables and not from the domain name and directory i specified in the config. So it's trying to use the host domain of sportbikeguy.com and then the roster dir after it (ie. www.sportbikeguy.com/roster, which of course wont work.)

Ok, so then I try to add two lines in my .htaccess file to set the PHP vars of HTTP_HOST and SERVER_NAME to www.sillyhoodguild.com. Still no go.

So... then I start digging in the roster code. I tried hard coding the locations in config.php file, but it didn't work either.

I'm stumped.
User avatar
suliman
WR.net Apprentice
WR.net Apprentice
 
Posts: 3
Joined: Mon Feb 19, 2007 9:24 pm

DNS issue and where the roster gets the DNS info

Postby zanix » Tue Feb 20, 2007 4:39 am

You have it running in a frame
Roster's pathing is set in the Roster Config panel and does not dynamically grab the urls

You need to set the URLs to the correct path
Read the Forum Rules, the WiKi, and Search before posting!
WoWRoster v2.1 - SigGen v0.3.3.523 - WoWRosterDF
User avatar
zanix
Admin
Admin
WoWRoster.net Dev Team
WoWRoster.net Dev Team
UA/UU Developer
UA/UU Developer
 
Posts: 5546
Joined: Mon Jul 03, 2006 8:29 am
Location: Idaho Falls, Idaho
Realm: Doomhammer (PvE) - US

Re: DNS issue and where the roster gets the DNS info

Postby suliman » Tue Feb 20, 2007 7:30 pm

Therein lies the issue...

To perform the DNS masking (so users going to www.sillyhoodguild.com see this in their URL and not www.sportbikeguy.com/sillyhood), the pages are set to a frame (DNS providers does this...)

So, then when a user goes to www.sillyhoodguild.com/roster, any links or anything they do in the page, changes their URL to www.sportbikeguy.com/sillyhood/roster/(page).php.

So... to configure the site, I can indeed configure the pages with the REAL urls of sportbikeguy.com, but I would very much like the links that the pages make via php to display as the sillyhoodguild.com urls.

I know that when the page makes the top guild name link, it does use one of the php global variables that I was able to set via the htaccess file mentioned in the first post. nope, nm, it doesnt.

So, then for the menu links, are they simply contained within one php page that the rest of the site calls, or are they generated by code in each page that has to display them? If it's only one php file that is used to generate the menu links, I'll simply hardcode the URLs for those links, no biggie.

Does that make sense?
Last edited by suliman on Tue Feb 20, 2007 7:54 pm, edited 1 time in total.
User avatar
suliman
WR.net Apprentice
WR.net Apprentice
 
Posts: 3
Joined: Mon Feb 19, 2007 9:24 pm

DNS issue and where the roster gets the DNS info

Postby zanix » Wed Feb 21, 2007 2:53 am

Roster wasn't coded to run this way, there are many, many, many links that have to be changed to make this work
Read the Forum Rules, the WiKi, and Search before posting!
WoWRoster v2.1 - SigGen v0.3.3.523 - WoWRosterDF
User avatar
zanix
Admin
Admin
WoWRoster.net Dev Team
WoWRoster.net Dev Team
UA/UU Developer
UA/UU Developer
 
Posts: 5546
Joined: Mon Jul 03, 2006 8:29 am
Location: Idaho Falls, Idaho
Realm: Doomhammer (PvE) - US


Return to General Support & Feedback

Who is online

Users browsing this forum: No registered users and 1 guest

cron