Can't access protected folder

User 2363698 Photo


Registered User
6 posts

Hi,
I have setup a protected folder with a username and password. In the folder I have an Index.html.
I have uploaded the access permissions using the Web Access Manager FTP.
When accessing the folder the Username/Password box pops up, but the username and password do not work.
Looking at the folders on the website with the FTP I don't see the .htaccess, or .htpasswd files.
Any thoughts?
User 187934 Photo


Senior Advisor
20,188 posts

I would dbl check that you were selecting the setting for the proper directory and or user in WAM. I have found this to be an easy thing to over look when setting up which users get access to which directories and or files.
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 122279 Photo


Senior Advisor
14,450 posts
Online Now

To be able to see the dot-files, I would say use Folezilla.
Also, in WAM you should be able to remove the protection, and also see what you have protected. I have recently had the same problem.
Ha en riktig god dag!
Inger, Norway

My work in progress:
Components for Site Designer and the HTML Editor: https://mock-up.coffeecup.com


User 2363698 Photo


Registered User
6 posts

I am using WSFTP to look at the directory.
the directory list is as follows:
/htdocs/ilamars/members
Members is the folder I want to restrict.
For testing only 1 user was setup, and that did not work on the "members" folder.
User 2363698 Photo


Registered User
6 posts

It appears that the .htaccess and .htpasswrd foles are not created/posted.
Below is the process info (I have redacted the username and site address).
1
2
3
4
5
6
Logging onto FTP Server...
Connecting to FTP server.
Connected.
220 Welcome to ************************************* FTP service.
USER ********************
331 Please specify the password.
PASS ********
230 Login successful.
Building Password File...
Uploading Password File...
TYPE A
200 Switching to ASCII mode.
PORT 192,168,1,17,253,89
200 PORT command successful. Consider using PASV.
STOR /htdocs/ilamars/.htpasswd
150 Ok to send data.
226 File receive OK.
PORT 192,168,1,17,253,90
200 PORT command successful. Consider using PASV.
LIST /htdocs/ilamars/error-docs/
150 Here comes the directory listing.
226 Transfer done (but failed to open directory).
RMD /htdocs/ilamars/error-docs/
550 Remove directory operation failed.
PORT 192,168,1,17,253,91
200 PORT command successful. Consider using PASV.
NLST /htdocs/ilamars/.htaccess
150 Here comes the directory listing.
226 Directory send OK.
PORT 192,168,1,17,253,92
200 PORT command successful. Consider using PASV.
LIST /htdocs/ilamars/members/error-docs/
150 Here comes the directory listing.
226 Transfer done (but failed to open directory).
RMD /htdocs/ilamars/members/error-docs/
550 Remove directory operation failed.
PORT 192,168,1,17,253,93
200 PORT command successful. Consider using PASV.
NLST /htdocs/ilamars/members/.htaccess
150 Here comes the directory listing.
226 Directory send OK.
PORT 192,168,1,17,253,94
200 PORT command successful. Consider using PASV.
NLST /htdocs/ilamars/members/.htaccess
150 Here comes the directory listing.
226 Directory send OK.
SIZE /htdocs/ilamars/members/.htaccess
213 4208
PORT 192,168,1,17,253,95
200 PORT command successful. Consider using PASV.
RETR /htdocs/ilamars/members/.htaccess
150 Opening ASCII mode data connection for /htdocs/ilamars/members/.htaccess (4208 bytes).
226 File send OK.
TYPE A
200 Switching to ASCII mode.
PORT 192,168,1,17,253,96
200 PORT command successful. Consider using PASV.
STOR /htdocs/ilamars/members/.htaccess
150 Ok to send data.
226 File receive OK.
PORT 192,168,1,17,253,97
200 PORT command successful. Consider using PASV.
NLST /htdocs/ilamars/members/index.html/index.html/.htaccess
150 Here comes the directory listing.
226 Transfer done (but failed to open directory).
TYPE A
200 Switching to ASCII mode.
PORT 192,168,1,17,253,98
200 PORT command successful. Consider using PASV.
STOR /htdocs/ilamars/members/index.html/index.html/.htaccess
553 Could not create file.
PORT 192,168,1,17,253,99
200 PORT command successful. Consider using PASV.
NLST /htdocs/ilamars/members/index.html/index.html/.htaccess
150 Here comes the directory listing.
226 Transfer done (but failed to open directory).
TYPE A
200 Switching to ASCII mode.
PORT 192,168,1,17,253,100
200 PORT command successful. Consider using PASV.
STOR /htdocs/ilamars/members/index.html/index.html/.htaccess
553 Could not create file.
PORT 192,168,1,17,253,101
200 PORT command successful. Consider using PASV.
NLST /htdocs/ilamars/members/index.html/index.html/.htaccess
150 Here comes the directory listing.
226 Transfer done (but failed to open directory).
TYPE A
200 Switching to ASCII mode.
PORT 192,168,1,17,253,102
200 PORT command successful. Consider using PASV.
STOR /htdocs/ilamars/members/index.html/index.html/.htaccess
553 Could not create file.
PORT 192,168,1,17,253,103
200 PORT command successful. Consider using PASV.
NLST /htdocs/ilamars/members/index.html/index.html/.htaccess
150 Here comes the directory listing.
226 Transfer done (but failed to open directory).
TYPE A
200 Switching to ASCII mode.
PORT 192,168,1,17,253,104
200 PORT command successful. Consider using PASV.
STOR /htdocs/ilamars/members/index.html/index.html/.htaccess
553 Could not create file.
QUIT
221 Goodbye.
Disconnected.

Upload Complete!
User 187934 Photo


Senior Advisor
20,188 posts

Who's your host?
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 2363698 Photo


Registered User
6 posts

Hosting.com
They were able to manually setup a username and password.
Not sure what is going on.
User 187934 Photo


Senior Advisor
20,188 posts

So your all set for now then? That's odd. I wonder if its a permissions issue.
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.