Jump to content
The Uniform Server Community

multi users in slim ftp


gratzo
 Share

Recommended Posts

I currently have 5 "sites" hosted on the Uniform Server and am using the Apache virtual host mod. They are set up as W:/www/site1, W:/www/site 2, etc. At the moment, I'm able to (via slim ftp) FTP into the Uniform Server, and see all of the folders, per the default config in SlimFTP.

 

The default code is:

<User "myusername">
   password "mypassword"
   Mount / W:/
   Allow / All
   Mount /files D:\files
</User>

 

What I tried to add (in a whole new section of the config file), was:

<User "mysite1username">
   password "mysite1password"
   Mount / W:/www/site1
   Allow / All
   Mount /files D:\files
</User>

 

That's what "broke" the server, or then refused the connection.

 

What I'm trying to do is allow access via FTP to only the "site" folders themselves - and the above code didn't seem to do it. Maybe this is not a possibility, but looking for direction. So...

 

1. is it possible to add another user account and limit it to just the new "site" folders?

2. since I'm running the vhost module, does this have any effect on what the URL would be?

 

I tried copying the exact format that's in SlimFTP for another user, and got a "connection actively refused" while trying to connect. I commented out the new user section and got right back in, so I know it was something in the way I wrote the additional user info.

 

Your help greatly appreciated!

Link to comment
Share on other sites

This is what you should be using :D

 

<User "bob">
   Password "abc123"
   Mount / W:/www/site1
   Allow / All
</User>

2074[/snapback]

 

Just to clarify, to add site2, site3, site4, etc. I would copy the above format and enter the username/password variables and have individual access to the different users? If that's the case, I'm thinking that the "Mount /files D:\files" is what broke it!

 

Glad you're back up - was getting nervous that the UniformServer vanished!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...