Re: [users@httpd] Filename Access

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

 



Hi Sean.

I'm usiing Apache 2 on SuSE Linux 9.2 pro.

The config is split over many different files.

I include my own custom config file that has different 
directory settings, such as:


<Directory /srv/www/htdocs/KAR/websites/test/PHP>
    Options None
    Order deny,allow
    Deny from all
    <Files *.php>
        Order deny,allow
        Deny from all
    </Files>
</Directory>

But I can still access a php file called get_vars.php
in the forbidden directory that displays the content of the 
$_SERVER array:

<?php
echo "<br />contents of \$_SERVER[] <br />";
while(list($key, $value) = each($_SERVER))
   {
   echo "$key => $value <br />";
   }
?>

Keith
 

On Thu, 29 Dec 2005, Sean Davis wrote:

> To: users@xxxxxxxxxxxxxxxx
> From: Sean Davis <sdavis2@xxxxxxxxxxxx>
> Subject: Re: [users@httpd] Filename Access
> 
> It would be helpful if you let us know some details of the 
> config file that you are using for the directory of 
> interest.
> 
> Sean


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