icon Get the most out of Surmunity, read our tips here! Need an interesting blog to read? You've got to read the Surpass Blog! | Welcome! Please register to access all of our features.
Old August 12th, 2004, 9:32 AM   #1 (permalink)
Registered User
Fresh Surpasser
 
Joined in Aug 2004
9 posts
Gave thanks: 0
Thanked 0 times
folders within an addon domain

Hoy hoy,

I seem to be having a problem with my add-on domain. Everything seems to work fine until i create a folder under the add-on domain folder. When i view the sub-folder, it shows up as the original domain, not the add-on-domain. Anyone have an idea why this might be happening.

PS> I am slightly sleep deprived right now, so this post might not make since. Sorry.
erebus is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old August 12th, 2004, 2:34 PM   #2 (permalink)
Third Plateau
Comfy Contributor
 
Dave's Avatar
 
Joined in Apr 2004
Lives in East Hanover, New Jersey
Hosted on Nifty
272 posts
Gave thanks: 0
Thanked 0 times
I don't have that problem, but I'm guessing it's because you didn't include a trailing / on the URL. The web server will attempt to add the slash, but it thinks it's the other domain, and redirects the user wrong.

Is this the case?
__________________
site (syberdave.net) - server (nifty)
Dave is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old August 17th, 2004, 1:20 AM   #3 (permalink)
Registered User
Fresh Surpasser
 
Joined in Aug 2004
9 posts
Gave thanks: 0
Thanked 0 times
Dave, That is exactly what is happening to me. Is there anything that I can do about that? or should i just edit my code so that it has the '/' explicitly?

Thanks
erebus is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old August 17th, 2004, 2:53 PM   #4 (permalink)
Third Plateau
Comfy Contributor
 
Dave's Avatar
 
Joined in Apr 2004
Lives in East Hanover, New Jersey
Hosted on Nifty
272 posts
Gave thanks: 0
Thanked 0 times
I know that it can be done with mod_rewrite, but I not too good with that.

There would be a few lines in your .htaccess file that redirects the user to the subdomain even if the trailing slash is missing.

But I can't make sense of all the documentation for it, since it's so confusing to me.

So is anyone good with mod_rewrite here?
__________________
site (syberdave.net) - server (nifty)
Dave is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules
You may post new threads
You may post replies
You may post attachments
You may edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On