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 <chris.trav...@gmail.com> wrote:
>
> On Thu, Jan 17, 2013 at 10:52 PM, Hedley Finger <hedley.fin...@gmail.com>
>  wrote:
>
>> I have got Apache working on Windows 7 in that when I enter localhost or
>> 127.0.0.1 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
>>     localhost/ledgersmb
>> or
>>     localhost/ledgersmb/login.pl
>> 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 127.0.0.1] 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 ?



Regards,
Hedley

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"
<hedley.fin...@gmail.com<https://mail.google.com/mail/?view=cm&fs=1&tf=1&to=hedley.fin...@gmail.com>
>
------------------------------------------------------------------------------
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:
http://p.sf.net/sfu/learnnow-d2d
_______________________________________________
Ledger-smb-users mailing list
Ledger-smb-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ledger-smb-users

Reply via email to