Re: Conflict between Alias, <Directory>, and RewriteRule hides local directory from Apache httpd?

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

 



On Mon, Jan 28, 2013 at 3:17 AM, Hedley Finger <hedley.finger@xxxxxxxxx> wrote:
When localhost/ledgersmb is entered, an Alias directive and Rewrite Rule are supposed to return C:\Program_Files\LedgerSMB\login.pl:

Alias  /ledgersmb  C:/Program_Files/LedgerSMB/
<Directory C:/Program_Files/LedgerSMB>
RewriteEngine On
RewriteRule ^/ledgersmb/?$ /ledgersmb/login.pl [R]
...
</Directory>

Can anyone point out the obvious detail that is eluding me?  The directives in the two *.conf files is appended below, minus comment lines.

I don't see where httpd.conf is including ledgersmb-httpd.conf.
You need a line like 
Include path/to/ledgersmb-httpd.conf
somewhere in your httpd.conf.

- Y

[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux