: Not allowed to upload .HTML files to my own DNN Site: Is it normal? My Question: Our webhost provider wont make it so we can upload .html files to our DNN site trhough the DNN File Manager
My Question: Our webhost provider wont make it so we can upload .html files to our DNN site trhough the DNN File Manager page. Is that normal, should I push them to allow me to do this?
We have recently transferred our website to a Dot Net Nuke run website. We originally had our website on a Linux server with Python scripts handling the backend. Obviously we now have a Windows server running .NET with ASP .NET code on the backend.
Our webhost is a local Australian company. And they are saying we cant upload any .html files to the main part of the server, ie, ourdomain.com/Portals/0/. They are saying that the only place I can upload .html files is via FTP to this folder *www.ourdomain.com/Portals/0/html_content*
This is a major problem for me because I am trying to upload my own skin which means I need to upload a main.html file to ourdomain.com/Portals/0/skins/myskin/ but they wont let me?!
I guess what I am asking is, is this normal practice, why would they not allow this? As an experienced web admin for Linux servers and as someone who is used to being able to do whatever I want on my OWN server this is someing that really pis$%s me off!
More posts by @Lee4591628
1 Comments
Sorted by latest first Latest Oldest Best
I realize this thread is a bit old, but for the sake of other Googlers:
Before you complain that you HTML cannot be uploaded, understand there are about 2 main reasons you cannot upload HTML directly
Direct uploading of HTML is forbidden because the DNN CMS strips the tags when viewed in the Article Editor, therefore you lose all formatting if you do manage to upload the file.
The Page you built manually bypasses the sanity check in the Default.aspx code-behind. By bypassing the sanity check, you open the CMS to breakage, including: SQL Script Injection, Broken Theming/Menuus, and mostly detachment from navigation control offered by DNN.
In order to upload a skin, it must be done in the DNN infrastructure. The skin must be packaged and uploaded via the native skin installer. If you've never built a skin before see the following series of articles on Skinning in DNN. I have no idea why the navigation is missing inside the articles. Of particular interest to the OP's question is Part 4: Packaging. In short, packaging a skin puts the skin in a Zip Compressed file, and allows the DNN CMS to unzip the Zip when uploaded via the Skin Installer. The skin installer then puts all the right pieces in all the right places, which happen to be where the OP was trying to upload his HTML file.
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.