Table of Contents
Reply to discussion (solution)
Home Web Front-end HTML Tutorial Static web pages contain css. It is no problem to open the file directly, but after deployment to IIS, access is not normal_html/css_WEB-ITnose

Static web pages contain css. It is no problem to open the file directly, but after deployment to IIS, access is not normal_html/css_WEB-ITnose

Jun 24, 2016 pm 12:01 PM
iis Include Web page access deploy

My static web page can be opened with 360 Secure Browser by double-clicking index.html. However, after it is deployed to IIS, it cannot be accessed with 360 Browser. There is no problem with IE11, nor can IE8. I guess it is a browser compatibility issue, but there is no problem with 360 Secure Browser (version 6.3.1.196) direct access (double-click index.html directly). Experts please help!


Reply to discussion (solution)

If this is deployed online, an online address will be provided. Without an online address, there is no way to help you debug.

Sorry. This is the boss's project and requires confidentiality. So it cannot be announced. Currently, after deployment, it can only be viewed using 360 compatibility mode and browsers after IE8. I just find it strange that there is no problem in opening web files directly using 360 for static pages, but there is a problem when placing them in IIS. Settings about static pages in IIS. I don't understand the reason. Very disturbing.

If there is no problem opening it locally, it depends on the server configuration.

Yeah, that makes sense! I just don’t know what the specific reason is. I'm not familiar with the configuration in IIS. I installed all CSS-related static web page options. But it still doesn’t work. Has anyone encountered this problem?

What does abnormal mean? Is the page cluttered or something? Is the link tag attribute that was imported into the css missing?

Please post the specific pictures.

The link tag is not lost. The specifics are this.
Use 360 ​​Secure Browser (both modes are the same) to access the website deployed to IIS, as shown in the figure

Use 360 ​​Secure Browser (compatibility mode) to directly open the web page to block pop-ups, as shown in the figure

This appears after allowing the blocking

After clicking OK
the display is normal

In addition, IE11 accesses IIS web pages normally. When opening the web page directly, a script or plug-in block will pop up. After allowing it, it is normal. Display

that is, open the web page file directly. IE11 (IE8 and later) and 360 can display it normally under the slightest conditions that allow scripts and plug-ins. However, after being deployed to IIS and accessed through url, 360 cannot.

It may be a security setting issue. . 360 has 2 modes, one is compatible and the other is webkit mode. .

It may be that it is in webkit mode by default after release, so there is no prompt to run the plug-in. You should also see layout errors when you use chrome to access your website. You should switch to compatibility mode (IE core) and take a look

There is a difference between opening a webpage directly and publishing it in a safe area. . After release, the security zone is the Internet and the local area is the intranet. The Internet has more restrictions than the intranet. . Check the configuration yourself

Reconfigure the activx permissions in the internet area to allow creation instead of prompts

Solution: 1. Go to IE options and turn off the prompt
2. Write code, Change the registry
Reference
http://www.cnblogs.com/fanyf/archive/2011/05/05/2037332.html

Sorry for the late reply. I saw it two days ago and tried it according to your answers, but it didn't solve the problem. Your answer is to solve the problem of pop-up blocking. Later I found out that there was still a compatibility issue. Use 360 ​​to open the file directly. The browser uses Ie 5.5 quirks mode, so the display is normal. After publishing using IIS, 360 Browser adopts IE 5.5 standard mode and displays abnormally.
So I added the statement , and added in the head section to force the browser to use the latest version of the standards mode. Then I modified the CSS code in the web page that did not comply with W3c standards. Now it can be accessed by IE and 360, two browsers with IE as the core. FireFox still has compatibility issues. I really don’t have time to change it and fix it later. Thank you for your answers. Although they did not directly solve the problem, they gave a lot of hints. Scored.

I paid 50 for each person. It was the first operation and it was quite right. Hahaha.

Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
2 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
Repo: How To Revive Teammates
1 months ago By 尊渡假赌尊渡假赌尊渡假赌
Hello Kitty Island Adventure: How To Get Giant Seeds
4 weeks ago By 尊渡假赌尊渡假赌尊渡假赌

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

How to send web pages to desktop as shortcut in Edge browser? How to send web pages to desktop as shortcut in Edge browser? Mar 14, 2024 pm 05:22 PM

