简体   繁体   English

使用ISAPI_Rewrite在.htaccess中包含的内容

[英]What to include in .htaccess using ISAPI_Rewrite

So im trying to configure caching options in a .htacces file. 因此,我试图在.htacces文件中配置缓存选项。 Problem is im on a windows server using IIS, but my hosting provider has installed ISAPI_Rewrite to work around this. 问题是使用IIS的Windows服务器上的即时消息,但是我的托管服务提供商已安装ISAPI_Rewrite来解决此问题。 My question Is there anything different in the htaccess file i need to include thats not 'normally' there to make this work properly ? 我的问题htaccess文件中是否需要包含其他内容才能正常工作? And can i just start from scratch in my text editor, create the file, and upload it (assuming rewrites enabled on the server) ? 我能否仅从头开始在文本编辑器中创建文件并进行上传(假设服务器上启用了重写)? Thanks in advanced. 提前致谢。

ISAPI_Rewrite from Helicon is simply mod_rewrite in Apache equivalent. 来自Helicon的ISAPI_Rewrite在Apache等效版本中只是mod_rewrite。 In order to use caching you'd need HeliconApe, which includes ISAPI_Rewrite functionality along with all the bells and whistles of Apache. 为了使用缓存,您需要HeliconApe,它包括ISAPI_Rewrite功能以及Apache的所有功能。 Make sure your provider has HeliconApe, not just ISAPI_Rewrite3. 确保您的提供程序具有HeliconApe,而不仅仅是ISAPI_Rewrite3。

Yes, you can make a file from scratch, but I'd suggest referring to their official site for correct syntax. 是的,您可以从头开始制作文件,但是我建议您参考他们的官方网站以获取正确的语法。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM