babyblue
12-02-2002, 07:10 PM
Hi,
I wrote a script to create html pages for me + put them in folder "/lyrics". The problem is that the server said that there is no "w" access to this folder.
So, I created a .htpasswd and a .htaccess files:
AuthUserFile /somedir/.htpasswd
AuthGroupFile /dev/null
AuthName myusername
AuthType Basic
<Limit POST>
require valid-user myusername
</Limit>
and put this .htaccess in "lyrics", but it doesn't seem to work. I want to be the only person to create files, and others to view these files. What should I do to make it work? I don't have telnet or ssh access to my site, so I created .htpasswd locally and ftp it to my site.
The script to create html files is in a protected folder.
Please help. I'm all new at this!
Thanx.
babyblue
I wrote a script to create html pages for me + put them in folder "/lyrics". The problem is that the server said that there is no "w" access to this folder.
So, I created a .htpasswd and a .htaccess files:
AuthUserFile /somedir/.htpasswd
AuthGroupFile /dev/null
AuthName myusername
AuthType Basic
<Limit POST>
require valid-user myusername
</Limit>
and put this .htaccess in "lyrics", but it doesn't seem to work. I want to be the only person to create files, and others to view these files. What should I do to make it work? I don't have telnet or ssh access to my site, so I created .htpasswd locally and ftp it to my site.
The script to create html files is in a protected folder.
Please help. I'm all new at this!
Thanx.
babyblue