Using Sub Domain on yahoo small business

Posts from previous Beta sessions

Using Sub Domain on yahoo small business

Postby Tennessee » Thu Apr 24, 2008 1:26 pm

any 1 running into a prob on the yahoo Web Hosting where u cant use the .htaccess?
i can access the roster without any errors only going thew the main url like (www.yoursite.com/Sub Domain/roster)
and when i go thu my Sub Domain like
(Sub Domain.yoursite.com/roster)
i can acess the file but all off links are pointing to the
Sub Domain.yoursite.com / Sub Domain folder / roster dir.
some how it just sets the subdomain folder in the path some how.
witch i can run this no problem and fix the url just to point off the main domain but i would like a cleaner look. any info or links to go read up on to fix my issue.
User avatar
Tennessee
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 54
Joined: Fri Apr 04, 2008 2:00 am

Using Sub Domain on yahoo small business

Postby zanix » Fri Apr 25, 2008 12:18 am

The .htaccess file is not involved in this problem

The problem you are having is that php is reporting the wrong values for the path and url
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

Using Sub Domain on yahoo small business

Postby Anaxent » Fri Apr 25, 2008 8:35 am

hmm try adding this to your .htaccess file

Code: Select all
RewriteBase /sub_domain_folder
User avatar
Anaxent
WoWRoster.net Dev Team
WoWRoster.net Dev Team
 
Posts: 642
Joined: Tue Jul 04, 2006 6:27 am
Location: Phoenix, Az

Re: Using Sub Domain on yahoo small business

Postby Tennessee » Fri Apr 25, 2008 10:37 am

only if i could use the .htaccess i would but yahoo dont alow it.

i prev install the 1.7 on my test server and seen that ever thing worked really well and would install the 2.0 on the web site and help out on the beta testing.

phpbb installed really well and didn't have any issue's with using the sub domain.

and then on with the install of the 2.0 and u can see from my prev post i ran into the subdomain issue witch buged me and i really like things to be clean.
so i played around with some setting in the config a little bit this moring and turned on the option that makes the url's look nicer and saved and locked my self out of the cpadmin and all off links where dead no matter how i typed it in the url. i could have edited the sql to fix it but i just caned the whole database and file system.
now if your still readin will i still have the same issues when i install the 1.7 on the sub domain?
User avatar
Tennessee
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 54
Joined: Fri Apr 04, 2008 2:00 am

Using Sub Domain on yahoo small business

Postby zanix » Fri Apr 25, 2008 11:30 am

Well, 1.7.x uses user entered paths for the urls
2.0 uses php variables for the paths

Edit lib/cmslink.lib.php
Find
define('ROSTER_URL',$url);
Replace $url with the full url path to your Roster folder
(Example 'http://sub_domain.yoursite.com/roster/')

Find
define('ROSTER_PATH',$urlpath);
Replace $urlpath with the path to your Roster folder
(Example '/roster/')
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 Archived

Who is online

Users browsing this forum: No registered users and 1 guest

cron