Product:
Search Type:

When I try to access any HTML page, the browser offers me to save it instead of showing content.

Article ID: 2164 
Last Review: Jul,08 2008
APPLIES TO:
  • Plesk for Linux/Unix

SYMPTOMS

When I am trying to open some HTML page, for example Plesk web statistics https://www.DOMAIN.com/plesk-stats, the browser offers me to save the page instead of showing content.

CAUSE

Such problem appears if the type for HTML pages is specified incorrectly.

RESOLUTION

Make sure that '.html' and '.htm' extensions are not assigned to any type except for 'text/html'. All lines with such types definitions can be found in Apache configuration files with the command line:

# grep htm /etc/httpd/conf.d/* /etc/httpd/conf/httpd.conf  | grep AddType

Additional information

Note, the paths to Apache configuration files can differs depending on OS you use. For more information about apache web server related files location please check http://kb.parallels.com/en/5440.
Keywords: save, download, page, browser

Please provide feedback on this article

Did this article help you solve your issue?
Yes
No
Partially
I do not know yet
 
Strongly Agree   Strongly Disagree
  9 8 7 6 5 4 3 2 1
The article is easy to understand
The article is accurate
Additional Comments:
*Please provide us with your email address in case we need to contact you.
*Please type the code you can see.
* - required fields