Web.config更改了吗? [英] Web.config changes?
本文介绍了Web.config更改了吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我对web.config有问题.当我在计算机上运行searcharoo4时,它可以正常工作.我的网络配置是:
Hi ,
I have a problem with web.config. When I run searcharoo4 on my computer it works correctly. My web config is:
<configuration>
<appsettings>
<add key="Searcharoo_IndexerDefaultVerbosity" value="2" />
<add key="Searcharoo_DebugSerializeXml" value="false" />
<add key="Searcharoo_RequestTimeout" value="5" />
<add key="Searcharoo_VirtualRoot" value="http://localhost:53592/Fereshte2/Uploads" />
<add key="Searcharoo_RecursionLimit" value="200" />
<add key="Searcharoo_SpeedLimit" value="1" />
<add key="Searcharoo_StemmingType" value="1" />
<add key="Searcharoo_StoppingType" value="2" />
<add key="Searcharoo_GoType" value="1" />
<add key="Searcharoo_SummaryChars" value="350" />
<add key="Searcharoo_UserAgent" value="Mozilla/6.0 (MSIE 6.0; Windows NT 5.1; Searcharoo.NET; robot)/><br mode=" hold=" /> <add key=" searcharoo_cachekey=" value=" searcharoo_catalog="/><br mode=" searcharoo_catalogfilepath=" value=" searcharoo_tempfilepath=" value=" searcharoo_catalogfilename=" value=" z_searcharoo.dat="/><br mode=" searcharoo_defaultresultsperpage=" value=" 10="/><br mode=" searcharoo_defaultlanguage=" value=" en-us="/><br mode=" searcharoo_ignoreregiontagnoindex=" value=" searcharoonoindex="/><br mode=" searcharoo_ignoreregiontagnofollow=" value=" searcharoonofollow="/><br mode=" true="/><br mode=" version="3.5.0.0," culture="neutral," publickeytoken="B77A5C561934E089"/">
<customerrors mode="Off" />
<system.web>
</system.web></add></appsettings></configuration>
现在,我遇到了一个问题-如果要在Internet站点上的此代码中使用此行,请更改此行?
Now I have a problem - if I want to use from this code in a site on the internet this line muse be changed?
<add key="Searcharoo_VirtualRoot" value="http://localhost:53592/Fereshte2/Uploads" />
并更改为什么?
谢谢.
And changes to what?
Thanks.
推荐答案
尝试:
<add key="Searcharoo_VirtualRoot" value="http://(server name)/Root_hosted_site_name/Fereshte2/Uploads" />
您需要通过尝试访问该URL来检查其有效性.
只是具有有效访问权限的文件夹路径的托管站点的URL.
You need to check the validity of this url by trying to access it.
It simply would be the url of the hosted site with a valid folder path with access.
这篇关于Web.config更改了吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文