[BlueOnyx:17043] Re: Change of admin URL
Richard Sidlin
richard at sidlin.co.uk
Fri Feb 13 04:05:07 -05 2015
>
> Hi Richard,
>
> > We have a client that requires a program of theirs to use the /admin
> > URL. Is it possible to modify BlueOnyx so it uses a different URL for
> > the admin function thereby freeing this up for another use? This
> > particular server is used exclusively by this client so would have no
effect
> on anyone else.
>
> See /etc/httpd/conf.d/blueonyx.conf
>
> In there remove these two lines:
>
> RewriteCond %{HTTP_HOST} ^([^:]+)
> RewriteRule ^/admin/?$ http://%1:444/login.php [L,R]
>
> Then restart Apache:
>
> /sbin/service httpd restart
>
> But be prepared that an updated base-blueonyx might bring it back
> whenever that module updates via YUM.
>
> A better way would be if the client simply accesses the page at the
correct
> and full URL.
>
> Example: http://www.client.com/admin/index.php
>
> Which should work without redirecting to the BlueOnyx GUI and without
> making edits to the GUI config files.
>
> --
> With best regards
>
> Michael Stauber
Thanks Michael and Chuck. That worked nicely. They use OpenCart and that
needs the admin URL.
Richard
More information about the Blueonyx
mailing list