Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Gallery running on a non-standard port
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
befortin
Apprentice
Apprentice


Joined: 10 Feb 2004
Posts: 193

PostPosted: Thu Jul 08, 2004 9:33 pm    Post subject: Gallery running on a non-standard port Reply with quote

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
View user's profile Send private message
Lajasha
Veteran
Veteran


Joined: 17 Mar 2004
Posts: 1040
Location: Vibe Central

PostPosted: Thu Jul 08, 2004 9:38 pm    Post subject: Reply with quote

well short of hcking some php I would say see if your dns can route requests to www.server.com to www.server.com:XXX
_________________
Come and play in my land
Back to top
View user's profile Send private message
befortin
Apprentice
Apprentice


Joined: 10 Feb 2004
Posts: 193

PostPosted: Thu Jul 08, 2004 9:40 pm    Post subject: Reply with quote

Actually it can't. The port 80 is blocked by my ISP...
Back to top
View user's profile Send private message
Lajasha
Veteran
Veteran


Joined: 17 Mar 2004
Posts: 1040
Location: Vibe Central

PostPosted: Thu Jul 08, 2004 9:41 pm    Post subject: Reply with quote

What do you use for a dns? (no-ip, dyndns, etc.)
_________________
Come and play in my land
Back to top
View user's profile Send private message
befortin
Apprentice
Apprentice


Joined: 10 Feb 2004
Posts: 193

PostPosted: Thu Jul 08, 2004 9:43 pm    Post subject: Reply with quote

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
View user's profile Send private message
Lajasha
Veteran
Veteran


Joined: 17 Mar 2004
Posts: 1040
Location: Vibe Central

PostPosted: Thu Jul 08, 2004 10:01 pm    Post subject: Reply with quote

I will assume then you have tried the port 80 redirect, correct?
_________________
Come and play in my land
Back to top
View user's profile Send private message
hanj
Veteran
Veteran


Joined: 19 Aug 2003
Posts: 1500

PostPosted: Thu Jul 08, 2004 11:09 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum