URL problems Please help!
tanktank
Joined: 2005-08-12
Posts: 8 |
Posted: Mon, 2005-10-24 04:08 |
Hey all! I need some help! I just installed G2 and am having url problems. If you go to my gallery: it goes to the url: http://www.tank5559.hostultra.com/gallery/main.php How can i get it to be: www.559hangout.com/gallery/main.php ????? Thank you in advance i have provided my information below: Gallery version = 2.0.1 core 1.0.0.1 |
|
Posts: 8
Ok i played with it and found a crack. But it still does not solve my problem.
if you go to:
http://559hangout.com/gallery/main.php
you can browse the gallery thouroughly via www.559hangout.com
I would like my users to be able to go to www.559hangout.com/gallery without being directed to my host.
Thank you again in advance!
=)
Posts: 32509
talk to your webhosting company administrators and ask why HTTP_HOST or HTTP_X_FORWARDED_SERVER is set to www.tank5559.hostultra.com instead of your subdomain name.
else, you can hack modules/core/classes/GalleryUrlGenerator.class and return your prefered host string instead of HTTP_X_FORWARDED_SERVER or HTTP_HOST.