I've got a question on .htaccess on a web server. My friend has one of those ftp only web space accounts, so I can't get telnet access to it. I want to create a .htaccess file to password protect one of the directories, with corresponding .htpasswd file so I can prompt visitors to enter a username and password, and then it allows them to view the web pages in that directory. In the documents I have read on the web it indicates I need to issue an htpasswd command (with appropiate arguments) to create the .htpasswd file. This isn't possible as I have no telnet access to issue the command. Is it possible to fudge the .htpasswd file, either by hand or on my own linux box and then upload the resulting file?
I currently have the .htaccess file set up to certain domains (e.g. anything ending with .dial.pipex.com), but this solution is not ideal. What we really want is a single user/password to access a restricted area. Furthermore I thought I would be able to write a perl script with a user/password setup for this type of application, but then I realised that once past the perl script password checker, you can get straight to the desired files :(
Please email me your replies or see me at the meeting on Sunday to discuss this further if needed.
Ashley
Mr. Ashley T. Howes Email: ashley_t_howes@dial.pipex.com http://www.ydu09.dial.pipex.com
"When all the animals of this world are gone, man will die of loneliness"
[ This email came to you via the Anglian Linux User Group list ] [ If you only wish to recieve event announcements, email the ] [ SUBJECTs of "unsubscribe alug" and "subscribe alug-announce" ] [ to listserver@stu.uea.ac.uk -- We do need your support, tho' ]