On 17/02/13 12:57, ario wrote:
First: I'm not an expert, but I'm going through the same stuff right
now, so why not share? :)
can't comment, don't use SELinux, but see next comment.
> In fact there are two problems:
>
> I installed lsmb-1.3.29-1 on a Fedora 18 VM using the rpm.
>
> 1.
> I Had to switch off SELinux in order to have httpd accept the listening
> on port 5432 (it just FAILED to start up with SELinux enforced). This
> can't be right.
http (lynx) talks on port 80 unless you tell it otherwise.
> I put an index.html containing the text "hello" in /var/www/html and
> when I 'point' lynx (it's a GUI-less minimal install) to localhost,
> whether it's 127.0.0.1 or 127.0.0.1:5432, I get the 'hello'.
Postgresql listens on 5432, but that is accessed by the underlying
script, not by lynx.
try logging in with <lynx localhost/ledgersmb/login.pl>
> 2.
> When I try to go to 127.0.0.1:5432/ledgersmb/login.pl or -setup.pl, I
> get a HTTP403 "Forbidden" (You don't have permission to
> access /ledgersmb/login.pl on this server.)
> Yet the 'alias /ledgersmb /usr/share/ledgersmb' is in
> the /etc/httpd/conf.d/ledgersmb.conf file.
localhost is the same as 127.0.0.1 for practical purposes.
You shouldn't normally (ever?) use port 5432 for lynx (or Firefox etc)
The first is the apache config file so that apache can find the
> By the way: why are there 2 ledgersmb.conf files scattered around the
> system?
> Â Â Â $ locate ledgersmb.conf
> Â Â Â /etc/httpd/conf.d/ledgersmb.conf
> Â Â Â /usr/share/ledgersmb/ledgersmb.conf
> Â Â Â $
> Oh, wait, those are two entirely different files.
ledgersmb files it needs
The second is the Âconfiguration of ledgersmb. They do different jobs
and have different
content. On my install, they have different names to distinguish them.
I hope that helps. I'm not the expert around here, but at least trying that
>
> The permissions on /usr/share/ledgersmb are 744, owner:group=root:root.
> The same for login.pl, but then with 644 for the permissions.
> Even if I set all 'Deny All' directives in ledgersmb.conf to 'Allow
> All', I still get the 403. (Of course after a 'systemctl restart
> httpd.service'.)
>
> Almost seems like the alias isn't seen??
>
won't mess anything up. (I hope).
------------------------------------------------------------------------------
The Go Parallel Website, sponsored by Intel - in partnership with Geeknet,
is your hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials, tech docs,
whitepapers, evaluation guides, and opinion stories. Check out the most
recent posts - join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Ledger-smb-users mailing list
..hidden..
https://lists.sourceforge.net/lists/listinfo/ledger-smb-users
------------------------------------------------------------------------------ The Go Parallel Website, sponsored by Intel - in partnership with Geeknet, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials, tech docs, whitepapers, evaluation guides, and opinion stories. Check out the most recent posts - join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________ Ledger-smb-users mailing list ..hidden.. https://lists.sourceforge.net/lists/listinfo/ledger-smb-users