system: Linux mars.sprixweb.com 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64
cmd: 

Direktori : /usr/local/apache/conf.d/vhosts/
Upload File :
Current File : //usr/local/apache/conf.d/vhosts/api.cerill.com.conf

<VirtualHost 136.243.146.173:80>
	ServerName api.cerill.com
	ServerAlias www.api.cerill.com
	ServerAdmin webmaster@api.cerill.com
	DocumentRoot /home/cerill/api/
	UseCanonicalName Off
	ScriptAlias /cgi-bin/ /home/cerill/api//cgi-bin/

	CustomLog /usr/local/apache/domlogs/api.cerill.com.bytes bytes
	CustomLog /usr/local/apache/domlogs/api.cerill.com.log combined
	ErrorLog /usr/local/apache/domlogs/api.cerill.com.error.log

	# Custom settings are loaded below this line (if any exist)
	IncludeOptional "/usr/local/apache/conf/userdata/cerill/api.cerill.com/*.conf"
	
	<IfModule mod_setenvif.c>
		SetEnvIf X-Forwarded-Proto "^https$" HTTPS=on
	</IfModule>

	<IfModule mod_userdir.c>
		UserDir disabled
		UserDir enabled cerill
	</IfModule>

	<IfModule mod_suexec.c>
		SuexecUserGroup cerill cerill
	</IfModule>

	<IfModule mod_suphp.c>
		suPHP_UserGroup cerill cerill
		suPHP_ConfigPath /home/cerill
	</IfModule>

	<IfModule mod_ruid2.c>
		RMode config
		RUidGid cerill cerill
	</IfModule>

	<IfModule itk.c>
		AssignUserID cerill cerill
	</IfModule>

	<Directory "/home/cerill/api/">
		Options -Indexes -FollowSymLinks +SymLinksIfOwnerMatch
		AllowOverride All Options=ExecCGI,Includes,IncludesNOEXEC,Indexes,MultiViews,SymLinksIfOwnerMatch
	</Directory>

	<IfModule proxy_fcgi_module>
		<FilesMatch \.php$>
			SetHandler "proxy:unix:/opt/alt/php-fpm81/usr/var/sockets/cerill.sock|fcgi://localhost"
		</FilesMatch>
	</IfModule>

</VirtualHost>

<VirtualHost 136.243.146.173:80>
	ServerName webmail.api.cerill.com

	<IfModule mod_proxy.c>
		ProxyRequests Off
		ProxyPreserveHost On
		ProxyVia Full
		ProxyPass / http://127.0.0.1:2095/
		ProxyPassReverse / http://127.0.0.1:2095/

		<Proxy *>
			AllowOverride All
		</Proxy>
	</IfModule>

	<IfModule mod_security2.c>
		SecRuleEngine Off
	</IfModule>

</VirtualHost>

<VirtualHost 136.243.146.173:80>
	ServerName mail.api.cerill.com

	<IfModule mod_proxy.c>
		ProxyRequests Off
		ProxyPreserveHost On
		ProxyVia Full
		ProxyPass / http://127.0.0.1:2095/
		ProxyPassReverse / http://127.0.0.1:2095/

		<Proxy *>
			AllowOverride All
		</Proxy>
	</IfModule>

	<IfModule mod_security2.c>
		SecRuleEngine Off
	</IfModule>

</VirtualHost>

<VirtualHost 136.243.146.173:80>
	ServerName cpanel.api.cerill.com

	<IfModule mod_proxy.c>

		<IfModule !ssl_module>
			LoadModule ssl_module modules/mod_ssl.so
		</IfModule>
		SSLProxyEngine on
		SSLProxyVerify none
		SSLProxyCheckPeerCN off
		SSLProxyCheckPeerName off
		SSLProxyCheckPeerExpire off
		ProxyRequests Off
		ProxyPreserveHost On
		ProxyVia Full

		RewriteEngine on

		RewriteRule ^/roundcube$ /roundcube/ [R]
		ProxyPass /roundcube/ https://127.0.0.1:2031/roundcube/
		ProxyPassReverse /roundcube https://127.0.0.1:2031/roundcube/

		RewriteRule ^/pma$ /pma/ [R]
		ProxyPass /pma/ https://127.0.0.1:2031/pma/
		ProxyPassReverse /pma https://127.0.0.1:2031/pma/
		
		ProxyPass / https://127.0.0.1:2083/
		ProxyPassReverse / https://127.0.0.1:2083/

		<Proxy *>
			AllowOverride All
		</Proxy>
	</IfModule>

	<IfModule mod_security2.c>
		SecRuleEngine Off
	</IfModule>
	
</VirtualHost>