Hi All,
I am trying to restrict access of PHP script to a single directory
only. How can I do that? I am running Apache 1.3 and PHP 4 in Linux. I
think I need to use the Directory and SetHandler directive right?
Something like:
<Directory /php/enabled/directory/>
SetHandler ### what's here? ###
###
### anything else here?
###
</Directory>
Currently the way it's set up now is that PHP can be placed anywhere
below the doc root but I am trying to avoid that. I only want PHP to go
in one directory.
Can you help me? TIA.
I am trying to restrict access of PHP script to a single directory
only. How can I do that? I am running Apache 1.3 and PHP 4 in Linux. I
think I need to use the Directory and SetHandler directive right?
Something like:
<Directory /php/enabled/directory/>
SetHandler ### what's here? ###
###
### anything else here?
###
</Directory>
Currently the way it's set up now is that PHP can be placed anywhere
below the doc root but I am trying to avoid that. I only want PHP to go
in one directory.
Can you help me? TIA.