"attempt to invoke directory as script" error when accessing root directory

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

 



Hi,

Using Apache 2.0.59 on Linux, I try to install a ScriptAlias.

My DocumentRoot is '/home/project/web', and the ScriptAlias directive
within httpd.conf is:
-----
ScriptAlias /videos/ /home/project/modules/videos/web/
<Directory "/home/project/modules/">
      AddHandler application/x-httpd-php .php
      AddHandler text/css css
      DirectoryIndex index.php
</Directory>
-----

'http://foo/videos/index.php' works ok, but if I access
'http://foo/videos/', I get a "403 Forbidden" error, and browsing the
error log:
-----
[Wed Mar 07 04:37:02 2007] [error] [client
ac74:d008:f82f:8abf:306f:d300:a00:0] attempt to invoke directory as
script: /home/project/modules/videos/web/
---------

I chmoded 777 all the '/home/project/modules/videos/' directory. What
am I doing wrong?

Thank you very much.

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