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 - RedyAu

Pages: 1
Thank you so much!

HFS ~ HTTP File Server / Limiting domains the site can be opened from
« on: March 22, 2022, 08:36:41 PM »
I was wondering, if there is a way to limit, which domains you can access an HFS site from. I'd like to limit it so that it can't be accessed by entering the ip itself, and only allow one specific domain. Is this possible? I couldn't find any info on this.
Thanks for any help!

HFS ~ HTTP File Server / Re: Changing HTTP response header
« on: May 10, 2021, 07:21:09 AM »
Great, thank you!

HFS ~ HTTP File Server / Re: Changing HTTP response header
« on: May 07, 2021, 11:27:31 PM »
I believe "necroposting" may be forgiven this time, as I think this might be a relevant question for anyone finding this in the future.
The above described way of setting a response header for the whole page in general works, but it doesn't "cascade" to all files contained within.
I have a constantly updating image on this link:
 What I'd like to do is set a no-cache header so that I can use it on other sites and not have it cached, so it updates.
Is there any way to achieve per-file header settings, or just a way to set headers returned for all files? I wouldn't mind all files served with this header either.

I'm new on this forum, but I'd like to post this here, as it might be useful to some.

With the help of my friend, we managed to change the Flash preview player in the Live theme to use video tags. It works for audio as well, it's great.
The modified code might not be the most refined, but it does the job as far as I'm concerned. Feel free to improve it below.

Everything else you need to know is explained at the top of the first file.

Before use, remove the txt extension from the files...
(Whoa this forum is really locked-down. First I wanted to just put a link to a GitHub Gist I created, not allowed. Then I tried to post the thing in code tags, too long. I can't even share the important part of the code in a code tag, because it thinks some part of it is and external link. And I can't even really upload it, just with a trick. Very well.)

The part that matters from the code:
Well, it's not happening. Look at line 413.

Pages: 1