Problem

The .htaccess is a file that use to rewrite URL on a web server. It is the file that doesn’t has a name, only an extension. The problem comes when you want to create the file on Windows operating system. You can’t create a file without a name. If you try to create the .htaccess file, you will receive a error message: “You must type a file name”. The example below shows the error message when I tried to rename a file htaccess.txt to .htaccess.
You must type a file name

Solution

There are some solutions to solve the problem above. The easiest one is to use notepad to create the .htaccess file.

  1. Open notepad and save the document with file name is .htaccess and save as type to All Files.
    Save as All Files
  2. The .htaccess file has been created.
    .htaccess on Windows
Share and Enjoy:
  • Digg
  • del.icio.us
  • Reddit
  • Slashdot
  • Technorati
  • Google Bookmarks
  • Live
  • MSN Reporter
  • RSS
  • Twitter
  • email
  • Facebook
  • Netvibes
  • PDF
  • Yahoo! Buzz

Related post

    No related posts.