rejetto forum

Software => HFS ~ HTTP File Server => Topic started by: crazyjust on November 29, 2008, 12:16:36 PM

Title: How could i do this?
Post by: crazyjust on November 29, 2008, 12:16:36 PM
I use abyss web server with e107 cms, and hfs. I want to run my server and hfs. I can do that, that isn't my problem. The problem is I want to use hfs for my downloads link. How would i link hfs to my site? I tried 127.0.0.1:port but its only visible to me lol. I have a dynamic ip so I don't wanna change this every time it changes. Is there a way I can do this?
Title: Re: How could i do this?
Post by: rejetto on November 29, 2008, 12:23:33 PM
you should use a dynamic dns service, like no-ip.
than you'll be able to give people always the same address, like crazyjust.no-ip.org
and you'll link crazyjust.no-ip.org:port
Title: Re: How could i do this?
Post by: crazyjust on November 29, 2008, 12:27:20 PM
yeah that's what i was thinking. I currently use dyndns for redirection and cloak. I was hoping there would be another way lol. i have to manually change the ip for my abyss server in there now everytime it changes because my isp blocks port 80. I thought maybe being it was on the same machine there would be another way. Thank you for a response rejetto. great program, keep up the good work :)
Title: Re: How could i do this?
Post by: rejetto on November 29, 2008, 12:38:56 PM
i don't understand why you need to change your ip.
and
there are other solutions. is php working on your abyss?

thank you ;)
Title: Re: How could i do this?
Post by: crazyjust on November 29, 2008, 12:42:08 PM
yes php 5 is on there so I can use e107. My isp changes my ip every few days, so I have to go into my dyndns account and modify the address everytime this happens
Title: Re: How could i do this?
Post by: rejetto on November 29, 2008, 04:01:06 PM
than you can link to
<?=preg_replace('/^([^:])+/', '$1:YOURPORT', $_SERVER["HTTP_HOST"]) ?>

this is untested :P
Title: Re: How could i do this?
Post by: crazyjust on November 29, 2008, 08:58:57 PM
ok i am lost with that lol. maybe i am just better looking for someone to make a plugin for e107 similar to hfs.
Title: Re: How could i do this?
Post by: rejetto on November 29, 2008, 09:59:43 PM
lost? that's just the address to link :)
copy&paste
Title: Re: How could i do this?
Post by: crazyjust on November 29, 2008, 10:23:39 PM
o sorry lol. I tried that but e107 wouldn't let me create the link.
Title: Re: How could i do this?
Post by: MarkV on November 30, 2008, 05:39:46 PM
yes php 5 is on there so I can use e107. My isp changes my ip every few days, so I have to go into my dyndns account and modify the address everytime this happens

You have to run a dynamic DNS updater on your server machine that updates the IP for you. HFS has one built in btw.