How to send web pages to the desktop as a shortcut in Edge browser? Many of our users want to display frequently used web pages on the desktop as shortcuts for the convenience of directly opening access pages, but they don’t know how to do it. In response to this problem, the editor of this issue will share the solution with the majority of users. , let’s take a look at the content shared in today’s software tutorial. The shortcut method of sending web pages to the desktop in Edge browser: 1. Open the software and click the "..." button on the page. 2. Select "Install this site as an application" in "Application" from the drop-down menu option. 3. Finally, click it in the pop-up window

What to do if the webpage cannot be opened What to do if the webpage cannot be opened Feb 21, 2024 am 10:24 AM

How to solve the problem of web pages not opening With the rapid development of the Internet, people increasingly rely on the Internet to obtain information, communicate and entertain. However, sometimes we encounter the problem that the web page cannot be opened, which brings us a lot of trouble. This article will introduce you to some common methods to help solve the problem of web pages not opening. First, we need to determine why the web page cannot be opened. Possible reasons include network problems, server problems, browser settings problems, etc. Here are some solutions: Check network connection: First, we need

What should I do if the images on the webpage cannot be loaded? 6 solutions What should I do if the images on the webpage cannot be loaded? 6 solutions Mar 15, 2024 am 10:30 AM

Some netizens found that when they opened the browser web page, the pictures on the web page could not be loaded for a long time. What happened? I checked that the network is normal, so where is the problem? The editor below will introduce to you six solutions to the problem that web page images cannot be loaded. Web page images cannot be loaded: 1. Internet speed problem The web page cannot display images. It may be because the computer's Internet speed is relatively slow and there are more softwares opened on the computer. And the images we access are relatively large, which may be due to loading timeout. As a result, the picture cannot be displayed. You can turn off the software that consumes more network speed. You can go to the task manager to check. 2. Too many visitors. If the webpage cannot display pictures, it may be because the webpages we visited were visited at the same time.

How to open php on the web page How to open php on the web page Mar 22, 2024 pm 03:20 PM

Executing PHP code in a web page requires ensuring that the web server supports PHP and is properly configured. PHP can be opened in three ways: * **Server environment:** Place the PHP file in the server root directory and access it through the browser. * **Integrated Development Environment: **Place PHP files in the specified web root directory and access them through the browser. * **Remote Server:** Access PHP files hosted on a remote server via the URL address provided by the server.

How to open iis application pool How to open iis application pool Apr 09, 2024 pm 07:48 PM

To open an application pool in IIS: 1. Open IIS Manager; 2. Navigate to the "Application Pools" node; 3. Right-click the target application pool and select "Manage"; 4. Click "Advanced Settings" Tab; 5. Application pool configuration can be viewed and modified here.

Yolov10: Detailed explanation, deployment and application all in one place! Yolov10: Detailed explanation, deployment and application all in one place! Jun 07, 2024 pm 12:05 PM

1. Introduction Over the past few years, YOLOs have become the dominant paradigm in the field of real-time object detection due to its effective balance between computational cost and detection performance. Researchers have explored YOLO's architectural design, optimization goals, data expansion strategies, etc., and have made significant progress. At the same time, relying on non-maximum suppression (NMS) for post-processing hinders end-to-end deployment of YOLO and adversely affects inference latency. In YOLOs, the design of various components lacks comprehensive and thorough inspection, resulting in significant computational redundancy and limiting the capabilities of the model. It offers suboptimal efficiency, and relatively large potential for performance improvement. In this work, the goal is to further improve the performance efficiency boundary of YOLO from both post-processing and model architecture. to this end

Can iis log files be deleted? How to delete them? Can iis log files be deleted? How to delete them? Apr 09, 2024 pm 07:45 PM

Yes, it is possible to delete IIS log files. Removal methods include selecting the website or application pool through IIS Manager and deleting the log file in the Log Files tab. Use a command prompt to go to the log file storage directory (usually %SystemRoot%\System32\LogFiles\W3SVC1) and use the del command to delete the log file. Use third-party tools such as Log Parser to automatically delete log files.

How to generate URL from html file How to generate URL from html file Apr 21, 2024 pm 12:57 PM

Converting an HTML file to a URL requires a web server, which involves the following steps: Obtain a web server. Set up a web server. Upload HTML file. Create a domain name. Route the request.

See all articles