1

Is there any way to use the string matched by a wildcard in an Apache <Directory /> directive further on in the configuration? Ideally, I'd like to do something like this:

<Directory /home/*/public_html>
    ...
    RUidGid $1 $1
    php_admin_value open_basedir /home/$1/
</Directory>

…where $1 is whatever was matched by the *.

Mr. DOS
  • 113
  • 6

1 Answers1

1

It is impossible. Maybe right for you mod_macro or "Dynamically configured mass virtual hosting"

twehad
  • 301
  • 1
  • 2