By adambg on
Hi,
I need to rename the /admin folder, so when someone tries to "guess" it he will get to a 404 page.
I tried to use custom_url_rewrite_inbound and custom_url_rewrite_outbound (http://drupal.org/node/2476), as well as the path module, but the /admin was still accessible.
Is there any solution?
Thanks!
Comments
no one...?
no one...?
OK finally after few hours of
OK finally after few hours of heavy digging, I found that there is a bug with globalredirect module and custom_url_rewrite_inbound causing it an endless loop.
Anyway, I had to apply the following patch http://drupal.org/node/327695, included here:
In addition, to block hackers accessing /admin and /user I added the following code to the end of the custom_url_rewrite_inbound function at settings.php:
Hope this helps someone...
admin is not accessible
admin is not accessible anyway so why would you need to do this ?
This is the message one would get if they tried to guess it
Access Denied
You are not authorized to access this page.
It might not be accessible...
but a guest can see the admin theme, which for my cases is different than the frontend, and which personally isn't nice.
I'll try adambg's way.