httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alvaro Listas" <alvaro.lis...@gmail.com>
Subject Re: [users@httpd] Cannot browse an image file under a cgi directory.
Date Fri, 24 Feb 2006 15:06:22 GMT
Hey Joshua, you are the guy!!!!

That really did the trick.

Thank you very, very much for your help.

Sincerely,

AL

On 2/24/06, Joshua Slive <joshua@slive.ca> wrote:
> On 2/24/06, Alvaro Listas <alvaro.listas@gmail.com> wrote:
>
> > Problem: Cannot browse an image file under a cgi directory.
>
> > DocumentRoot "/var/www/html"
> > AddHandler cgi-script .cgi
> > ScriptAlias /squidstats/ "/var/www/html/squid/"
> > <Directory "/var/www/html/squid/">
> >     AllowOverride All
> >     Options ExecCGI
> >     Order allow,deny
> >     Allow from all
> > </Directory>
>
> Just remove the "Script" in the ScriptAlias.  The AddHandler and
> Options ExecCGI already mark the scripts as being executable, so the
> ScriptAlias is not necessary and prevents you from serving non-scripts
> from the directory.
>
> 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
>
>

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