Request Features

Hi,

You can add the /cp pointing to the login page, open httpd.conf, then find this part:

Open with vi:

[root@volta root]# vi /etc/httpd/conf/httpd.conf

Locate this part tipping "/#Start DirectAdmin" (without insert mode).

#Start DirectAdmin Settings
Alias /config /var/www/html/redirect.php
Alias /phpMyAdmin /var/www/html/phpMyAdmin/
Alias /phpmyadmin /var/www/html/phpMyAdmin/
Alias /webmail /var/www/html/webmail/
Alias /squirrelmail /var/www/html/squirrelmail/

Just add "Alias /cp /var/www/html/redirect.php"

So after:

#Start DirectAdmin Settings
Alias /config /var/www/html/redirect.php
Alias /cp /var/www/html/redirect.php
Alias /phpMyAdmin /var/www/html/phpMyAdmin/
Alias /phpmyadmin /var/www/html/phpMyAdmin/
Alias /webmail /var/www/html/webmail/
Alias /squirrelmail /var/www/html/squirrelmail/

quit vi with :wq

then restart apache, it works.

Bye
 
Back
Top