# Auto generated apache config file by DirectAdmin version 1.59.5
# Modifying this file is not recommended as any changes you make will be
# overwritten when the user makes any changes to their website
# For global config changes that affect all Users, see this guide:
# http://help.directadmin.com/item.php?id=2
# For local config changes that only affect one User, see this guide:
# http://help.directadmin.com/item.php?id=3
<Directory "/home/martin/public_html">
        <FilesMatch "\.(inc|php|phtml|phps|php73)$">
            AddHandler "proxy:unix:/usr/local/php73/sockets/martin.sock|fcgi://localhost" .inc .php .phtml .php73
        </FilesMatch>
    <IfModule mod_fcgid.c>
        SuexecUserGroup martin martin
    </IfModule>
</Directory>
<VirtualHost 209.250.241.172:8080 127.0.0.1:8080 >
<VirtualHost 209.250.241.172:443 >
    SSLEngine on
    SSLCertificateFile /usr/local/directadmin/data/users/martin/domains/domain.eu.cert.combined
    SSLCertificateKeyFile /usr/local/directadmin/data/users/martin/domains/domain.eu.key
    SSLCACertificateFile /usr/local/directadmin/data/users/martin/domains/domain.eu.cacert 
    ServerName www.pbx.domain.eu
    ServerAlias www.pbx.domain.eu pbx.domain.eu
    ServerAdmin [email protected]
    DocumentRoot /home/martin/domains/domain.eu/private_html/manage
       ProxyPass / http://sip.domain.eu:8000/
       ProxyPassReverse / http://sip.domain.eu:8000/
    UseCanonicalName OFF
    <IfModule !mod_ruid2.c>
        SuexecUserGroup martin martin
    </IfModule>
    CustomLog /var/log/httpd/domains/domain.eu.pbx.bytes bytes
    CustomLog /var/log/httpd/domains/domain.eu.pbx.log combined
    ErrorLog /var/log/httpd/domains/domain.eu.pbx.error.log
    <Directory /home/martin/domains/domain.eu/private_html>
        AllowOverride AuthConfig FileInfo Indexes Limit Options=Indexes,IncludesNOEXEC,MultiViews,SymLinksIfOwnerMatch,FollowSymLinks,None
        Options -ExecCGI -Includes +IncludesNOEXEC
        <FilesMatch "\.(inc|php|phtml|phps|php73)$">
            <If "-f %{REQUEST_FILENAME}">
                #ProxyErrorOverride on
                AddHandler "proxy:unix:/usr/local/php73/sockets/martin.sock|fcgi://localhost" .inc .php .phtml .php73
            </If>
        </FilesMatch>
    </Directory>
</VirtualHost>
    ServerName www.domain.eu
    ServerAlias www.domain.eu domain.eu
    ServerAdmin [email protected]
    DocumentRoot /home/martin/domains/domain.eu/public_html
    UseCanonicalName OFF
    SetEnvIf X-Forwarded-Proto "https" HTTPS=on
    RewriteEngine On
    RewriteCond %{HTTPS} !=on
    RewriteCond %{HTTP:X-Forwarded-Proto} !https [NC]
    RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
    <IfModule !mod_ruid2.c>
        SuexecUserGroup martin martin
    </IfModule>
    CustomLog /var/log/httpd/domains/domain.eu.bytes bytes
    CustomLog /var/log/httpd/domains/domain.eu.log combined
    ErrorLog /var/log/httpd/domains/domain.eu.error.log
    <Directory /home/martin/domains/domain.eu/public_html>
        AllowOverride AuthConfig FileInfo Indexes Limit Options=Indexes,IncludesNOEXEC,MultiViews,SymLinksIfOwnerMatch,FollowSymLinks,None
        Options -ExecCGI -Includes +IncludesNOEXEC
        <FilesMatch "\.(inc|php|phtml|phps|php73)$">
            <If "-f %{REQUEST_FILENAME}">
                #ProxyErrorOverride on
                AddHandler "proxy:unix:/usr/local/php73/sockets/martin.sock|fcgi://localhost" .inc .php .phtml .php73
            </If>
        </FilesMatch>
    </Directory>
