ClayRabbit
Verified User
DA-Proxy (ver. 0.12) is tool similar to cpanelproxy - it's a simple wrapper designed for providing access to control panel via standart ports. (It's useful for customers behind firewall or strict proxy.)
DirectAdmin on non-SSL port must be available for this script to work.
You need to use separate domain, subdomain or IP for this script. Just put da-proxy.php and .htaccess into apropriate folder.
For example, you can put da-proxy.php and .htaccess into /var/www/html/ folder and then you (and your customers) will be able to access DirectAdmin via
http://<your_server's_main_ip_or_hostname>/
or
https://<your_server's_main_ip_or_hostname>/
Configuration is simple - you can edit da-proxy.php to change script settings.
NOTE: To disable GZIP compression you can change, comment or delete "php_flag zlib.output_compression On" line inside .htaccess
P.S.: Hope, someday DA will change it's post-login redirection to relative style or will get protocol&port from request instead of config. (I don't understand, why they still can't do such simple thing.) And then we will be able to redirect connection from any port to DA freely and such silly wrappers will be unnecessary.
DirectAdmin on non-SSL port must be available for this script to work.
You need to use separate domain, subdomain or IP for this script. Just put da-proxy.php and .htaccess into apropriate folder.
For example, you can put da-proxy.php and .htaccess into /var/www/html/ folder and then you (and your customers) will be able to access DirectAdmin via
http://<your_server's_main_ip_or_hostname>/
or
https://<your_server's_main_ip_or_hostname>/
Configuration is simple - you can edit da-proxy.php to change script settings.
NOTE: To disable GZIP compression you can change, comment or delete "php_flag zlib.output_compression On" line inside .htaccess
P.S.: Hope, someday DA will change it's post-login redirection to relative style or will get protocol&port from request instead of config. (I don't understand, why they still can't do such simple thing.) And then we will be able to redirect connection from any port to DA freely and such silly wrappers will be unnecessary.
Last edited: