RE: script alias / directory woes

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

 



> Jeff,
>
>> From: Jeff Fulmer [mailto:jeff@xxxxxxxxxx]
>> Sent: Wednesday, July 18, 2007 7:03 AM
>>
>> We're moving from 1.3.x to 2.0.59. I discovered a problem
>> with my config that didn't port well. Here's the relevant block:
>
> I think I'd go to 2.2, but....
>>
>> ScriptAlias /bin "/usr/local/data/redirect/bin"
>> <Directory "/usr/local/data/redirect/bin">
>>   AllowOverride None
>>   Options ExecCGI
>>   Order allow,deny
>>   Allow from all
>> </Directory>
>>
>> My problem lies in the execution of scripts in
>> subdirectories. In other words,
>>
>> /bin/haha executes just fine.
>>
>> But /bin/papa/haha does not. In fact, I get a 404 error that
>
> I *think* you need +ExecCGI
>

I changed it to +ExecCGI and it had no effect. /bin/haha works fine, but
/bin/papa/haha is not found. I think the key is the Directory
specification. Apache finds the file when it's right below bin, but it
fails to find it when it's located in /bin/subdirectory/

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

TIA,
Jeff


---------------------------------------------------------------------
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