Author Topic: subdomain problem with new install 1.7.8???  (Read 5629 times)

0 Members and 1 Guest are viewing this topic.

Offline budduke

  • Hero Member
  • *****
  • Posts: 506
    • View Profile
    • http://www.budduke.com
subdomain problem with new install 1.7.8???
« on: August 12, 2010, 02:07:24 AM »
I am slapping together a quick site for a friend and made a subdomain for him to use...
http://littlehighlanders.budduke.com
everything seems to work fine unless you are in the ACP or it happens when you press login/logout also...
it redirects you to
http://littlehighlanders.budduke.com/highlanders/index.php
instead of
http://littlehighlanders.budduke.com/index.php
That is the folder that I am using for his subdomain but it should not have the folder in the link anywhere.

I have not tried 1.7.7 to see if it is something new and I did not see any reference to this problem in my searching the forum so I thought I better ask.

Thanks for any help, my friend would like to have this site up and running by the weekend
Buddy Duke
www.budduke.com

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: subdomain problem with new install 1.7.8???
« Reply #1 on: August 12, 2010, 03:49:22 AM »
How did you setup the subdomain, via apachi's virtual host, or via .htaccess?

I don't see any changes in v1.7.8 that would possibly cause this, perhaps it's the way you've setup the subdomain that is not correct?

4images redirects to whatever is in getenv("HTTP_REFERER")
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Rembrandt

  • Guest
Re: subdomain problem with new install 1.7.8???
« Reply #2 on: August 12, 2010, 09:57:55 AM »
subdomains works definitely.

Offline budduke

  • Hero Member
  • *****
  • Posts: 506
    • View Profile
    • http://www.budduke.com
Re: subdomain problem with new install 1.7.8???
« Reply #3 on: August 12, 2010, 02:59:29 PM »
Thanks for checking, I also tried a fresh install of 1.7.7 so it is the same thing.
Left e-mail with provider to see what they can do.
They do not give users access to the .htaccess file
All I did was add the subdomain to my account and tell it what folder to route to so hopefully they will fix it. I sent them the info V@no sent me so they know what php command 4images is calling.

Thanks again!

UPDATE:
Of course the provider says it is not on thier end and that it is bad programming in the php script.
Do you have the commands that should be in the .htaccess file that I can fire back at them with?
I still think it is their issue but will spend the next week convincing them of it.
Thanks for any info you can give me...
« Last Edit: August 13, 2010, 07:09:09 PM by budduke »
Buddy Duke
www.budduke.com

Offline budduke

  • Hero Member
  • *****
  • Posts: 506
    • View Profile
    • http://www.budduke.com
Re: subdomain problem with new install 1.7.8???
« Reply #4 on: August 13, 2010, 08:19:30 PM »
Of course the provider says it is not on thier end and that it is bad programming in the php script.
Do you have the commands that should be in the .htaccess file that I can fire back at them with?
I still think it is their issue but will spend the next week convincing them of it.
Thanks for any info you can give me...
Buddy Duke
www.budduke.com

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: subdomain problem with new install 1.7.8???
« Reply #5 on: August 13, 2010, 08:54:17 PM »
look in phpinfo, can you find any paths (not full local paths) that contain folder "highlanders"?
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline budduke

  • Hero Member
  • *****
  • Posts: 506
    • View Profile
    • http://www.budduke.com
Re: subdomain problem with new install 1.7.8???
« Reply #6 on: August 13, 2010, 09:14:21 PM »
http://littlehighlanders.budduke.com/

if you can take a look.
I am assuming that PHP_SELF should not have the folder attached to it when you are in the root of the subdomain? correct?

[EDIT by V@no]for your protection link altered.[/EDIT]
« Last Edit: August 13, 2010, 09:59:47 PM by V@no »
Buddy Duke
www.budduke.com

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: subdomain problem with new install 1.7.8???
« Reply #7 on: August 13, 2010, 09:58:44 PM »
Yes, it should not have it.
also SCRIPT_FILENAME and SCRIPT_NAME
You can point out at these three values to your hoster, it's not 4images issue.

I suppose there is a way to add work around for this issue, but it would only work in your specific case.

Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)