It looks like you're new here. If you want to get involved, click one of these buttons!
Using userdir when accessing by ip/~username it uses a default account rather than the user specified name from the URL
Im not sure where to add the config to allow this to work ? It works fine with mod_php (and www owned scripts) Any suggestions ?
it works fine though the main domain, Just the /~username im having issues with
Comments
Try editing suphp.conf, and setting check_vhost_docroot to false.
- Spam
- Abuse
- Troll
0 • Disagree Agree ThanksBTW, mod_ruid2 performs better than su_php and also works for other Apache-launched dynamic content, including SSIs, CGIs, etc. Might be worth considering.
- Spam
- Abuse
- Troll
0 • Disagree Agree ThanksI've installed ruid2. Same issue ill see whati can find in the config for it
- Spam
- Abuse
- Troll
0 • Disagree Agree ThanksYou've got to set
RModeto, IIRC,stat(as opposed toconfig). That will cause it to run Apache as the user who owns the requested file. (Given that, make sure you haveRMinUidGidset properly and don't leave anythingchowned as the wrong user in someone's home directory.)- Spam
- Abuse
- Troll
0 • Disagree Agree Thanksive run
in the user folder. and changing to stat worked.
Now ive got an issue which which basedir doesnt seem to work in the ~/user url, But i may disable it as as long as everything is 660 it cant be changed anyway
Thanks for the help ! Much appreciated
- Spam
- Abuse
- Troll
0 • Disagree Agree ThanksSolved it was using
instead of
Thanks !
added spaces to show properly
- Spam
- Abuse
- Troll
0 • Disagree Agree Thanks