Re: [users@httpd] define variables by vhost only

2018-11-05 Thread Hajo Locke
Hello, thanks for your answer. Am 05.11.2018 um 14:00 schrieb Gillis J. de Nijs: Alternatlvely, you can just put the AddHandler in the VirtualHost directly, and not bother with the .htaccess files. yes, i have in Vhost a preconfigured addhandler which fits for most needs. These parts of VHost-

Re: [users@httpd] define variables by vhost only

2018-11-05 Thread Hajo Locke
Hello, thanks, for your answer. Am 05.11.2018 um 13:54 schrieb David Spector: Just in case it wasn't obvious, the message I just sent assumes that your server is managed by WHM/cPanel. If not, just use Include directives in your conf file. sorry, i dont understand. Is this a documented feature

Re: [users@httpd] define variables by vhost only

2018-11-05 Thread Gillis J. de Nijs
Alternatlvely, you can just put the AddHandler in the VirtualHost directly, and not bother with the .htaccess files. On Mon, Nov 5, 2018 at 9:43 AM Hajo Locke wrote: > Hello List, > > iam looking for a way to use define to create variables limited to > vhosts (apache 2.4). > Currently i have som

Re: [users@httpd] define variables by vhost only

2018-11-05 Thread David Spector
Just in case it wasn't obvious, the message I just sent assumes that your server is managed by WHM/cPanel. If not, just use Include directives in your conf file. David Spector Springtime Software - To unsubscribe, e-mail: user

Re: [users@httpd] define variables by vhost only

2018-11-05 Thread David Spector
Hajo, You can define variables or do any other configuration of Apache just for virtual hosts by creating files for either of these special paths: * For HTTPS, version 2.4: /etc/apache2/conf.d/userdata/ssl/2_4/USER/DOMAIN/ANYNAME.conf * For HTTP, version 2.4: /etc/apache2/conf.d/userdata/std/

[users@httpd] define variables by vhost only

2018-11-05 Thread Hajo Locke
Hello List, iam looking for a way to use define to create variables limited to vhosts (apache 2.4). Currently i have some vhosts and use this syntax: define myvar mycontent. Name of variables is in all vhosts the same, "mycontent" is different and vhost related. Later i use this variable in