.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

----
Give us your Gallery/webserver information to get a faster answer.
Get this information from the PHP diagnostic (in the configuration wizard).
Gallery URL (optional but very useful):
Gallery version:
Apache version:
PHP version (don't just say PHP 4, please):
Graphics Toolkit:
Operating system:
Web browser/version (if applicable):

 
foffo
foffo's picture

Joined: 2003-03-06
Posts: 660
Posted: Fri, 2004-10-15 18:39

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. :)

 
foffo
foffo's picture

Joined: 2003-03-06
Posts: 660
Posted: Fri, 2004-10-15 18:46

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!)

:)