Hi again,
I solved the problem,
If you want to reject PHP requests, for example, in a specific directory, you can use:
<Directory "D:/Programs/htdocs/test/">
<Files "*.php">
Deny from all
</Files>
</Directory>
Ofcourse, you can reject everything by denying the files: "*.*" then you...
Thanks RhythmAce for replying,
By Denying from All, Apache will not accept any request.
What I want is to accept only static pages requests such as pictures or HTML And deny all the dynamic pages requests such as PHP or Perl.
Is there any method that enables Apache from distinguishing between...
Hi guys,
I want to have a directory under htdocs used only to store static files such as HTML or pictures.
Even if this directory contains PHP files and these files are requested, I don't want Apache to respond to the PHP files requests.
Is there any way to do it using Apache configuration...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.