httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Can Le <>
Subject Re: [users@httpd] How to dsiplay photo from cgi-bin
Date Sun, 06 May 2007 04:15:53 GMT

Thank Joshua 
  Slive <>  wrote:.....
  1. Move your photo.jpg someplace else.
  2. Reconfigure apache:
  On 1. It works when I moved image.jpg to htdocs: 
On 2. Link suggested: 
Alias /cgi-bin /var/www/cgi-bin
<Directory /var/www/cgi-bin>
 AddHandler cgi-script cgi pl
 Options ExecCGI

Should I add .jpg after "cgi pl " as "cgi pl jpg "
or add image.jpg into another directory such as:

/cgi-bin/photo/image.jpg ?

The file image.jpg is also working OK in cgi-bin 
when the output text file has a html tag for 
<img src.....jpg 

However, below url won't display:

  Thank you

Expecting? Get great news right away with email Auto-Check.
Try the Yahoo! Mail Beta.
View raw message