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