rejetto forum

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Mars

Pages: 1 ... 133 134 135
2011
Bug reports / bug or not bug topic to rejetto
« on: October 01, 2007, 09:43:27 PM »
By consulting the documentation on wiki I found this

Embedding pages inside a template
If you put a whole HTML page under [a_name_you_choose] section, then it will be available at

http://YOUR_ADDRESS/~a_name_you_choose


Having tested, this is functional but not recursive in subfolders as it is possible with ~login: little bug

The risk is to have access for a user to a section [mysection] which we would like to keep  hidden. To by-pass the problem my solution is to create in the root a named virtual file "~mysection" and to put it hidden

Exepté for sections predefined in hfs, it would be possible that are effectively visible only sections such as [~mysection] and in all subfolders as with ~login?
If a name of section begins by ~, then it will be visible by the url only on this condition.

Modification possible in main.pas

 // provide access to any [section] in the tpl, included [progress]
  if (f = rootFile) and (urlCmd > '') then
    begin
    s:='~' +copy(urlCmd,2,MAXINT);
    if tpl.sectionExist(s) then
      begin
      getPage(s, data);
      exit;
      end;
    end;

thanks.


2012
Français / Re: HFS and IP adress for external link
« on: October 01, 2007, 12:47:37 PM »
Laddy si vous etes interessé(e) par plus de renseignements sur HFS en dehors des informations données sur
http://www.rejetto.com/wiki/index.php?title=HFS_Documentation_%28Fran%C3%A7ais%29


 vous pouvez poster ici

http://www.rejetto.com/forum/index.php?board=37.0

2013
HFS ~ HTTP File Server / Re: Viewing the HFS website
« on: September 26, 2007, 10:55:40 PM »
i had this problem

it is your router who has not good configuration

pb with dns:  http://mysite.xxx.com will redirect me to the web configuration page of my router

uses to test your real ip adress xxx.xxx.xxx.xxx to see if the pb is the same

give us more information of your config router to more help

2014
HFS ~ HTTP File Server / Re: Relative Paths for Real Folders?
« on: September 26, 2007, 10:48:14 PM »


Is it somehow possible to specify a relative path for a real folder? I intend to use HFS on a thumb drive, and the drive letters may change depending on which system


i don't read all off the topic but i have put hsf on usb key

on XP, into "My computer" you can modify letters of drives, i use it to rename  usb key to V:

when i put the key on any usb port, usb drive appear with V: letter

make it with all yours computers and work fine

2015
HTML & templates / Re: user sections via url
« on: September 26, 2007, 10:19:18 PM »
i have test this:

create a new virtual folder or real folder
name it as you will by sample: test

put into advanced diff tpl 


<html>
<head>
<frameset cols=200,*>
  <frame name=progress src="/~sym-sidemenu.html" scrolling=auto marginwidth=0>
  <frame src="/~sym-main" scrolling=auto>
</frameset>
</head>
<body>
</body>
</html>

create a virtual folder into home directory and rename it  ~sym-main
right clic to the folder and hide it

put into advanced diff tpl


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0


Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
  <style type="text/css">
  %style%
  </style>
  <title>HFS %folder%</title>
  <link rel="shortcut icon" href="favicon.ico" />
</head>
<body>
%login-link%
%loggedin%
%upload-link%
<div id=folderlabel>folder</div>
<div id=folder>%folder%</div>
<div id=body>
%folder-comment%
%up%
%files%
</div>
<div id=footer>
<a href="http://www.rejetto.com/hfs/">HttpFileServer %version%</a>
<br />Servertime: %timestamp%
<br />Uptime: %uptime%
<br />Build-time: %build-time%
</div>
</body>
</html>



see your web page and select the directory TEST

html code as bug with frames
back button must desactivate frames created to work correctly

with javascript it is more easy to do what you want


2016
HTML & templates / Re: html template
« on: September 26, 2007, 10:05:24 PM »
<!--
I'd like to ask you something.
I'd try to use Live Ultima 2 Black (En), but the upload button is disable.
What can i do?
Thx!
-->

you must use real folder and right click mouse on it and activate accounts for uploads

no accounts: enable everyone
all accounts: select all accounts existing no more new account create
 
the upload button will be activate after when entering into folder


2017
HFS ~ HTTP File Server / little bug with %build%
« on: September 26, 2007, 09:57:16 PM »
french user of hfs

rejetto good job with HFS

i use %build% in hfs.tpl and it works very nice but in  the tray mesage i put this:


Version %version% %build%
URL: %url%
IP/Port %ip% : %port%
Uptime: %uptime%
Downloads: %downloads%

and the message is

Version 2.2a %build%
....
possible to correct that

thanks

Pages: 1 ... 133 134 135