[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Testing out 1.4 with apache 2.4



> Hi Turtle,
>
>
>> ... reading the page you reference, you probably want to change the
>> lines
>> >
>> > Order Deny,Allow
>> > Allow from 127.0.0.1
>> > Allow from localhost
>> >
>> > to
>> >
>> > Require ip 127.0.0.1
>> > Require host localhost
>> >
>>
>
> Committed: r5825.
>
> (install.sh, INSTALL and other docs remain to be updated. Care to send a
> patch?)
>
>
>
> Bye,
>
>
> Erik.
> ------------------------------------------------------------------------------
> AlienVault Unified Security Management (USM) platform delivers complete
> security visibility with the essential security capabilities. Easily and
> efficiently configure, manage, and operate all of your security controls
> from a single console and one unified framework. Download a free trial.
> http://p.sf.net/sfu/alienvault_d2d_______________________________________________
> Ledger-smb-devel mailing list
> ..hidden..
> https://lists.sourceforge.net/lists/listinfo/ledger-smb-devel
>
Your quick.

Here is a humble start. I have not checked it against apache 2.2.
It finds my apache 2.4
<begin patch>

--- install.sh  2013-05-18 21:28:47.534096177 -0700
+++ install.sh~ 2013-05-18 21:28:27.125094539 -0700
@@ -21,9 +21,18 @@
 make

 echo "Configuring Apache"
+#Check apache version
+version=$(apache2 -v | grep "Server version")
+if [[ $version =~ "2.4" ]];
+then echo "Configuring for new Apache 2.4 series: " $version
+        config_file='ledgersmb-httpd-2.4.conf.template'
+else echo "Configuring for Apache2 series: " $version
+       let config_file='ledgersmb-httpd.conf.template'
+fi
+echo "Selected "$config_file

 #sed "s|WORKING_DIR|$CWD|" ledgersmb-httpd.conf.template >
ledgersmb-httpd.conf
-sed  "s|/ledgersmb|/$APACHE_ALIAS|g;s|WORKING_DIR|$CWD|g"
ledgersmb-httpd.conf.template > ledgersmb-httpd.conf
+sed  "s|/ledgersmb|/$APACHE_ALIAS|g;s|WORKING_DIR|$CWD|g" $config_file >
ledgersmb-httpd.conf

 echo "Which user does your web server run as?"
 read username



</end patch>

I realized my postgres contrib was not set when I did the test install.
On Gentoo its /usr/share/postgresql/extension/
Ill have to manually muck around in psql for abit and see if I can get rid
of all these errors...


I got allot of does "not exist, skipping" in the dblog
I posted them in a file here:
http://thinkelectric.org/paste/not_exist.txt

Anyway my first order of business was going to be figuring out what
happened to the project table. We run a custom 2.X version that organized
everything by project.

Cheers
Turtle