.htaccess

JoePegg

Joined: 2004-07-19
Posts: 5
Posted: Mon, 2004-07-19 14:31

I'm having trouble creating the .htaccess file because it isn't a valid file name. How do I create this file? is it meant to have the . at the start?
----
Operating system: Win98

 
JoePegg

Joined: 2004-07-19
Posts: 5
Posted: Mon, 2004-07-19 14:37

Ah. just seen the "no support for win98". Ok no problem I will get someone to create the file and send it to me.

 
alindeman
alindeman's picture

Joined: 2002-10-06
Posts: 8194
Posted: Mon, 2004-07-19 14:40

You can create the file in Notepad, AFAIK. Just make sure you have 'All Files' selected when you save it, and not '*.txt'

 
JoePegg

Joined: 2004-07-19
Posts: 5
Posted: Mon, 2004-07-19 14:46

ok I cant get winxp to do it either. help please :(

 
h0bbel
h0bbel's picture

Joined: 2002-07-28
Posts: 13451
Posted: Mon, 2004-07-19 17:22

Quick quirky way to do it in XP:

1. Start->run->cmd.exe
2. cd /path/to/your/gallery/
3. notepad .htaccess
4. save

That works :-)

 
JoePegg

Joined: 2004-07-19
Posts: 5
Posted: Tue, 2004-07-20 20:36

thanks for the help guys. But now I have another issue. I ahd everything set up and ready to go. I logged in a few times as Admin and uploaded an album. Then I discovered I had made an error in the config. I went back to fix it and it came up "Sorry you must log in as an admin". So I tried to and it kept telling me "Incorrect password" even though I'm certain I was using the right one. Anyway, I can't get to the config wizard without entering my password, but I can't reset my password without getting into the config wizard. How do I get past this paradox?

 
JoePegg

Joined: 2004-07-19
Posts: 5
Posted: Tue, 2004-07-20 20:48

"Send me my password" won't work either. Apparently "Admin" is not a valid user name. Neither is Administrator. I don't know what is going on here.

 
alindeman
alindeman's picture

Joined: 2002-10-06
Posts: 8194
Posted: Wed, 2004-07-21 15:18

Add a blank file named resetadmin (no extension) to the setup/ directory and then rerun the configuration wizard.