I dont have any web pages to this site, it is just a ‘Web access Ftp’ server.
if i type in MySite/members i get asked for user id and password.
the problem i am having is that the members folder does not show up in the indexing of the main folder. so no link to the members area.
I could make a web page with a basic link to the sub-folders, including the members area, but this html file will also be visible to anyone connecting via ftp.
any ideas?
if worse comes to worse i will stop the ftp daemon and just run the ‘wftp’ site with a fancy welcome page.
The problem is that the automatic indexing of directories works on the physical filesystem. Since members is not a subdirectory of /srv/www/htdocs, it will not show up in the index.
The webserver is constructing a virtual space by mapping the URL http://mysite.example.com/members to a different place in the filesystem.
One solution is to not rely on automatic indexing but to put a welcome document at /srv/www/htdocs/index.html
The server root is /srv/ftp/default… not /srv/www/htdocs.
the directory i am trying to pw protect is /srv/ftp/default/members , a subdirectory of the server root, not a maped directory.
I may be looking in the wrong spot, i have been looking at the htaccess file. you gave me the idea it may be a ‘fancy indexing’ issue