Re: [users@httpd] Filename Access

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

 



On 12/29/05, httpd2@xxxxxxxxxxxx <httpd2@xxxxxxxxxxxx> wrote:
>
> Sean - I have created a directory in the public area, and
> added the following to my config file:
>
> <Directory /srv/www/htdocs/KAR/websites/pub/computing/apache-test>
>  Options None
>  Order deny,allow
>  Deny from all
>  <Files *.php>
>    Order deny,allow
>    Deny from all
>  </Files>
> </Directory>
>
> (I restarted apache with /etc/init.d/apache2 stop, then start.)
>
> If you go to that directory, you will get permission denied.
>
> If you then add the following filename, get_vars.php, you
> will be able to access that file - well I can from localhost
> anyway.
>
> Is this normal behaviour. I think I may need to re-write my
> config files from scratch, after carefully reading the
> manual.

Show us the exact url that you are using and the exact message from
the error log for a successful and unsuccessful request.

Joshua.

[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