</VirtualHost>
<VirtualHost 209.250.241.172:8081 127.0.0.1:8081 >
<VirtualHost 209.250.241.172:443 >
    SSLEngine on
    SSLCertificateFile /usr/local/directadmin/data/users/martin/domains/domain.eu.cert.combined
    SSLCertificateKeyFile /usr/local/directadmin/data/users/martin/domains/domain.eu.key
    SSLCACertificateFile /usr/local/directadmin/data/users/martin/domains/domain.eu.cacert 
    ServerName www.pbx.domain.eu
    ServerAlias www.pbx.domain.eu pbx.domain.eu
    ServerAdmin [email protected]
    DocumentRoot /home/martin/domains/domain.eu/private_html/manage
       ProxyPass / http://sip.domain.eu:8000/
       ProxyPassReverse / http://sip.domain.eu:8000/
    UseCanonicalName OFF
    <IfModule !mod_ruid2.c>
        SuexecUserGroup martin martin
    </IfModule>
    CustomLog /var/log/httpd/domains/domain.eu.pbx.bytes bytes
    CustomLog /var/log/httpd/domains/domain.eu.pbx.log combined
    ErrorLog /var/log/httpd/domains/domain.eu.pbx.error.log
    <Directory /home/martin/domains/domain.eu/private_html>
        AllowOverride AuthConfig FileInfo Indexes Limit Options=Indexes,IncludesNOEXEC,MultiViews,SymLinksIfOwnerMatch,FollowSymLinks,None
        Options -ExecCGI -Includes +IncludesNOEXEC
        <FilesMatch "\.(inc|php|phtml|phps|php73)$">
            <If "-f %{REQUEST_FILENAME}">
                #ProxyErrorOverride on
                AddHandler "proxy:unix:/usr/local/php73/sockets/martin.sock|fcgi://localhost" .inc .php .phtml .php73
            </If>
        </FilesMatch>
    </Directory>
</VirtualHost>
    SSLEngine on
    SSLCertificateFile /usr/local/directadmin/data/users/martin/domains/domain.eu.cert.combined
    SSLCertificateKeyFile /usr/local/directadmin/data/users/martin/domains/domain.eu.key
    SSLCACertificateFile /usr/local/directadmin/data/users/martin/domains/domain.eu.cacert
    ServerName www.domain.eu
    ServerAlias www.domain.eu domain.eu
    ServerAdmin [email protected]
    DocumentRoot /home/martin/domains/domain.eu/private_html
    UseCanonicalName OFF
    <IfModule !mod_ruid2.c>
        SuexecUserGroup martin martin
    </IfModule>
    CustomLog /var/log/httpd/domains/domain.eu.bytes bytes
    CustomLog /var/log/httpd/domains/domain.eu.log combined
    ErrorLog /var/log/httpd/domains/domain.eu.error.log
    <Directory /home/martin/domains/domain.eu/private_html>
        AllowOverride AuthConfig FileInfo Indexes Limit Options=Indexes,IncludesNOEXEC,MultiViews,SymLinksIfOwnerMatch,FollowSymLinks,None
        Options -ExecCGI -Includes +IncludesNOEXEC
        <FilesMatch "\.(inc|php|phtml|phps|php73)$">
            <If "-f %{REQUEST_FILENAME}">
                #ProxyErrorOverride on
                AddHandler "proxy:unix:/usr/local/php73/sockets/martin.sock|fcgi://localhost" .inc .php .phtml .php73
            </If>
        </FilesMatch>
    </Directory>
