Home › Forums › General Questions › unable to load on my website
- This topic has 14 replies, 4 voices, and was last updated 2 years, 6 months ago by Ivan Lyubovnikov.
-
AuthorPosts
-
2020-05-25 at 7:55 pm #27988lopatamCustomer
Ciao!
I cann’t manage to make a simple test app working on my website. If I embed the app from the verge upload link it works. If I upload everything on my website it doesn’t load anything, it gives me a 404.3 error but I put the content there.
Is it a verge problem or is it my website? I know very little about web.
I put the index.html file outside the Test2 folder created by Verge3d with the path of the iframe.
I know there is a simple solution out there but help me anywayCiao
Gianmarco2020-05-26 at 12:28 am #27991GLiFTeKCustomerDoes your index.html link the v3d.js and test2.js properly? They should be ./test2/test2.js and ./test2/v3d.js
Visit the GLIFTEK Verge3D Plugins Store!
GLIFTEK.com for Plugin Documentation & LIVE DEMOS!
LIKE The GLIFTEK Facebook Page for updates!
Join the Verge 3D Discord Server!
plz share Discord link & on your signature!2020-05-26 at 4:20 am #27993lopatamCustomerYes, they are in the right directory.
2020-05-26 at 4:46 am #27994GLiFTeKCustomerI mean in your index.html the lines where those js files are called from. You need to format the code to be the way I wrote above. It normally generates those lines to look for the js files in the same directory as the html file.
(That is,if you’ve copied your html from your test2.html generated file into your index.html file.)
Visit the GLIFTEK Verge3D Plugins Store!
GLIFTEK.com for Plugin Documentation & LIVE DEMOS!
LIKE The GLIFTEK Facebook Page for updates!
Join the Verge 3D Discord Server!
plz share Discord link & on your signature!2020-05-26 at 5:15 am #27995lopatamCustomerok, I didn’t know I have to put this line in the index.html.
I add
<script src=”/test2/test2.js”></script>
<script src=”/test2/v3d.js”></script>
to my index.html but nothing changed…2020-05-26 at 5:17 am #27996lopatamCustomerthis is my html now, it the same of the tutorial on the Verge guide:
<!DOCTYPE html>
<html><head>
<title>Esempio_HTML</title>
<meta charset=”utf-8″>
<meta name=”viewport” content=”width=device-width, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0″>
<meta name=”description” content=”Put some description here – remember about SEO!”>
<style>
#my_iframe {
position: absolute;
top: 400px;
left: 0px;
width: 75%;
height: 75%;
border: 0;
}#hide_button, #show_button {
position: absolute;
width: 100px;
height: 30px;
background-color: DodgerBlue;
color: white;
text-align: center;
line-height: 30px;
cursor: pointer;
}#hide_button {
left: 10px;
}#show_button {
left: 120px;
}
</style>
</head>
<script src=”https://www.gianmarcovilla.it//test2/test2.js”></script>
<script src=”https://www.gianmarcovilla.it//test2/v3d.js”></script>
<body>
<h1>
Config
</h1>HideShow<iframe width=”1024″ height=”640″ allowfullscreen src=”https://www.gianmarcovilla.it/test2/test2.html”></iframe></body>
</html
2020-05-26 at 5:32 am #27997lopatamCustomerI think it’s a problem of my website.
2020-05-26 at 7:55 am #28005Ivan LyubovnikovStaffI think it’s a problem of my website.
It looks like the server doesn’t allow downloading gltf files which verge3d uses. It’s IIS (Internet Information Services) and it needs to be configured in order to serve files of the gltf extension.
Here’s a link explaining how to do that: https://docs.microsoft.com/en-us/iis/configuration/system.webserver/staticcontent/mimemap#how-to
– you need to specifygltf
as a file name extension andmodel/gltf+json
as a MIME type.Co-founder and lead developer at Soft8Soft.
2020-05-26 at 8:51 am #28011lopatamCustomerThanks, now I just have to find out where to change this with Aruba, if anyone have some ideas …
2020-05-26 at 11:17 am #28017Ivan LyubovnikovStaffThanks, now I just have to find out where to change this with Aruba, if anyone have some ideas …
Here’s the description of their basic windows hosting plan: https://hosting.aruba.it/en/hosting/windows-basic.aspx.
And if you scroll down below and click the
Development tools
block, then it says: “IIS Remote Administration (manage MIME types, error pages, default document pages, directory exploration)” and it’s included in the plan.So, “manage MIME types” is what you need to resolve the issue. I think you just need to contact Aruba support about that.
Co-founder and lead developer at Soft8Soft.
2020-05-26 at 12:11 pm #28023lopatamCustomerYes, I’m waiting for the Aruba support answer… and thanks a lot!!
2020-05-26 at 3:15 pm #28037lopatamCustomerole!! I need to upload a web.config file, this one:
configuration>
<system.webServer>
<staticContent>
<mimeMap fileExtension=”.gltf” mimeType=”model/gltf+json” />
<mimeMap fileExtension=”.hdr” mimeType=”image/vnd.radiance” />
</staticContent>
</system.webServer>
</configuration>I added also the possibilities to download from my server the .hdr files because it’s not possible by default.
Thanks a lot Ivan and Gliftek2020-05-26 at 4:41 pm #28044Ivan LyubovnikovStaffGlad you worked it out!
Co-founder and lead developer at Soft8Soft.
2022-06-10 at 5:33 am #52862johnson0903ParticipantSimilar problem when I published the project to IIS.
I have already add MIME type of .hdr and .gltf
But there is another one I can’t figure out.
The files were generated when I exported my model from Blender.
File names are like ‘v3d_exported_image_0’, ‘v3d_exported_image_1’But I can’t see the file extension. Can anyone help?
2022-06-14 at 8:48 am #53022Ivan LyubovnikovStaffBut I can’t see the file extension. Can anyone help?
Hi, can you attach the blender file so we can test that?
Co-founder and lead developer at Soft8Soft.
-
AuthorPosts
- You must be logged in to reply to this topic.