Changing your.mailcleaner.tld/admin/ to something else

Users tips and ideas

Moderators: FlorianB, Pascal, bourgeois, mentor

del
Posts: 497
Joined: Mon Mar 11, 2013 7:42 am
How did you hear about Mailcleaner: google
Location: Germany

Changing your.mailcleaner.tld/admin/ to something else

Postby del » Mon Mar 11, 2013 8:59 pm

the /admin may be too easy to guess. So if you want to change do:

1. /usr/mailcleaner/etc/apache/httpd.conf_template
Alias /admin __SRCDIR__/www/guis/admin/public
-> replace /admin with /yourchoice

2. /usr/mailcleaner/www/guis/admin/public/.htaccess
RewriteRule ^.*$ /admin/index.php [NC,L]
-> replace /admin/index.php with /yourchoice/index.php

3. /usr/mailcleaner/www/guis/admin/application/controllers/DomainController.php
$view->searchdomainurl = "/admin/domain/search";
-> replace /admin/domain/search with /yourchoice/domain/search

Return to “Tips”

Who is online

Users browsing this forum: No registered users and 1 guest