Skip to content

Instantly share code, notes, and snippets.

@Restoration
Created October 26, 2016 10:39
Show Gist options
  • Select an option

  • Save Restoration/0b68bad4ac5957fdd68dd64ef7b43085 to your computer and use it in GitHub Desktop.

Select an option

Save Restoration/0b68bad4ac5957fdd68dd64ef7b43085 to your computer and use it in GitHub Desktop.
Win環境でhtaccessファイルが作成できない

#Win環境でhtaccessファイルが作成できない

Windows環境のローカルでhtaccessファイルを作成しようとしても 「ファイル名を入力してください」とエラーが出る OKをクリックしてもリネームができない

##対処法

サーバ上でリネーム
FTPなどを使ってテキストファイルをアップしてサーバー上でファイルをリネームする
コマンドプロンプトをしようしてリネームコマンドを打つ
rename htaccess .htaccess
エディタのプロジェクト一覧の中から該当のファイルをリネームする
使用しているエディタのプロジェクトを開いてファイル一覧が表示されたら
htaccessファイルをその一覧からリネームする
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment