Symlinks won't show

charliez

Verified User
Joined
Sep 29, 2004
Messages
83
I was setting up a symlink for a user, and all is fine i SSH, but in direct admin it is unavailable in the file manager, and it will not be displayed by apache.

I have never had this problem before. I'm just using a simple
ln -s /home/USER/domains/USER.com/public_html/catalog /home/USER/domains/USER.com/private_html/catalog

All is there in the original (public) dir, and the symlink works fine in SSH, but not in DA and apache.

All help appreciated.

C.

PS The ownership is set to user:user but that didn't work either. I have done this many times before and have no idea what is wrong.
 
Last edited:
Ok. Something is seriously wrong with DA in this regard.

The https index page seen on the web is the standard apache ssl page. But the index file in the private_html directory is the standard DA ssl file. (this is your private_html blah blah). So obviously https//domain.com is not pointing to domains/domain/private_html


As for the symblink, it will show in DA file manager if I use relative ref (../public_html) but not if I use the full path /home/user/blahblah

On the web, of course, it won't show at all since it's not even pointing to the correct directory.

Claes.

[Edit:]

I'm talking to myself, I know. I deleted the hole account and set up all from scratch again. It's working now, but it's not much of a solution, though.

If anyone can think of what may have gone wrong, I'd be very interested.

Cheers,
C.
 
Last edited:
OK. More testing. The problem with https seams to be related to adding more than one domain to a user account. The second domain https do not point to the private_html folder.

How can I change this manually? I only get the apache SSL page as index even though the index in the private folder is the DA default SSL index.
 
Hi!

That was it! These set on by default when I set up a new user, but for later domains, they need to enabled manually?

Thank you very much, John! I do get stuck with the silliest things.
 
Last edited:
Back
Top