I'm not able to upload files with .htm or .html extension.
Any idea?
Troubles uploading htm/html files
- cicalone
- Phoca Member
- Posts: 35
- Joined: 27 Feb 2008, 07:53
- Location: Italy
- Jan
- Phoca Hero
- Posts: 48386
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Troubles uploading htm/html files
Did you set the mime types for htm in Phoca Download settings?
Jan
Jan
If you find Phoca extensions useful, please support the project
- cicalone
- Phoca Member
- Posts: 35
- Joined: 27 Feb 2008, 07:53
- Location: Italy
Re: Troubles uploading htm/html files
In "Allowed file types" (Phoca Download Settings|Details) I found out the following lines by default:
{html=text/html}
{htm=text/html}
and I thought it could be enough. If it isn't true, where I have to set the mime type for htm files?
{html=text/html}
{htm=text/html}
and I thought it could be enough. If it isn't true, where I have to set the mime type for htm files?
- Jan
- Phoca Hero
- Posts: 48386
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Troubles uploading htm/html files
yes, it should be ok,
the html works for me, it is not displayed in the browser, but download, all ok
There can be some problem with uploading via Upload Manager. Upload manager can see possible XSS attack in uploading html, so it will be not uploaded.
Try to zip the html file...
Jan
the html works for me, it is not displayed in the browser, but download, all ok
There can be some problem with uploading via Upload Manager. Upload manager can see possible XSS attack in uploading html, so it will be not uploaded.
Try to zip the html file...
Jan
If you find Phoca extensions useful, please support the project