Here is the background.
I need to have the SAME Drupal website deployed on two servers. The first is for the internet access and we don’t want to have any Drupal login for it, not even for admin.
The second server is on our organization’s internal network and the Drupal website on this server is just regular one.
What is the elegant way to config/modify Drupal on the first server?
For me, it is acceptable that for the internet Drupal, a link such as http://myorg.com/user still works, but there should be no form for it. If I want to do this, which files do I need to modify and how?
Another solution might be without any config/modification of Drupal, the first server can have a redirect and any http://myorg.com/user will be redirected to another page. Is this doable? How?
I am using Drupal 7 and the server environment is Unix.
Thanks a lot for any input!
An alternative to what Bright Plum suggested is that you can modify the .htaccess. To disallow all the /admin paths and /user paths.
But the way answered by Bright Plum may be a little bit better. Because it allows you to have the same code on both servers (with different database) in the first one you enable your module and on the second one you never enable it).
Hope that helps.