Re: [users@httpd] Cannot browse an image file under a cgi directory.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxx> wrote:
> On 2/24/06, Alvaro Listas <alvaro.listas@xxxxxxxxx> 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@xxxxxxxxxxxxxxxx
>   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
> For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
>
>

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



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux