httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeff Fulmer" <j...@joedog.org>
Subject Re: [users@httpd] script alias / directory woes
Date Wed, 18 Jul 2007 16:51:53 GMT
> On 7/18/07, Jeff Fulmer <jeff@joedog.org> 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)


---------------------------------------------------------------------
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message