File Extensions for Pages in CM1

Prior to the Default File Extension site property, added in the 5.3 SR1 updates,  CM1 Pages defaulted to having no file extension (like .html) for web pages. 

It is possible to publish to both IIS and Apache without needing to add file extensions, however there is a some configuration required to ensure the pages are served correctly.

IIS

Step 1

In the IIS Manager Home Window, double-click on the MIME Types icon.

Select Mime Types

Step 2

Within the Actions frame of the MIME Types window, click on the Add… link.

Click Add for MIME Types

Step 3

Use "*" (without the quotes) for the File name extension and text/html for the MIME type in the Add MIME Type window. Then click the OK button.

Note: If you're running IIS 7.5 or later, you will instead want to use "." (without the quotes) as your file name extension.

Add extension

Step 4

Make sure to clear your browser cache before viewing pages again.

Apache

Step 1

Edit the Apache config file. It is located in /etc/apache2/apache2.conf.

cm1Apache1

Step 2

Set the default MIME type to text/html.

cm1Apache2

Step 3

Stop the Apache Server.

cm1Apache3

 Step 4

Start the Apache Server back up.

cm1Apache4

 Step 5

Make sure to clear your browser cache before viewing pages again.