</VirtualHost>
<VirtualHost 209.250.241.172:8080 127.0.0.1:8080 >
    ServerName www.clients.telecomhippie.eu
    ServerAlias www.clients.telecomhippie.eu clients.telecomhippie.eu
    ServerAdmin [email protected]
    DocumentRoot /home/martin/domains/clients.telecomhippie.eu/public_html
    UseCanonicalName OFF
    SetEnvIf X-Forwarded-Proto "https" HTTPS=on
    RewriteEngine On
    RewriteCond %{HTTPS} !=on
    RewriteCond %{HTTP:X-Forwarded-Proto} !https [NC]
    RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
    <IfModule !mod_ruid2.c>
        SuexecUserGroup martin martin
    </IfModule>
    CustomLog /var/log/httpd/domains/clients.telecomhippie.eu.bytes bytes
    CustomLog /var/log/httpd/domains/clients.telecomhippie.eu.log combined
    ErrorLog /var/log/httpd/domains/clients.telecomhippie.eu.error.log
    <Directory /home/martin/domains/clients.telecomhippie.eu/public_html>
        AllowOverride AuthConfig FileInfo Indexes Limit Options=Indexes,IncludesNOEXEC,MultiViews,SymLinksIfOwnerMatch,FollowSymLinks,None
        Options -ExecCGI -Includes +IncludesNOEXEC
        <FilesMatch "\.(inc|php|phtml|phps|php73)$">
            <If "-f %{REQUEST_FILENAME}">
                #ProxyErrorOverride on
                AddHandler "proxy:unix:/usr/local/php73/sockets/martin.sock|fcgi://localhost" .inc .php .phtml .php73
            </If>
        </FilesMatch>
    </Directory>
</VirtualHost>
<VirtualHost 209.250.241.172:8081 127.0.0.1:8081 >
    SSLEngine on
    SSLCertificateFile /usr/local/directadmin/data/users/martin/domains/clients.telecomhippie.eu.cert
    SSLCertificateKeyFile /usr/local/directadmin/data/users/martin/domains/clients.telecomhippie.eu.key
    SSLCACertificateFile /usr/local/directadmin/data/users/martin/domains/clients.telecomhippie.eu.cacert
    ServerName www.clients.telecomhippie.eu
    ServerAlias www.clients.telecomhippie.eu clients.telecomhippie.eu
    ServerAdmin [email protected]
    DocumentRoot /home/martin/domains/clients.telecomhippie.eu/private_html
    UseCanonicalName OFF
    <IfModule !mod_ruid2.c>
        SuexecUserGroup martin martin
    </IfModule>
    CustomLog /var/log/httpd/domains/clients.telecomhippie.eu.bytes bytes
    CustomLog /var/log/httpd/domains/clients.telecomhippie.eu.log combined
    ErrorLog /var/log/httpd/domains/clients.telecomhippie.eu.error.log
    <Directory /home/martin/domains/clients.telecomhippie.eu/private_html>
        AllowOverride AuthConfig FileInfo Indexes Limit Options=Indexes,IncludesNOEXEC,MultiViews,SymLinksIfOwnerMatch,FollowSymLinks,None
        Options -ExecCGI -Includes +IncludesNOEXEC
        <FilesMatch "\.(inc|php|phtml|phps|php73)$">
            <If "-f %{REQUEST_FILENAME}">
                #ProxyErrorOverride on
                AddHandler "proxy:unix:/usr/local/php73/sockets/martin.sock|fcgi://localhost" .inc .php .phtml .php73
            </If>
        </FilesMatch>
    </Directory>
</VirtualHost>
<VirtualHost 209.250.241.172:8080 127.0.0.1:8080 >
    ServerName www.selfservice.domain.eu
    ServerAlias www.selfservice.domain.eu selfservice.domain.eu
    ServerAdmin [email protected]
    DocumentRoot /home/martin/domains/selfservice.domain.eu/public_html
    UseCanonicalName OFF
    <IfModule !mod_ruid2.c>
        SuexecUserGroup martin martin
    </IfModule>
    CustomLog /var/log/httpd/domains/selfservice.domain.eu.bytes bytes
    CustomLog /var/log/httpd/domains/selfservice.domain.eu.log combined
    ErrorLog /var/log/httpd/domains/selfservice.domain.eu.error.log
    <Directory /home/martin/domains/selfservice.domain.eu/public_html>
        AllowOverride AuthConfig FileInfo Indexes Limit Options=Indexes,IncludesNOEXEC,MultiViews,SymLinksIfOwnerMatch,FollowSymLinks,None
        Options -ExecCGI -Includes +IncludesNOEXEC
        <FilesMatch "\.(inc|php|phtml|phps|php73)$">
            <If "-f %{REQUEST_FILENAME}">
                #ProxyErrorOverride on
                AddHandler "proxy:unix:/usr/local/php73/sockets/martin.sock|fcgi://localhost" .inc .php .phtml .php73
            </If>
        </FilesMatch>
    </Directory>
</VirtualHost>