Re: script alias / directory woes

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

 



On 7/18/07, Jeff Fulmer <jeff@xxxxxxxxxx> wrote:
> On 7/18/07, Jeff Fulmer <jeff@xxxxxxxxxx> wrote:
>
>> To answer Joshua's question, I've got nothing in the error_log and I
>> have
>> a 404 in the access_log:
>>
>> GET     /bin/ceilings/hp        404
>> GET     /bin/green              301
>
> The lack of an error_log entry for a 404 error is rather troublesome.
> Are you SURE about that? What you posted above is certainly not a
> standard apache access_log format. Are you sure you are using apache?
>
> I bet if you figure out why you aren't getting anything in the
> error_log you'll also figure out what the central problem is. Third
> party modules? Proxy server?
>

I am POSITIVE I am using apache and I'm very familiar with the
application. The access log format is not one you're familiar with because
I've customized it to suit our needs. Ironically, I snipped access_log
entries so I wouldn't have to explain the custom log format.

Anyway, some good news: It's partially working!

I changed the config to look like this:

ScriptAlias /bin/ "/usr/local/data/redirect/bin/"
<DirectoryMatch "/usr/local/data/redirect/bin/.*">
  AllowOverride None
  Options ExecCGI
  Order allow,deny
  Allow from all
</DirectoryMatch>

Unfortunately, if I have a script in a directory called "index.jsp" apache
returns 404. That exact same script - "index.jsp" - executes on the exact
same configuration in apache 1.3.x. Here's the other thing. The error_log
issue *is* troubling. Sometimes 404s appear in the error_log and sometimes
they don't.

Jeff (nearing wit's end)

As I said, the original config should work. So you need to look
elsewhere in your config for other things that could be interfering:
third-party modules, <Location> or <Files> sections, etc.

Joshua.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[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