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: [EMAIL PROTECTED]
  "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to