glyphs文件为字体显示文件,西部数码的服务器默认不支持。
PDF文件放大时,字体模糊,就是这个原因造成。
解决方法:IIS中添加MIME,类型.glyphs, content-type为 text/plain
PHP
glyphs文件为字体显示文件,西部数码的服务器默认不支持。
PDF文件放大时,字体模糊,就是这个原因造成。
解决方法:IIS中添加MIME,类型.glyphs, content-type为 text/plain
使用php manger .
网址:https://www.iis.net/downloads/community/2018/05/php-manager-150-for-iis-10
将操作系统从WIN2008升级至WIN2012,发现wordpress的urlrewrite功能不行了。
怀疑是不是IIS8下的web.config与IIS7.5的有不同?
经排查,将应用程序池,托管通道模式,设置成经典模式。
就可以了。
<?xml version=”1.0″ encoding=”UTF-8″?>
<configuration>
<system.webServer>
<rewrite>
<rules>
<rule name=”category”>
<match url=”category/?(.*)” />
<conditions logicalGrouping=”MatchAll” trackAllCaptures=”false” />
<action type=”Rewrite” url=”/index.php?category_name={R:1}” appendQueryString=”false” logRewrittenUrl=”false” />
</rule>
<rule name=”tags”>
<match url=”tag/?(.*)” />
<conditions logicalGrouping=”MatchAll” trackAllCaptures=”false” />
<action type=”Rewrite” url=”index.php?tag={R:1}” />
</rule>
<rule name=”Main Rule” stopProcessing=”true”>
<match url=”.*” />
<conditions logicalGrouping=”MatchAll” trackAllCaptures=”false”>
<add input=”{REQUEST_FILENAME}” matchType=”IsFile” negate=”true” />
<add input=”{REQUEST_FILENAME}” matchType=”IsDirectory” negate=”true” />
</conditions>
<action type=”Rewrite” url=”index.php/{R:0}” />
</rule>
<rule name=”wordpress” patternSyntax=”Wildcard”>
<match url=”*” />
<conditions logicalGrouping=”MatchAll” trackAllCaptures=”false”>
<add input=”{REQUEST_FILENAME}” matchType=”IsFile” negate=”true” />
<add input=”{REQUEST_FILENAME}” matchType=”IsDirectory” negate=”true” />
</conditions>
<action type=”Rewrite” url=”index.php” />
</rule></rules>
</rewrite>
</system.webServer>
</configuration>
默认crx在chrome浏览器中,直接安装,想保存起来却没有办法。
通过下面的网站,可以下载crx,保存在电脑中。
http://chrome-extension-downloader.com/
WIN2008 SERVER上建以.开头的文件夹,发现建不了,只能在DOS下建。
其实用BAT文件更方便。
整理了下代码如下:
md .well-known
md .well-known\pki-validation
echo 789 >> .well-known\pki-validation\fileauth.txt
放在文本文件中另为lunji.bat, 运行就建好了。
789替换成要认证需要的字符串。
Mixed Content: The page at ‘<URL>’ was loaded over HTTPS, but requested an insecure script ‘<URL>’. This request has been blocked; the content must be served over HTTPS.
输出结果:
example1
this is a test
how are you
how2332ou
example2
3this is a test
how are you
444how2332ou
正常表达式,在我过去的几年中,总是会碰上它。
但用时总伴着痛苦,因为没有学精,很多时候要搜索了再用。
今天就打算利用一周的时间,将这一关攻克。
三步走:
网站地图调用:
百度地图定位服务:http://lbsyun.baidu.com/
百度地图经纬度:http://lbsyun.baidu.com/apiconsole/key
腾讯地图定位服务:https://lbs.qq.com/