Re: [EMAIL PROTECTED] How to dsiplay photo from cgi-bin

2007-05-06 Thread Joshua Slive
On 5/6/07, Can Le <[EMAIL PROTECTED]> wrote: On 2. Link suggested: Alias /cgi-bin /var/www/cgi-bin AddHandler cgi-script cgi pl Options ExecCGI Should I add .jpg after "cgi pl " as "cgi pl jpg " No. That is exactly the point: you DON'T want jpg to be treated as a cgi-script. or add image

Re: [EMAIL PROTECTED] How to dsiplay photo from cgi-bin

2007-05-05 Thread Can Le
Thank Joshua Slive <[EMAIL PROTECTED]> wrote:. 1. Move your photo.jpg someplace else. 2. Reconfigure apache:http://wiki.apache.org/httpd/Errors/DirectoryAsScript On 1. It works when I moved image.jpg to htdocs: http://localhost/image.jpg On 2. Link suggested: Alias /c

Re: [EMAIL PROTECTED] How to dsiplay photo from cgi-bin

2007-05-04 Thread Joshua Slive
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 a

[EMAIL PROTECTED] How to dsiplay photo from cgi-bin

2007-05-04 Thread Can Le
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 ? Thank you for your helps Can - Ahhh...imagining that i