I want put default dir /home to /pub...

It's not going to be easy because DA expects to serve the web from home.

One possibility to try (I haven't tried it and I make no statements about whether it works or not) would be to create your /pub directory and move everything from your /home directory to your /pub directory, and then delete the /home directory and create a symbolic link: /home -> /pub.

I understand that may not be what you want, but since DirectAdmin is a closed-source compiled C++ program, I don't think it'll be possible to do it any other way.

Jeff
 
Then you'll have to create links inside the /home directory.

For example, after creating a user you'll need to move username to /pub/username and then create the link:

username -> /pub/username

for each user.

If it's a big partition you're wasting a lot of space.

If you're a purist you're going to find a lot of other places DA puts things that you're not going to like.

Can't you just learn how to use DA the way it was designed to be used?

Jeff
 
deserts,

What do you mean?

Are you trying to bring the post to the top to get a response?

As far as I can see, I answered the post.

I wrote that DA isn't designed for it, but I posted a workaround that will waste a lot of space.

Alternatively you can figure out how to mount the /home partition as /pub and create an empty (or almost empy) home directory.

But that's technical admin stuff and beyond the scope of these forums.

Jeff
 
Back
Top