Shadow-Here


Server : Apache
System : Linux methusalix2 3.16.0-11-amd64 #1 SMP Debian 3.16.84-1 (2020-06-09) x86_64
User : hios ( 1437)
PHP Version : 5.6.40-0+deb8u12
Disable Function : proc_close,proc_open,dl,shell_exec,passthru
Directory :  /etc/apache2/sites-available/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :
Current File : //etc/apache2/sites-available/000-macros-cosmodrom

###############################################################
# MAKROS
###############################################################

# -------------------------------------------------------------
# MACRO default VhostITK Kunden
# -------------------------------------------------------------
<Macro VhostITK $itkuser $domain $userroot $docroot>
	<VirtualHost *:80>

	ServerName $domain
	ServerAlias www.$domain
	ServerAlias $domain.methusalix2.koerbler.com
	ServerAlias www.$domain.methusalix2.koerbler.com
	DocumentRoot $docroot
#	<IfModule mpm_itk_module>
		AssignUserId $itkuser $itkuser
#	</IfModule>

        <Location /.well-known/acme-challenge>
        RewriteEngine On
        RewriteCond %{REQUEST_FILENAME} -f 
	RewriteCond %{REQUEST_URI} ^/.well-known/acme-challenge
        RewriteRule ^(.+) - [L]
        </Location>

	<Directory />
	  AllowOverride All
	  Options +FollowSymLinks
	  #AllowOverride Options FileInfo Indexes Limit AuthConfig
     	  Deny from 77.88.24.0/24
        </Directory>
	ScriptAlias /cgi-bin $docroot/cgi-bin
#	php_admin_value open_basedir "/var/tmp:/tmp:/usr/lib/php:/usr/share/php:/var/lib/php5:/usr/share/pear:$userroot:/home/staff/typo3"
	ServerAdmin webmaster@$domain
	php_admin_value disable_functions "proc_close,proc_open,dl,shell_exec,passthru"
## php_admin_value disable_functions "exec,system,proc_close,proc_open,dl,shell_exec,passthru"
### php_admin_value suhosin.executor.func.blacklist exec,system,proc_close,proc_open,dl,shell_exec,passthru
   	php_admin_value suhosin.executor.func.blacklist proc_close,proc_open,dl,shell_exec,passthru
	php_admin_value suhosin.memory_limit  129M

# logging
	CustomLog  /$userroot/logs/access.log combined
	ErrorLog   /$userroot/logs/error.log

	<Location /stats>
		Deny from all
		# fa, 12.10.2015, 91.224.70.28 hinzugefügt, Anfrage Körbler, Marc Scheuer
		Allow from 77.220.124.0 91.220.179.0 91.224.71.0 77.119.234.0 77.119.243.0
	</Location>

	MaxClientsVHost         50

