[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Getting Back to testing 1.4
- Subject: Re: Getting Back to testing 1.4
- From: ..hidden..
- Date: Thu, 3 Oct 2013 12:23:35 -0700
It was a configuration error on my end.
In ledgersmb-httpd.conf for my apache 2.4.
apache mod_rewrite cant use mod_alias for some reason?!
Is anyone running apache 2.4 with 1.4 yet?
The first <directory> tag is the one that contains the mod_rewrite
it was set to WORKING_DIR using find and replace and was <ledgersmb-1.4>
apache mod_rewrite cant use mod_alias it needs a complete path there:
Changing to <Directory /var/www/localhost/htdocs/ledgersmb-1.4/>
and then I had to add:
Only then did login succeed.
The auth dialog also changed in appearance.
I am attaching a patch for ledgersmb-httpd-2.4.conf.template that
illustrates what I had to do and will prevent users or package managers
from this error when configuring ledgersmb-httpd-2.4.conf with 'find and
replace' or sed like I did.
Now I can login and connect to my old demo database.
I was able to upgrade it, now I have to figure out how to grant
permissions and change a users password etc.
Thanks for sticking with me!
--- ledgersmb-httpd-2.4.conf.template (revision 6104)
+++ ledgersmb-httpd-2.4.conf.template (working copy)
@@ -2,7 +2,11 @@
Alias /ledgersmb WORKING_DIR/
+#Note apache mod_rewrite cant use mod_alias
+ #Apache 2.4 seemed to require this:
+ RewriteBase /ledgersmb-1.4
# Rewrite rule to allow HTTP Authorization information to the scripts only
# from this directory.