more htaccess questions - I was complaining about passwords in java and...
Simply name the files:
.htaccess and .htpasswd
JP
----------
The Webmaster Promotion and Resource Center.
http://www.what-next.com
Simply name the files:
.htaccess and .htpasswd
JP
----------
The Webmaster Promotion and Resource Center.
http://www.what-next.com
shai1 posted this at 20:33 — 27th May 1999.
They have: 32 posts
Joined: Apr 1999
Someone steered me in this direction. I know NOTHING about it. Please help me.
Does the file need to be named ".htaccess", "htaccess.txt", or do I give it a name and have the htaccess as the file type?
Also, the same question goes for the htpasswd file.
Here is what I have so far...
htaccess file,
AuthUserFile /usr/test/test.htpasswd
AuthName "Cory's test"
AuthType Basic
<Limit GET POST>
require valid-user
</Limit>
htpasswd file,
cory:9.TMvchNj.LGc
One last question I have, can I test this on my local computer before I upload it to my server?
----------
Thanks,
http://www.blacklightdesign.com
fairhousing posted this at 22:25 — 27th May 1999.
They have: 1,587 posts
Joined: Mar 1999
There's an excellent link at my search engine (signature link below), just search for it and it tells you lots of useful tips about .htaccess.
Hope it helps
----------
Get listed on a search engine/directory within 24 hrs. FREE!
http://www.birminghamnet.com/cgi-bin/links/pages/
Traffic-Website.com free traffic, affiliate programs, hosting, & domain names.
My Site got hacked, but i'm coming back?
shai1 posted this at 01:29 — 28th May 1999.
They have: 32 posts
Joined: Apr 1999
Can I not do it from the windows environment? It wont let me name name it with a . in the first character spot!
What do I do?
----------
Thanks,
http://www.blacklightdesign.com
John Pollock posted this at 03:56 — 28th May 1999.
He has: 628 posts
Joined: Mar 1999
When the save box comes up, type the filename with quotes around it. It should allow you to save it with that name then:
Where it says "Save As", type this:
".htaccess"
It should do the trick for you.
----------
John Pollock
http://www.pageresource.com
Java Script: A Beginner's Guide
Page Resource
shai1 posted this at 18:33 — 28th May 1999.
They have: 32 posts
Joined: Apr 1999
Thanks for all your help, I'm sure you'll hear from me again!
Unfortunately!
----------
Thanks,
http://www.blacklightdesign.com
JP Stones posted this at 01:19 — 29th May 1999.
They have: 2,390 posts
Joined: Nov 1998
...or just change the name in your FTP program eg: WS_FTP. That's what I do.
JP
----------
The Webmaster Promotion and Resource Center.
http://www.what-next.com
shai1 posted this at 02:46 — 30th May 1999.
They have: 32 posts
Joined: Apr 1999
I uploaded the .htaccess file and the .htpasswd file and now I can't view them on the server through my ftp program, I can't delete them, and they don't even work! What can I do?!
John Pollock posted this at 19:21 — 30th May 1999.
He has: 628 posts
Joined: Mar 1999
Yikes!
In this case, I would suggest contacting your web host. They can probably help you find the problem, and help you fix what isn't working.
----------
John Pollock
http://www.pageresource.com
Java Script: A Beginner's Guide
Page Resource
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.