You are not logged in.

#1 2023-04-20 15:16:12

sademojihere
Member
Registered: 2023-04-20
Posts: 2

XAMPP symlink problem

Hi! I'd like to symlink a folder in user's home /home/user/userdir to /opt/lampp/htdocs. I've created symlink correctly, it works in terminal/file explorer, however it does not show up on xampp.
Now I'll list some things I've already tried.
- changed userdir perm to 777
- tried changing  /opt/lampp/etc/httpd.conf  user to nouser and group to nogroup from daemon after which xampp did not launch "bad group name nogroup"
- checked if FollowSymLinks generated correctly
What may be the problem here?
Thank you in advance.

Offline

#2 2023-04-21 14:25:58

jonno2002
Member
Registered: 2016-11-21
Posts: 868

Re: XAMPP symlink problem

you might have to set 755 perm on /home/user as well, OR run xampp as 'user', OR make xampp a member of the group 'user' and chmod 750 /home/user.
its all about permissions, whatever user and group xampp runs as needs to have read and exec permission to the htdocs/symlinked dir and all dirs above

Offline

#3 2023-04-23 08:08:20

sademojihere
Member
Registered: 2023-04-20
Posts: 2

Re: XAMPP symlink problem

Thanks a lot, setting perms to 755 worked problem solved

Last edited by sademojihere (2023-04-23 09:17:27)

Offline

#4 2023-04-23 11:48:05

2ManyDogs
Forum Fellow
Registered: 2012-01-15
Posts: 4,648

Re: XAMPP symlink problem

Please remember to mark your thread [SOLVED] (edit the title of your first post).

Offline

Board footer

Powered by FluxBB