Website tries to load "localhost" after admin login

165 views
Skip to first unread message

Steve

unread,
May 17, 2016, 6:53:33 PM5/17/16
to ASTPP
Hi,

I just did a new install and everything seemed to go smoothly on debian 8.  But when I access the GUI I enter admin and admin as password and after a few seconds the browser bar says:
I tried removing localhost from the apache config and using an actual domain, but it still insists on trying to load localhost.  Can anyone point my in the right direction?

Thanks,
Steve

Gilbert Arias

unread,
May 17, 2016, 6:55:32 PM5/17/16
to ASTPP
search for the ASTPP config file change localhost for your external ip.

--
=====================================================================
Documentation : https://astppdoc.atlassian.net/
Please contact at sa...@inextrix.com for commercial support.
---
You received this message because you are subscribed to the Google Groups "ASTPP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to astpp+un...@googlegroups.com.
To post to this group, send email to as...@googlegroups.com.
Visit this group at https://groups.google.com/group/astpp.
To view this discussion on the web visit https://groups.google.com/d/msgid/astpp/7951b797-0671-4cbc-a6ee-68ad3cb8e8b0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Gilbert N. Arias Feliz

CEO @ Treblig Web Design & IT Solutions
Unix/Linux Administrator
Windows Server Administrator
VoIP Engineer 
BackTrack Network Security Tester Team

[Unos Sueñan... Otros Hacemos Realidad Nuestros Sueños...]

Steve

unread,
May 17, 2016, 10:10:35 PM5/17/16
to ASTPP
Hi Garias,

Thanks for your prompt reply.  I found a reference to 'localhost' in html/astpp/system/core/Config.php.  I tried changing that to both an FQDN and my IP address.  But still, after logging in the browser wants to go to http://localhost:8081/login/login .. very odd :)

Thanks,
Steve

Fozzy

unread,
May 18, 2016, 3:12:21 AM5/18/16
to ASTPP
Hi,

Try edit the file /var/lib/astpp/astpp-config.conf

This is where FS and Apache look to for the URL.

Steve

unread,
May 18, 2016, 5:05:55 AM5/18/16
to ASTPP
Hi,

Well that solved it! Silly me not to check the obvious config file the install steps already had me edit!  Looks good!  Thanks for your help.

Regards,
Steve

On Tuesday, May 17, 2016 at 6:53:33 PM UTC-4, Steve wrote:
Reply all
Reply to author
Forward
0 new messages