在Unix的LF只有Windows编辑.htaccess文件 [英] edit .htaccess file on windows in Unix LF only

查看:272
本文介绍了在Unix的LF只有Windows编辑.htaccess文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好我想编辑在code点火器上的windows文件.htaccess文件,下面的最后一行的链接它说:.htaccess文件必须在Unix中仅换风格。如果你用记事本或写字板和上传CR / LF风格.htaccess文件将无法正常工作

Hi I want to edit the .htaccess file in code igniter file on windows, on the link below in the last line it says "The .htaccess file must be in Unix LF only style. If you use Notepad or Wordpad and upload an .htaccess file in CR/LF style it won’t work"

HTTP://$c$cigniter.com/wiki/Godaddy_Installaton_Tips/

我怎么能做到这一点在Windows

How could I achieve this on windows

推荐答案

的Notepad ++ 是酷编辑如的.htaccess 文件。

我相信使用Unix行结尾,你可以选择沿的东西线编辑 - > EOL转换 - > Unix的从菜单中。

I believe to use Unix line endings you can select something along the lines of Edit -> EOL Conversions -> Unix from the menu.

这篇关于在Unix的LF只有Windows编辑.htaccess文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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