Recent Posts

Pages: 1 [2] 3 4 ... 10
11
Just some file on my computer. For example "x:/xxx/xxxx/xxx.xxx"
12
Pусский / Re: Как вместо 404 посылать некий файл?
« Last post by Mars on June 18, 2018, 07:00:29 AM »
in fact you want the answer is done by sending a file instead of sending a web page, can I know without indiscretion which file you want to send, otherwise it is also simply possible to redirect the user to Home Page
13
or when I put a url that does not match any physical file like "xxx.xxx.xxx.xxx./max.txt"

Yes, this is the case. When someone request from HFS file which doesn't exist I want to send some existing file intead of requested file which is not exists.
14
Pусский / Re: Как вместо 404 посылать некий файл?
« Last post by Mars on June 18, 2018, 06:48:15 AM »
I translated your first message, and I put two possible answers in my previous message, but I understand the goal to reach but not the path,

Let's say that I connect to your server, what should I do for me to display a "NOT FOUND", I have to upload a certain type of file, try to download a file from the server, but supposed to be inaccessible, or when I put a url that does not match any physical file like "xxx.xxx.xxx.xxx./max.txt"

I have very little time in front of me to bring you a solution, be brief and precise
15
When someone requests from HFS file which HFS can't find in his VFS, HFS send "Not served: 404 - Not found" error.
And I want to force HFS to send some file instead of 404 error.

What is the simplest way to do this?

Sorry for my bad english :-)
16
Pусский / Re: Как вместо 404 посылать некий файл?
« Last post by Mars on June 18, 2018, 06:33:46 AM »
Have you an example about requested file, are you referring to a file sent by a user or to a file that is trying to load a user?

Есть ли у вас пример о запрошенном файле, ссылаетесь ли вы на файл, отправленный пользователем или на файл, который пытается загрузить пользователя?
 
я использую переводчик Google, если возможно, вы можете использовать непосредственно английский, у вас будут более быстрые и точные ответы, спасибо?


A bad request give always  this page
Quote
Not found

go to root
gived by the section
Quote
[not found]
<h1>{.!Not found.}</h1>
<a href="/">{.!go to root.}</a>

if you have some files to hide it is possible to add them as a file mask
VFS Root -> properties --> files Mask --> Don't consider as download (mask)
by default it'is *.htm;*.html;*.css     you can add your mask  and validate
17
Всем привет!

Мне бы хотелось, в случае, когда запрашиваемый файл не найден и HFS отвечает "Not served: 404 - Not found", посылать некий файл.

Как это, в случай с HFS 2.3k, проще всего сделать?
18
Thx Danny.

BTW, haven't tested but have an idea for login page

After reviewing old posts:
http://rejetto.com/forum/index.php?topic=4288.0
http://rejetto.com/forum/index.php?topic=2690.0

Why not add a folder called login via vfs (vitural folder not real)
Right mouse click / properties / different template

This code:
Code: [Select]
%login-link%
%loggedin%

???
Not tested, but would add a web link to a login only page???
19
HFS ~ HTTP File Server / Re: HFS Network Storage Integration
« Last post by bmartino1 on June 16, 2018, 11:13:13 PM »
??? ...

What drive are you trying to add to hfs to several as a web link for file access...

A map network drive?
See windows share in above post by me or leo ...

Google drive/OneDrive?
Map the folder....

A USB/spare drive connect to PC???
Already in explorer....

_---------
Open hfs

Open windows explorer( my PC / this PC )...

Highlight the drive you wish to add to hfs

Drag the drive and drop it on the house in hfs ...
Add as real folder...

...
20
HFS ~ HTTP File Server / Re: HFS Network Storage Integration
« Last post by lexenluis on June 15, 2018, 04:13:44 AM »
@Funtime60: I don't know how you add those drives on HFS, but I think you should try adding those network drives not using 'drag-and-drop'. Do this way: right click on the 'House' of 'Virtual File System', and click on 'Add folder from disk...' then click on 'Real folder'. To do this, the network drive should be already listed on 'My PC' first. If it's not listed there, follow the next steps to mount the network drive, reading a guide "Anavar".

If it's not working, please attach a screenshot of your HFS.
I also hav the above same issue, How to resolve?
Pages: 1 [2] 3 4 ... 10