View previous topic :: View next topic |
Author |
Message |
befortin Apprentice
Joined: 10 Feb 2004 Posts: 193
|
Posted: Thu Jul 08, 2004 9:33 pm Post subject: Gallery running on a non-standard port |
|
|
I have just installed and configured Gallery. Now, the only problem that I have is that I am running Apache on a non-standard port (because I have to!) Everything works fine, except one thing. I connect to gallery using my browser, at http://servername:XXXX/gallery/. The main page loads fine. But when i click on any of the links, they are pointing to, for example, http://servername/gallery/login.php?gallery_popup=true. So the port is missing!
Is there a way to make all the links on gallery pointing to the XXXX port |
|
Back to top |
|
|
Lajasha Veteran
Joined: 17 Mar 2004 Posts: 1040 Location: Vibe Central
|
|
Back to top |
|
|
befortin Apprentice
Joined: 10 Feb 2004 Posts: 193
|
Posted: Thu Jul 08, 2004 9:40 pm Post subject: |
|
|
Actually it can't. The port 80 is blocked by my ISP... |
|
Back to top |
|
|
Lajasha Veteran
Joined: 17 Mar 2004 Posts: 1040 Location: Vibe Central
|
Posted: Thu Jul 08, 2004 9:41 pm Post subject: |
|
|
What do you use for a dns? (no-ip, dyndns, etc.) _________________ Come and play in my land |
|
Back to top |
|
|
befortin Apprentice
Joined: 10 Feb 2004 Posts: 193
|
Posted: Thu Jul 08, 2004 9:43 pm Post subject: |
|
|
I'm using no-ip. Using the feature that forwards the HTTP to a non-standard port with no-ip *seems* (maybe that I'm wrong!) send every packet from any port (even 22!!) to the non-standard HTTP port. |
|
Back to top |
|
|
Lajasha Veteran
Joined: 17 Mar 2004 Posts: 1040 Location: Vibe Central
|
Posted: Thu Jul 08, 2004 10:01 pm Post subject: |
|
|
I will assume then you have tried the port 80 redirect, correct? _________________ Come and play in my land |
|
Back to top |
|
|
hanj Veteran
Joined: 19 Aug 2003 Posts: 1500
|
Posted: Thu Jul 08, 2004 11:09 pm Post subject: |
|
|
You could look into the gallery code.. and prepend/append 1 line of HTML
Code: | <base href="http://servername:XXXX" /> |
This should work assuming that links and images are referenced as relative and not absolute.
I hope this helps
hanj |
|
Back to top |
|
|
|