httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sagara Wijetunga <sagarali...@yahoo.com>
Subject Re: [users@httpd] How to serve an image from a sub directory of the cgi-bin
Date Sun, 21 Sep 2003 15:26:40 GMT
Hi Joshua

Thanks for the reply. 

Yep, we also did not like the non-standard
implementation of the package. I found another safer
implementation and switched to that. Take care.

Regards
Sagara

--- Joshua Slive <joshua@slive.ca> wrote:
> 
> On Sat, 13 Sep 2003, Sagara Wijetunga wrote:
> 
> > Hi
> >
> > I have installed a package develop from a
> third-party
> > company where they have organize images under the
> > cgi-bin to be served like this:
> >
> http://www.mydomain.com/cgi-bin/graphics/image.gif.
> 
> Why do people do that?  I'm not sure if it works in
> other web servers, but
> it certainly doesn't work in the default apache
> configuration.
> 
> What you can do is REMOVE the ScriptAlias line in
> your config and the
> existing <Directory> section pointing there and
> replace
> them with
> 
> Alias /cgi-bin/ /usr/local/apache2/cgi-bin/
> <Directory /usr/local/apache2/cgi-bin/>
> Options ExecCGI
> AddHandler cgi-script cgi pl
> </Directory>
> 
> Note you may need to add additional extensions to
> the AddHandler line.
> 
> 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:
> users-unsubscribe@httpd.apache.org
>    "   from the digest:
> users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail:
> users-help@httpd.apache.org
> 


__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

---------------------------------------------------------------------
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: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message