[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Debian LXC Apache connection Issues
- Subject: Re: Debian LXC Apache connection Issues
- From: Robert James Clay <..hidden..>
- Date: Sat, 28 Mar 2015 13:27:41 -0400
On Saturday, March 28, 2015 09:29:45 AM Geordie wrote:
> I was originally going to ask for the best practices in setting up
> Apache2 for Ledgersmb, however, right now I would just like to have it
> open. Ledgersmb is installed in a Debian Unstable LXC container on a
> Debian Unstable host.
I generally use a Debian Testing ("jessie") LXC...
> As for the install it was relatively painless
> there was a problem however
> apache2_invoke ledgersmb.conf: already enabled
> apache2_reload: Your configuration is broken. Not reloading Apache 2
> apache2_reload: AH00526: Syntax error on line 9
> of /etc/apache2/conf-enabled/ledgersmb.conf: apache2_reload: Invalid
> command 'RewriteEngine', perhaps misspelled or defined by a module not
> included in the server configuration
I'll review the package postinst script; may be missing an module enable
for the apache 2.4 section
> ln: failed to create symbolic link
> ‘/etc/ledgersmb/ledgersmb-httpd-2.4.conf’: File exists
Was this an upgrade install? Or a clean install?
> I corrected the error
So, you enabled mod_rewrite?
> added the IP address
> to /etc/apache2/conf-enabled/ledgersmb.conf
Which IP? And where?
I have the LXC(s) I'm using on a server on my network, and access that from
my workstation. I add an "Require IP $WORKSTATIONIP" line after the require
for 127.0.0.1 in the 'Directory' stanza for "/usr/share/ledgersmb". And an
"Allow from $WORKSTATIONIP" after the one for 127.0.0.1 to the 'Directory'
stanza for "/var/lib/ledgersmb/css".
Also; the default for the "Configure LedgerSMB automatically?" question is
"No" (because it doesn't work properly); it that what you took?
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/
Ledger-smb-users mailing list