On 5/4/07, Can Le <[EMAIL PROTECTED]> wrote:
Hi friends,

 Apache2 can display photo.jpg in my localhost/htdocs but my
localhost/cgi-bin can't show the same photo.jpg.

 Please show me why or the missing AddType or  AddHandler ?

By using a ScriptAlias directive to map a cgi-bin directory, you are
explicitly asking for everything in that directory to be treated as a
CGI script. There are two solutions:

1. Move your photo.jpg someplace else.

2. Reconfigure apache:
http://wiki.apache.org/httpd/Errors/DirectoryAsScript

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

Reply via email to