Home > Windows 7 > Windows 7 Cannot Create .htaccess

Windows 7 Cannot Create .htaccess

share|improve this answer edited Oct 17 '15 at 5:36 Boann 27.6k76296 answered Feb 15 '11 at 14:12 foens 5,16912240 13 Always appreciate the adding of images. –Doug Chamberlain Feb 15 Select the Enable Filtering check box. share|improve this answer edited Oct 17 '15 at 5:36 Boann 27.6k76296 answered Feb 15 '11 at 14:12 foens 5,16912240 13 Always appreciate the adding of images. –Doug Chamberlain Feb 15 I'll let you read it and decide if it applies to Windows 7, but the solution involves using a command line. this contact form

Windows will automatically remove the trailing dot when you validate. Now, you can't make it name.htaccess and rename it . more stack exchange communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed That's it Tweet Subscribe to RSS Feed or Get updates on your inbox: People who liked this also read: Rename multiple files in windowsHow to Configure Permalinks in Local

If you just want to create an empty file, try echo. > .htaccess share|improve this answer answered Feb 15 '11 at 14:27 Boocko 569314 I never thought of echoing logic_earth 2009-03-12 01:21:53 UTC #9 If you need to create a file/folder with a dot proceeding it, can use the command line to create it. If you have an existing web server (remote), you can download that .htaccess file to your computer and then edit it. Thanks.

In my opinion, this is not off topic, as the Windows Explorer is a tool used by many developers, specially when new in the craft. There has to be a way to create files with . Sharepoint 2013: Rest API - does header need to include X-RequestDigest? Find a mistake in the following bogus proof How might a PhD student or new prof be affected by an ex's revenge tactics?

I know, you were just trying to help. Up until now I've just been opening a command window, navigating to the directory and typing in a command to rename it. If this is of use to even one other person then it'll make it worth my while. In File Explorer, right click anywhere and create a new file.

Great, cause it works for folders too. asked 5 years ago viewed 76416 times active 3 months ago Upcoming Events 2016 Community Moderator Election ends Nov 22 Get the weekly newsletter! The accepted answer is a lesser answer, so I posted. So instead of being prompted with You must type a file name You will instead be prompted with If you change a file name extension, the file might become unusable.

Google gave me this page as top hit for "windows create file starting with dot", so the answer should be here of all places (as an answer with good score!) –kratenko I noticed you closed both, but judging by the response and views on both questions, it would seem there is at least some interest in questions of this nature. –Doug Chamberlain To start viewing messages, select the forum that you want to visit from the selection below. Why does Cutie act like this and lesser robots listen to it?

You can read about the Apache module mod_rewrite on Apache's URL Rewriting Guide and the mod_rewrite reference documention. weblink I do not know what you mean by "recreate the ff". How do I make a .htaccess file on Windows? There has to be a way to create files with .

Antnee 2009-03-12 01:34:18 UTC #11 Thanks CWebguy. Then go to command line and type code as below to rename your file: rename C:\path\to\htaccess.txt .htaccess Now you have a blank .htaccess without opening it in any editor. echo. navigate here In the file name type .htaccess, and in type make it to All Files.

But Windows won't let me rename it to .htaccess. My second concern was how to recreate the ff: url s from this =============> to this http://localhost/domain/catalog/?action=list_cities ====> http://localhost/domain/catalog/list_cities http://localhost/domain/catalog/?act...ents&city_id=3 =====> http://localhost/domain/catalog/list_events/3 Please help and thank you very much in advance. Can this be done manually?

Open up the httpd.conf or whatever the XAMPP setup calls the Apache configuration file.

as a prefix in windows. So instead of being prompted with You must type a file name You will instead be prompted with If you change a file name extension, the file might become unusable. But since I had never seen anone say this before, I searched on here for this question, so I could make sure anyone else needing to know got the information. I am not 100% sure it also worked in Windows Explorer.

Please create a thread in the forum or contact me if you have a question not listed in the FAQ. Where can I learn about Regular Expressions? Antnee 2009-03-11 20:54:01 UTC #7 But it IS the file that Apache looks for :S AlexDawson 2009-03-12 00:56:13 UTC #8 dklynn said: Just because Notepad can't save as .htaccess doesn't mean his comment is here Then press Alt + D (Windows 7) and Ctrl + C to copy the path from the Address bar of Windows Explorer.

The asker should change the accepted answer to that one though, since it is a far better answer. –zeel Jan 6 '12 at 16:54 And you realize it confuses This would be useful for those who run a web server software or install wordpress on PC. Powered by vBulletinCopyright ©2000 - 2016, Jelsoft Enterprises Ltd.

Log In Renaming .htaccess in Windows Server Config Antnee 2009-02-21 18:48:51 UTC #1 I'm sure this has been covered a hundred If you just want to create an empty file, try echo. > .htaccess share|improve this answer answered Feb 15 '11 at 14:27 Boocko 569314 I never thought of echoing

I have been enabling and disabling it, and I don't want to load up an editor to change the content, and they can't change filenames either, they'd just save an extra Straight line equation Problem with function inside brackets. Today's Posts FAQ Rules Guidelines Search Advanced Search Forum :: Server side development Apache configuration Creating htaccess file in xampp (windows 7) to rewrite php url to be seo friendly If Solution to create .htaccess on WindowsThere are some solutions to solve the problem above.

By Thankful Person on February 4th, 2010 at 1:00 pm Thanks for this tip - it helped me today!