對話企業家陶利——做企業靠 19年前,他是一個程序員,初出茅廬,經驗不足,憑借一己之力闖世界;
省市領導蒞臨億恩科技推進電 12月22日上午,由河南省商務廳,鄭州市商務局有關領導蒞臨河南省億
怎樣選擇服務器托管商?如何 互聯網開展至今,服務器方面的受到越來越多人的注重,假如要停止服務器
1.今天遇到一個問題HTTP500內部服務器錯誤,我的解決思路是先恢復父項,不行再添加權限,這兩步做完還是報錯,我又查看了安全軟件的日志和隔離文件但是也沒有發現被隔離的文件。網站還是500報錯,我又檢查了數據庫的配置文件沒有問題,數據庫所在的服務器正常運行。陷入了思考中,看了以前的備份也是正常的沒有少文件。
2.最后問題在于我恢復父項的時候web.config這個文件里的數據是:<?xml
version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<defaultDocument>
<files>
<clear />
<add
value="index.php" />
<add value="index.asp" />
<add value="Default.htm" />
<add
value="Default.asp" />
<add value="Default.aspx"
/>
<add value="index.aspx" />
<add value="default.php" />
<add value="index.html"
/>
<add value="index.htm" />
</files>
3.正常的web.config里面的數據應該是:<?xml version="1.0"
encoding="UTF-8"?>
<configuration>
<system.webServer>
<defaultDocument>
<files>
<clear />
<add
value="index.php" />
<add value="index.asp" />
<add value="Default.htm" />
<add
value="Default.asp" />
<add value="Default.aspx"
/>
<add value="index.aspx" />
<add value="default.php" />
<add value="index.html"
/>
<add value="index.htm" />
</files>
</defaultDocument>
<handlers>
<remove name="PHP-7.0-7i24.com" />
<remove name="PHP-5.6-7i24.com" />
<remove
name="PHP-5.5-7i24.com" />
<remove name="PHP-5.4-7i24.com"
/>
<remove name="PHP-5.3-7i24.com" />
<remove name="PHP-5.2-7i24.com" />
<add
name="PHP-5.2-7i24.com" path="*.php" verb="*" modules="FastCgiModule"
scriptProcessor="c:\php\5.2\php-cgi.exe" resourceType="Either" />
</handlers>
<httpErrors errorMode="Detailed" />
</system.webServer>
</configuration>
這是一個PHP開發的網站程序。