.htaccess is not available in Windows
feelx
Joined: 2004-10-15
Posts: 1 |
Posted: Fri, 2004-10-15 17:49 |
Hi ! I'm trying to install Gallery 1.x on Apache 1.x with php 4(.x ?). My OS is Windows XP. I can't create a .htacess file because i need to put something before the ".". I'd like to use the file "htaccess" without any dot or extension (like htaccess.txt). The fact is that when I'm trying to finish the gallery configuration wizard (http://127.0.0.1/gallery/setup/index.php) i'm not able to pass trough step 4 because of this error message: "Error: You must create an empty file named .htaccess and chmod it 777 before proceeding" But I can't ! How could I fix that? I've tried to modify my httpd.conf with: "AccessFileName htaccess" instead of "AccessFileName .htaccess" Please help me ! Thanks a lot ---- |
|
Posts: 660
feelx, You are installing Gallery on Win XP right?
If you have a file called 'htaccess', you could easily rename that file in the command prompt. Open the command prompt - navigate to the correct directory - and issue 'ren htaccess .htaccess
Windows Explorer won't let you create files that begins with a dot - don't ask me why... The Windows OS itself have no problems with such files.
Posts: 660
feelx, another tip: You could also copy the provided .htaccess file in the gallery/setup/ directory to the gallery/ directory. You then must remeber that the file in the setup direcotry isn't emty - so you have to clear out the contents in the new file after the copy. (you can use notepad for this - you can modify and copy files beginning with a dot - just not create them! Wierd!)