Php photo gallery TWG | JFUploader | TWG Flash upload | WFU | Forum

Get help for TinyWebGallery, the best image gallery. The forum is also home for the Joomla JFUploader, TWG Flash Uploader and the Wordpress flash uploader.
It is currently 23. Nov 2024, 00:53

This forum is readonly now. Please use the new forum if you don't find the answer to your question here. The new forum is at https://www.tinywebgallery.com/blog/forum/


All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: TWG behind a router
PostPosted: 17. Nov 2007, 16:07 
Offline

Joined: 9. Sep 2007, 19:32
Posts: 7
I have TWG on a QNAP TS-201 behind a router.

I have a dyndns pointing to it and I have open port 80 in the roter to it.

It works fine to surf into the root web from an exernal address.
My TWG is located in a subfolder called PE and I can access it with no problems on my local net (192.168.x.x) but if i try to reach it from the outside it seems like TWG redirect me to a local IP (192.168.x.x) and it wont work.

Please help me find out what im doing wrong.


Top
 Profile  
 
 Post subject: Re: TWG behind a router
PostPosted: 18. Nov 2007, 16:31 
Offline

Joined: 9. Sep 2007, 19:32
Posts: 7
Please help!


Top
 Profile  
 
 Post subject:
PostPosted: 18. Nov 2007, 22:43 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
you have to overwrite

$_SERVER['SERVER_NAME']

in the config. Set it to your external domain name.

/Michael


Top
 Profile  
 
 Post subject:
PostPosted: 19. Nov 2007, 22:46 
Offline

Joined: 9. Sep 2007, 19:32
Posts: 7
Can you please clarify this a little for me, please.


Top
 Profile  
 
 Post subject:
PostPosted: 20. Nov 2007, 00:43 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
what else do you need - I don't know your servername. for my server it would look like this:

$_SERVER['SERVER_NAME'] = "www.tinywebgallery.com";

add this to my_config.php.

if you use the admin add this to the additional tab.

/Michael


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 7 guests


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 post attachments in this forum

Search for:
cron
powered by phpbb | Datenschutz/ Privacy policy