|
|
#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. |
|
|
|
|
|
#2 (permalink) |
|
Third Plateau
Comfy Contributor
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) |
|
|
|
|
|
#4 (permalink) |
|
Third Plateau
Comfy Contributor
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) |
|
|
|