rejetto forum
Software => HFS ~ HTTP File Server => HTML & templates => Topic started by: tomaspitea on April 20, 2006, 08:31:51 PM
-
Im trying to get a personal "hello message" on top of the first page when someone connect to my server. The problem is that this message is still visible when the user goes to a subfolder in my file system.
How can I change my template so my "hello" is ONLY shown when the user is in the root-folder?
-
Make page and save it someware. Open hfs and plase the page in "/" directori. Right click on "/" and "Default file mask". Type xxx.html.
"xxx" - the name of the page file.
-
maybe commenting the root? /
-
Make page and save it someware. Open hfs and plase the page in "/" directori. Right click on "/" and "Default file mask". Type xxx.html.
"xxx" - the name of the page file.
The "default file mask" works fine now my own html-page is shown first.
Thanks for that. :D
But now I have problem to make the link to the filesystem.
My html-file is located in the root-folder
What should I write inbetween the "" to get this link to work
<a href="">Click here to view my filesystem</a>
-
if you have your files in the "files" folder, then put /files as link
-
if you have your files in the "files" folder, then put /files as link
no, that not the problem
I have a html file called start.html in the root folder.
I have made this file as "default file mask" for the root, so when someone goes to my server the get this html-file in there browser.
now I want to create i link to my filesystem in this start.html-file, but since it´s already in the root i don´t know how to make the link so it points to the filesystem-template
-
just put your "file system" in a folder
in my example the folde is called files
since this folder contains not a default file, it will show the template
-
I already thought about it: What about a symbol like ~files.lst, for example ~files.dir which would override the default file and always serve the listing?
-
Now it works just fine! thanks!
-
I already thought about it: What about a symbol like ~files.lst, for example ~files.dir which would override the default file and always serve the listing?
seems a good idea
-
I already thought about it: What about a symbol like ~files.lst, for example ~files.dir which would override the default file and always serve the listing?
seems a good idea
Good, maybe you can implement it.
-
implemented in 2.1 as ~nodefault symbol
-
implemented in 2.1 as ~nodefault symbol
very nice, thank you!
btw: are you already having plans about 2.1 release (end of year, before, after...)?
EDIT: just seen the sticky topic, it was hidden between all the other sticky ones...
-
i guess it will take less than a month
it depends on my spare time
the point in 2.0 been so late was the processQ bug ;)