rejetto forum

Running from subfolder

Guest · 3 · 2155

0 Members and 1 Guest are viewing this topic.

CeltiX

  • Guest
I hope I can explain this clearly...

I have a web server currently running on the same machine as HFS. What I would like to do is to have the HFS index as appear in a subfolder (for example: www.mydomain.com/hfs/). I do not want to to run HFS on a different port to avoid having to include the port in the url (and some access restrictions). Is there anyway to do this?


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13510
    • View Profile
yes
a way to do it is to have a frame in that folder, containing HFS while it is running on another port. (url cloacking)
another way may be to redirect all request to HFS, but this may require some special ability of your webserver and may prevent HFS from knowing real user address.


Offline ledufe

  • Tireless poster
  • ****
    • Posts: 272
  • LEandro DUpont FErreira
    • View Profile
    • http://ledufe.no-ip.info:2222
hi CeltiX, i have try this for some time and i finally fount a way, to do this...even better, i found so many ways, that now, i can chose...rsrsrsrsrsrsr
in my p4 server, with hfs running on the port 2222 and my apache server running on port 80(default) i installed support for php 5 and now i have something like this, since im to lazy to develop a entire webaplication(aka website) and the google have a bounch of it, i choose some of those CMS content management system, and some uses SQL other are just fórums like phpbb, but i finally fount the right combination to me:
apache on port 80 (with root dir protected pointed to my hfs runing folder)
my hfs on port 2222
inside the code of the ReloadCMS i create a module that loads the hfs inside a div, or a iframe just using this parameters inside the code
and finally bocome like this...it is only a sample, but i guess it was like this you want to do.


http://rapidshare.de/files/23061228/reloadcms_hfs.JPG.html

by the way the code to put the hfs frame inside the other htl was
<iframe name="hfs" frameborder="0" width="600" height="600" marginheight="0" src="http://192.168.1.2:2222/" scrolling="yes"></iframe>
<<LeDuFe>>