MyBB Community Forums

Full Version: Can't access admin login page
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,

I'm recently migrated to a new host. I set up everything correctly but for some weird reason when I visit my admin cp which normally is website.com/admin (I changed mine to something else by following a MyBB tutorial and was working before the migration), I get a 500 internal server error.

Here is few latest errors from the error log:

[Sun Jul 07 17:56:48 2013] [error] [client IP] File does not exist: /home/USERNAME/public_html/500.shtml
[Sun Jul 07 17:56:48 2013] [alert] [client IP] /home/USERNAME/public_html/ADMIN/.htaccess: Invalid command 'AuthPam_Enabled', perhaps misspelled or defined by a module not included in the server configuration
[Sun Jul 07 17:53:10 2013] [error] [client IP] File does not exist: /home/USERNAME/public_html/MyBB, referer: http://DOMAIN.net/css.php?stylesheet=6
[Sun Jul 07 17:53:10 2013] [error] [client IP] File does not exist: /home/USERNAME/public_html/images/bhf/thead_bg.gif, referer: http://DOMAIN.net/css.php?stylesheet=6
[Sun Jul 07 17:17:47 2013] [error] [client IP] File does not exist: /home/USERNAME/public_html/MyBB, referer: http://DOMAIN.net/css.php?stylesheet=6
[Sun Jul 07 17:17:47 2013] [error] [client IP] File does not exist: /home/USERNAME/public_html/images/bhf/thead_bg.gif, referer: http://DOMAIN.net/css.php?stylesheet=6
[Sun Jul 07 17:12:49 2013] [error] [client IP] File does not exist: /home/USERNAME/public_html/500.shtml
[Sun Jul 07 17:12:49 2013] [alert] [client IP] /home/USERNAME/public_html/ADMIN/.htaccess: Invalid command 'AuthPam_Enabled', perhaps misspelled or defined by a module not included in the server configuration
[Sun Jul 07 17:11:45 2013] [error] [client IP File does not exist: /home/USERNAME/public_html/MyBB, referer: http://DOMAIN.net/forum-11.html
[Sun Jul 07 17:11:45 2013] [error] [client IP] File does not exist: /home/USERNAME/public_html/images/bhf/thead_bg.gif, referer: http://DOMAIN.net/forum-11.html
[Sun Jul 07 17:11:44 2013] [error] [client IP] File does not exist: /home/USERNAME/public_html/MyBB, referer: http://DOMAIN.net/forum-35.html
[Sun Jul 07 17:11:44 2013] [error] [client IP] File does not exist: /home/USERNAME/public_html/images/bhf/thead_bg.gif, referer: http://DOMAIN.net/forum-35.html
[Sun Jul 07 17:11:37 2013] [error] [client IP] File does not exist: /home/USERNAME/public_html/500.shtml
[Sun Jul 07 17:11:37 2013] [alert] [client IP] /home/USERNAME/public_html/ADMIN/.htaccess: Invalid command 'AuthPam_Enabled', perhaps misspelled or defined by a module not included in the server configuration
[Sun Jul 07 17:10:45 2013] [error] [client IP] File does not exist: /home/USERNAME/public_html/MyBB, referer: http://DOMAIN.net/forum-16.html
Could someone please help me with this problem?
Nevermind. The problem was in the .htaccess file.