Re: [users@httpd] .htaccess & php

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

 



I think what your doing is completely preventing people from accessing
images at all. They need to access images to see them on the web
pages. You may try either placing an index file in the images
directory, or in your .htaccess specify to use some other page as the
directory index.

Hope that helps,
JC


On 8/11/05, Hiep Nguyen <hiep@xxxxxxxxxx> wrote:
> Hi everyone,
> 
> I have this problem with my web server.
> 
> I'm running mysql, apache, and php that come with fedora 4.  I want to
> place .htaccess file in /var/www/html/images/ folder to prevent users to
> see
> all images in this dictory, but this causes my web page unable to display
> any images on the web server.
> 
> Here is content of .htaccess file:
> 
> IndexIgnore *
> 
> I even tried:
> IndexIgnore *.gif *.jpg
> 
> but it's not working.  Anybody got any idea how to fix this?
> 
> Here is the last error in /etc/httpd/logs/error_log
> [Thu Aug 11 16:37:37 2005] [alert] [client 10.0.0.128]
> /var/www/html/images/.htaccess: IndexIgnore not allowed here, referer:
> http://10.0.0.120/company/manual.php
> 
> By the way, I already enable .htaccess in httpd.conf
> 
> Thank you so much,
> T. Hiep
> 
> ---------------------------------------------------------------------
> 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