Hi all,

I was wondering whether ${GROUPNAME} was supported in the docroot variable.

I'm setting up a staging server environment where 3rd party developers have their own user accounts, but are also in per-website groups. The source code directories have g+s bit set.

Changes I made are the following:

docroot=/home/*
umask=0007
allow_file_group_writeable=true
allow_directory_group_writeable=true

It's all working fine, I was just hoping to be able to use ${GROUPNAME} in the docroot to tighten it a bit, but this doesn't seem to work:

docroot=/home/${GROUPNAME}

I'm getting the 'Script "[..]" resolving to "[..]" not within configured docroot' error. (There's a symbolic link which links within the same /home/* directory.)

When I output group name from the script I'm getting the correct value.

When I change the variable name to a non-existent name, I'm getting suPHP::KeyNotFoundException so the variable name seems to be recognised. Is there a way to work out what the variable's value is?

Cheers,
Jan

On 14/07/2015 4:17 pm, [email protected] wrote:
Welcome to the [email protected] mailing list!

To post to this list, send your message to:

   [email protected]

General information about the mailing list is at:

   https://lists.marsching.com/mailman/listinfo/suphp

If you ever want to unsubscribe or change your options (eg, switch to
or from digest mode, change your password, etc.), visit your
subscription page at:

   https://lists.marsching.com/mailman/options/suphp/jan%40shopix.com.au


You can also make such adjustments via email by sending a message to:

   [email protected]

with the word `help' in the subject or body (don't include the
quotes), and you will get back a message with instructions.

You must know your password to change your options (including changing
the password, itself) or to unsubscribe without confirmation.  It is:

   12px/1.35em arial

Normally, Mailman will remind you of your lists.marsching.com mailing
list passwords once every month, although you can disable this if you
prefer.  This reminder will also include instructions on how to
unsubscribe or change your account options.  There is also a button on
your options page that will email your current password to you.

--
Magento Certified Developer · Magento Certified Solution Specialist
Shopix Australia · http://www.shopix.com.au · 1300 551 221
_______________________________________________
suPHP mailing list
[email protected]
https://lists.marsching.com/mailman/listinfo/suphp

Reply via email to