如何在我的Sharepoint站点中添加.Htaccess文件 [英] How Do I Add .Htaccess File In My Sharepoint Site

查看:144
本文介绍了如何在我的Sharepoint站点中添加.Htaccess文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好。



我可以使用.htaccess文件在sharepoint 2010网站上重定向和其他东西吗?



如果是,请告诉我怎么做?



如果不是请给我建议。



谢谢

hello.

can i use ".htaccess" file for redirecting and other thing in sharepoint 2010 site?

If Yes tell me how?

If Not Please Advice Me.

Thanks

推荐答案

此文件.htaccess是Apache文件,但您可能使用IIS。你的目的不是很清楚,但试着从这里开始:

http://support.microsoft.com / kb / 2818415 [ ^ ]。



另请参阅: http://en.wikipedia.org/wiki/Rewrite_engine [ ^ ]。







在标准HTTP错误页面的重定向上有很多关于Web的信息( 4xx,5xx)。例如:

http://sharepointsurfer.wordpress.com/2012/06/21/how-to-create-a-custom-error-page-on-sharepoint/ [ ^ ]。



您可以使用Web.config来完成:

http://www.allthefixes.com/using-custom-error-pages-in-sharepoint-2010 [ ^ ],

http://spmatt.wordpress.com/2012/02/06/custom-error-pages -in-sharepoint [ ^ ]。



您可以找到有关该问题的更多信息:http://bit.ly/1mokPhK [ ^ ]。 :-)



-SA
This file, .htaccess is the Apache file, but you probably use IIS. Your purpose is not quite clear, but try to start here:
http://support.microsoft.com/kb/2818415[^].

See also: http://en.wikipedia.org/wiki/Rewrite_engine[^].



There is a lot of information on the Web on the redirection of the standard HTTP error pages (4xx, 5xx). For example:
http://sharepointsurfer.wordpress.com/2012/06/21/how-to-create-a-custom-error-page-on-sharepoint/[^].

You can do it using Web.config:
http://www.allthefixes.com/using-custom-error-pages-in-sharepoint-2010[^],
http://spmatt.wordpress.com/2012/02/06/custom-error-pages-in-sharepoint[^].

You can find a lot more information on the problem: http://bit.ly/1mokPhK[^]. :-)

—SA


这篇关于如何在我的Sharepoint站点中添加.Htaccess文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