HOME


Mini Shell 1.0
DIR:/usr/local/apache/conf.d/vhosts/
Upload File :
Current File : //usr/local/apache/conf.d/vhosts/rahuldwivedi.com.conf
<VirtualHost 80.65.208.110:80>
	ServerName rahuldwivedi.com
	ServerAlias www.rahuldwivedi.com
	ServerAdmin webmaster@rahuldwivedi.com
	DocumentRoot /home/rahuldwi/public_html
	UseCanonicalName Off
	ScriptAlias /cgi-bin/ /home/rahuldwi/public_html/cgi-bin/

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

	# Custom settings are loaded below this line (if any exist)
	# IncludeOptional "/usr/local/apache/conf/userdata/rahuldwi/rahuldwivedi.com/*.conf"

	<IfModule mod_setenvif.c>
		SetEnvIf X-Forwarded-Proto "^https$" HTTPS=on
	</IfModule>

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

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

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

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

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

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

</VirtualHost>

<VirtualHost 80.65.208.110:80>
	ServerName webmail.rahuldwivedi.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 80.65.208.110:80>
	ServerName mail.rahuldwivedi.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 80.65.208.110:80>
	ServerName cpanel.rahuldwivedi.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>