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

Re: Getting Apache to recognise the LedgerSMB home folder

All (and especially Chris):

I am still having trouble getting Apache to correctly substitute the installation directory "C:\Program_Files\LedgerSMB" for the alias /ledgersmb. Â

On 18 January 2013 18:35, Chris TraversÂ<..hidden..>Âwrote:
On Thu, Jan 17, 2013 at 10:52 PM, Hedley FingerÂ<..hidden..>Âwrote:
I have got Apache working on Windows 7 in that when I enter localhost or in Google Chrome I get the index.html "It Works!" page from htdocs/. ÂI have edited the conf/ledgersmb-httpd.conf file [i.e. substituted C:/Program_Files/Apache for WORKING-DIR throughout ledgersmb-httpd.conf] but whenÂ
is typed into the browser it displays an ["404 Not Found"] error message, rather than the output ofÂlogin.plÂ....

The key in the ledgersmb-httpd.conf is the alias directive.

Thanks for your hint but I had already substitutedÂ"C:/Program_Files/LedgerSMB" for WORKING-DIR throughout ledgersmb-httpd.conf, so getting

The error log showed for bothÂhttp://localhost/ledgersmbÂandÂhttp://localhost/ledgersmb/login.pl:

[Sat Jan 19 11:37:11 2013] [error] [client] File does not exist: C:/Program_Files/Apache/htdocs/ledgersmb

Note the attempt to find ledgersmb/ in htdocs/. ÂThe rewrite rule in ledgersmb-httpd.confÂ

Â8 <Directory "C:/Program_Files/LedgerSMB">
16Â RewriteRule ^/ledgersmb/?$ /ledgersmb/login.plÂ[R]Â

is not being applied butÂ

182 DocumentRoot "C:/Program_Files/Apache/htdocs"
209 <Directory "C:/Program_Files/Apache/htdocs">

are being applied (instead?).

I noticed in ledgersmb-httpd.conf ...

Â20 <Directory C:/Program_Files/LedgerSMB>
Â24 Â ÂRewriteEngine On

but in httpd.conf what about

118 #LoadModule rewrite_module modules/mod_rewrite.soÂ?


P.S. Windows downloads are 51 percent of all downloads? ÂWhen I searched the archives for other people having a similar problem, very few relevant posts popped up. ÂClearly other Windows geeks are a lot smarter than this newbie geek.


Hedley Finger

28 Regent StreetÂÂ Camberwell VIC 3124ÂÂ Australia
Tel: +61 3 9809 1229ÂÂ Mobile (cell): +61 412 461 558
Email. "Hedley Finger" <..hidden..>
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
Ledger-smb-users mailing list