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 29 January 2013 00:55, Nick Kew <nick@xxxxxxxxxxxx> wrote:
On Mon, 28 Jan 2013 09:39:06 +0100
Daniel Gruno <rumble@xxxxxxx> wrote:

> Top posting, as this is a long email.
> Please see:
> http://httpd.apache.org/docs/current/rewrite/flags.html#flag_pt

Daniel: According to the PT flag documentation, when RewriteRule is defined inside a <Directory ...>, PT is automatically applied.  Still getting a 404 Not Found with PT actually specified.
 
Disagree.  This is a case of overcomplicating: there's no excuse
to play with mod_rewrite, and it's not even clear that the use of
alias isn't a sticking-plaster over a less-than-optimal
arrangement of the filesystem.

I know nothing about Apache httpd and .conf files. The ledgersmb-httpd.conf file is supplied by the developers as is. Installation onto Windows is complicated by having to translate Ubuntu instructions into their Windows equivalents. Not easy.

A pointer to DirectoryIndex (and perhaps FallbackResource)
would seem more useful.

Thanks.  I'll try to nut this out.
 
Oh, and I'd be worrying about that mixing of cases introducing bugs.

Why? As Gertrude Stein said, "A string is a string is a string." Although Windows likes to capitalise the first letter of a directory name even if typed in lower-case, the paths given in my first post are all explicit capitalisation.

Regards,
Hedley

--

Hedley Finger

28 Regent Street   Camberwell VIC 3124   Australia
Tel: +61 3 9809 1229   Mobile (cell): +61 412 461 558
Email. "Hedley Finger" <hedley.finger@xxxxxxxxx>


[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