<Files "xmlrpc.php">
Order Allow,Deny
deny from all
</Files>


	IncludeOptional /etc/apache2/sites/$domain/*.conf

</VirtualHost>
</Macro>

# -------------------------------------------------------------
# MACRO default VhostITK SSL
# -------------------------------------------------------------
<Macro VhostITKSSL $ip $itkuser $domain $userroot $docroot>
	<VirtualHost $ip:443>

	ServerName $domain
	ServerAlias www.$domain
	ServerAlias $domain.methusalix2.koerbler.com
	ServerAlias www.$domain.methusalix2.koerbler.com
	DocumentRoot $docroot
#	<IfModule mpm_itk_module>
		AssignUserId $itkuser $itkuser
#	</IfModule>
        <Location /.well-known/acme-challenge>
        RewriteEngine On
        RewriteCond %{REQUEST_FILENAME} -f
        RewriteCond %{REQUEST_URI} ^/.well-known/acme-challenge
        RewriteRule ^(.+) - [L]
        </Location>

	<Directory />

	  AllowOverride All
#AllowOverride Options FileInfo Indexes Limit AuthConfig
     	  Deny from 77.88.24.0/24
        </Directory>
	ScriptAlias /cgi-bin $docroot/cgi-bin
#	php_admin_value open_basedir "/var/tmp:/tmp:/usr/lib/php:/usr/share/php:/var/lib/php5:/usr/share/pear:$userroot:/home/staff/typo3"
	ServerAdmin webmaster@$domain
	php_admin_value disable_functions "proc_close,proc_open,dl,shell_exec,passthru"
## php_admin_value disable_functions "exec,system,proc_close,proc_open,dl,shell_exec,passthru"
### php_admin_value suhosin.executor.func.blacklist exec,system,proc_close,proc_open,dl,shell_exec,passthru
   	php_admin_value suhosin.executor.func.blacklist proc_close,proc_open,dl,shell_exec,passthru
	php_admin_value suhosin.memory_limit  129M

# logging
	CustomLog  /$userroot/logs/access.log combined
	ErrorLog   /$userroot/logs/error.log

	<Location /stats>
		Deny from all
		# fa, 12.10.2015, 91.224.70.28 hinzugefügt, Anfrage Körbler, Marc Scheuer
		Allow from 77.220.124.0 91.220.179.0 91.224.71.0 77.119.234.0 77.119.243.0
	</Location>

	MaxClientsVHost         50

	IncludeOptional /etc/apache2/sites/$domain/*.conf



SSLEngine on
SSLCertificateFile /etc/ssl/www.$domain.crt
SSLCertificateKeyFile /etc/ssl/www.$domain.key
SSLCACertificateFile /etc/ssl/www.$domain.ca


SSLOptions +FakeBasicAuth +ExportCertData +StrictRequire
<Files ~ "\.(cgi|shtml)$">
	SSLOptions +StdEnvVars
</Files>

SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown



</VirtualHost>
</Macro>

# -------------------------------------------------------------
# MACRO default VhostITK SSL
# -------------------------------------------------------------
<Macro VhostITKSSLLE $itkuser $domain $userroot $docroot>
        <VirtualHost 91.220.179.173:443>

        ServerName $domain
        ServerAlias www.$domain
        ServerAlias $domain.methusalix2.koerbler.com
        ServerAlias www.$domain.methusalix2.koerbler.com
        DocumentRoot $docroot
#       <IfModule mpm_itk_module>
                AssignUserId $itkuser $itkuser
#       </IfModule>


        <Location /.well-known/acme-challenge>
        RewriteEngine On
        RewriteCond %{REQUEST_FILENAME} -f
        RewriteCond %{REQUEST_URI} ^/.well-known/acme-challenge
        RewriteRule ^(.+) - [L]
        </Location>

        <Directory />
          AllowOverride All
#AllowOverride Options FileInfo Indexes Limit AuthConfig
          Deny from 77.88.24.0/24
        </Directory>
        ScriptAlias /cgi-bin $docroot/cgi-bin
#       php_admin_value open_basedir "/var/tmp:/tmp:/usr/lib/php:/usr/share/php:/var/lib/php5:/usr/share/pear:$userroot:/home/staff/typo3"
        ServerAdmin webmaster@$domain
        php_admin_value disable_functions "proc_close,proc_open,dl,shell_exec,passthru"
## php_admin_value disable_functions "exec,system,proc_close,proc_open,dl,shell_exec,passthru"
### php_admin_value suhosin.executor.func.blacklist exec,system,proc_close,proc_open,dl,shell_exec,passthru
        php_admin_value suhosin.executor.func.blacklist proc_close,proc_open,dl,shell_exec,passthru
        php_admin_value suhosin.memory_limit  129M

# logging
        CustomLog  /$userroot/logs/access.log combined
        ErrorLog   /$userroot/logs/error.log

        <Location /stats>
                Deny from all
                # fa, 12.10.2015, 91.224.70.28 hinzugefügt, Anfrage Körbler, Marc Scheuer
		Allow from 77.220.124.0 91.220.179.0 91.224.71.0 77.119.234.0 77.119.243.0
        </Location>

        MaxClientsVHost         70


        IncludeOptional /etc/apache2/sites/$domain/*.conf

<Files "xmlrpc.php">
Order Allow,Deny
deny from all
</Files>

SSLEngine on
SSLCertificateFile /etc/letsencrypt/live/$domain/cert.pem
SSLCertificateKeyFile /etc/letsencrypt/live/$domain/privkey.pem
SSLCACertificateFile /etc/letsencrypt/live/$domain/chain.pem


SSLOptions +FakeBasicAuth +ExportCertData +StrictRequire
<Files ~ "\.(cgi|shtml)$">
        SSLOptions +StdEnvVars
</Files>

SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown



</VirtualHost>
</Macro>


# -------------------------------------------------------------
# MACRO Redirect
# -------------------------------------------------------------
<Macro VhostRedirect $domain $elsewhere>
        <VirtualHost *:80>

        ServerName $domain
        ServerAlias www.$domain


        Redirect Permanent / $elsewhere

</VirtualHost>
</Macro>

# -------------------------------------------------------------
# MACRO Redirect
# -------------------------------------------------------------
<Macro VhostRedirectToWww $domain>
        <VirtualHost *:80>

        ServerName $domain


        Redirect Permanent / http://www.$domain

</VirtualHost>
</Macro>

Samx