Page 1 of 1

Change admin-site port and/or url

Posted: 17 May 2011, 12:02
by Ancan
Hi all!

Just got my B3 today, hoping it will replace my server+wlan ap+firewall.

On my server I'm running a small community-site using mybb, and first thing I did on the B3 was installing it. I also followed the guide in the forums about virtual hosts, and got the url for the community site to go to the correct apache-site. However, mybb uses "/admin" for it's admin interface, and for some reason that URL was inaccessible because the B3-admin-site somehow got priority and showed up instead.

I'm a beginner regarding apache configuration, but have tried modifiying the ports in the site-definitions in an attempt to have ports 6000 and 6001 for the B3 web interface instead. So far, I have not been successful.

Anyone got any nice tutorials in how to either
a) Change the port used for the Bubba admin-interface (http and https).
or
b) Change the path to the Bubba admin-interface, so it's access though another URL like http://<site>/bubba/admin, instead of http://<site>/admin

Thanks,
Anders

Re: Chang admin-site port and/or url

Posted: 17 May 2011, 12:16
by RandomUsername
I know this isn't what you asked but it might help. You can delete /home/web/index.html to stop yourdomain.com redirecting to yourdomain.com/admin.

HTH.

[EDIT]Actually, according to the comments in index.html you need only delete the metatag.

[FURTHER EDIT]I don't have access to my B2 at the moment but I suspect you're going to break a lot of stuff even if you do successfully change the URL for the admin interface.

Re: Change admin-site port and/or url

Posted: 18 May 2011, 04:01
by Ancan
All right, it's kind'a fixed now, but not by changing the admin-site, but rather tweaking the mybb-site so it's http://.../mybb/admin instead of http://.../admin.

...on to next issue, but that's in another post :)

Re: Change admin-site port and/or url

Posted: 21 May 2011, 04:46
by Nrde
Ancan wrote: Anyone got any nice tutorials in how to either
a) Change the port used for the Bubba admin-interface (http and https).
or
b) Change the path to the Bubba admin-interface, so it's access though another URL like http://<site>/bubba/admin, instead of http://<site>/admin
Is this what you are after? (I wanted to have admin interface on port 8080)

--- quote ---

You should be able to achieve this if you manually edit the files:

/etc/apache2/ports.conf

and

/etc/apache2/sites-enabled/bubba

replacing the port 80 with 8080 in these files.

Restarting apache and reconfigure the firewall when done.

--- quote ---