Koozali.org: home of the SME Server
Legacy Forums => Experienced User Forum => Topic started by: Michiel de Jager on June 18, 2002, 06:04:37 PM
-
Hello all,
I found a manual for granting access to the server-manager page on my server from pre-selected IP-Addresses.
But now i also want this for my user-manager page, but I don't know how to do this.
Can someone help me?
for the server-manager page the commands where:
/sbin/e-smith/db configuration setprop httpd -admin Validfrom IP/Subnet
/sbin/e-smith/expand-template /etc/httpd/conf/httpd.conf
this gave the administrator acces from the selected IP-addresses
but now I want the same for the user-manager site, and for all users.
please help
greetz; Michiel
-
IIRC, that same command grants access to both the server manager and the (standard) SME user manager.
-
Well, it isn't the "standard" user-manager, it is the version from Darrel May.
So I don't know how to do it with this user-manager page.
-
I found a way to do it right in httpd.conf
but isn't there a template for it, and if there is,
how do I use it?
-
Michiel,
I am wanting this functionality as well - what did you change in your httpd.conf ?
All the best,
Julian
-
/etc/e-smith/templates/etc/httpd/admin-conf/httpd.conf
Should work...
W.
-
Oops, missed the file name
90e-smithAccess30user
-
Modified that file, and the listening binds
35Listen980
35SSL00ListenPort
and still no go.
I don't have much experience with SSL. Can anyone take this further?
W.
-
Well it isn't that difficult, but I don't know if it is a wise thing to do, but this is what I changed:
Go to your httpd.conf file, search for the lines wich contain the information to the user-manager.
And look for a line like this:"deny from all"
all you have to do is comment this line out, and from that moment you will be able to access the user-manager.
If you have any questions please ask.
greetz,
Michiel
Julian Luton wrote:
>
> Michiel,
> I am wanting this functionality as well - what did you change
> in your httpd.conf ?
>
> All the best,
> Julian
-
Two things, which httpd.conf are you modifying with that change that it works, and secondly, are you modifying the conf file directly, and not the template?
If so, you'll have to edit the file every time you make other changes using the e-smith system!
W.
-
I use the file; /etc/httpd/conf/httpd.conf
and I don't use the template, cause I don't know how that works yet.
TheRealWaldo wrote:
>
> Two things, which httpd.conf are you modifying with that
> change that it works, and secondly, are you modifying the
> conf file directly, and not the template?
>
> If so, you'll have to edit the file every time you make other
> changes using the e-smith system!
>
> W.