BullGuard Antivirus Sale - 60% Off with openElement !
Forum openElement Homepage
Forum Home Forum Home >

openElement

> openElement General Discussion
  New Posts New Posts RSS Feed - Create a page with password and video
  FAQ FAQ  Forum Search   Register Register  Login Login

Create a page with password and video

 Post Reply Post Reply Page  <123>
Author
Message
WattJet View Drop Down
Senior Member
Senior Member
Avatar

Joined: 04 Jan 2016
Status: Offline
Points: 161
Post Options Post Options   Thanks (0) Thanks(0)   Quote WattJet Quote  Post ReplyReply Direct Link To This Post Posted: 08 Sep 2020 at 00:11
So, I tried the following two avenues for this subdirectory subdomain issue.

Before that, I'll describe how are the files organized:

The main project (based on sensodeblack template) is saved under one folder that has all the files, pages (Home, actualites, FAQ,) etc.

Within that folder, I created another folder (Video). Within the Video folder, I placed the page "Video", which was cloned from the actualites page.  Within the Video page, I installed the HTML5 adaptatif  element.  I have tried this page within oe and it works perfectly.

If one goes to the windows file explorer one can see that the project has all the folders (Backup, Common, Data, Files, Garbage, scrolltop,Templates, WEFiles) AND the new folder Video that I created. The video folder has only the .htm files for the different languages, Video(var).js; Video(var).php; Video.css;Video.dat

I have already a subdomain (mdmgvideo.mydatamygain.com) that is pointed to the subdirectory in the server "/*****/Video".  I have verified with my hosting provider that the subdomain is well pointed to the subdirectory.

If I type in the browser: mdmgvideo.mydatamygain.com I get the Error 403 forbidden error
If I type in the browser: https://www.mdmgvideo.mydatamygain.com I get a caution security risk message

My hosting provider says that although the subdomain is well pointed, the fact that in that folder/subdirectory there is no index.htm file makes it impossible to work.


Any guidance on how to continue?




Back to Top
Hobby001 View Drop Down
Admin Group
Admin Group
Avatar

Joined: 05 Juin 2018
Location: Canada, Québec
Status: Offline
Points: 5178
Post Options Post Options   Thanks (0) Thanks(0)   Quote Hobby001 Quote  Post ReplyReply Direct Link To This Post Posted: 08 Sep 2020 at 00:24
If you try https://www.mdmgvideo.mydatamygain.com/Video.htm, you get a security error message because you don't have an ssl certificate associated with it.  






Edited by Hobby001 - 08 Sep 2020 at 00:26
Back to Top
WattJet View Drop Down
Senior Member
Senior Member
Avatar

Joined: 04 Jan 2016
Status: Offline
Points: 161
Post Options Post Options   Thanks (0) Thanks(0)   Quote WattJet Quote  Post ReplyReply Direct Link To This Post Posted: 08 Sep 2020 at 00:26
Yes, that is right, but if I type mdmgvideo.mydatamygain.com, it shows me access forbidden because it does not find the index files.
I have ssl for the domain, but not for the subdomain.


Edited by WattJet - 08 Sep 2020 at 00:28
Back to Top
Hobby001 View Drop Down
Admin Group
Admin Group
Avatar

Joined: 05 Juin 2018
Location: Canada, Québec
Status: Offline
Points: 5178
Post Options Post Options   Thanks (0) Thanks(0)   Quote Hobby001 Quote  Post ReplyReply Direct Link To This Post Posted: 08 Sep 2020 at 00:26
http://www.mdmgvideo.mydatamygain.com/Video.htm gives you direct access to it
Back to Top
WattJet View Drop Down
Senior Member
Senior Member
Avatar

Joined: 04 Jan 2016
Status: Offline
Points: 161
Post Options Post Options   Thanks (0) Thanks(0)   Quote WattJet Quote  Post ReplyReply Direct Link To This Post Posted: 08 Sep 2020 at 00:46
I try to type http (without the "s", but all my browsers -firefox, edge, chrome- try to access https, and I get security error

Back to Top
Hobby001 View Drop Down
Admin Group
Admin Group
Avatar

Joined: 05 Juin 2018
Location: Canada, Québec
Status: Offline
Points: 5178
Post Options Post Options   Thanks (0) Thanks(0)   Quote Hobby001 Quote  Post ReplyReply Direct Link To This Post Posted: 08 Sep 2020 at 02:03
Right, I could access once, now I can't
Back to Top
Hobby001 View Drop Down
Admin Group
Admin Group
Avatar

Joined: 05 Juin 2018
Location: Canada, Québec
Status: Offline
Points: 5178
Post Options Post Options   Thanks (0) Thanks(0)   Quote Hobby001 Quote  Post ReplyReply Direct Link To This Post Posted: 08 Sep 2020 at 02:06
The suggestion on stackoverflow was talking about a subdirectory, not a sub domain.  

Why did you choose to use a subdomain?


Back to Top
Hobby001 View Drop Down
Admin Group
Admin Group
Avatar

Joined: 05 Juin 2018
Location: Canada, Québec
Status: Offline
Points: 5178
Post Options Post Options   Thanks (0) Thanks(0)   Quote Hobby001 Quote  Post ReplyReply Direct Link To This Post Posted: 08 Sep 2020 at 03:29
Finally I could make some tests on this solution and could not make it work.

The htaccess stuff prevent from playing the video but not to download it
Back to Top
Hobby001 View Drop Down
Admin Group
Admin Group
Avatar

Joined: 05 Juin 2018
Location: Canada, Québec
Status: Offline
Points: 5178
Post Options Post Options   Thanks (0) Thanks(0)   Quote Hobby001 Quote  Post ReplyReply Direct Link To This Post Posted: 08 Sep 2020 at 03:34
I found another solution to prevent download:

Add the following code in an html code block in header position

<body oncontextmenu="return false;">

And protect your page with a password by using the packs as I mentioned earlier
Back to Top
Hobby001 View Drop Down
Admin Group
Admin Group
Avatar

Joined: 05 Juin 2018
Location: Canada, Québec
Status: Offline
Points: 5178
Post Options Post Options   Thanks (0) Thanks(0)   Quote Hobby001 Quote  Post ReplyReply Direct Link To This Post Posted: 08 Sep 2020 at 03:48
After more readings I<m not sure on how much it protect

You have to do your own search
Back to Top
 Post Reply Post Reply Page  <123>
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 10.11
Copyright ©2001-2012 Web Wiz Ltd.

This page was generated in 0,031 seconds.