Really simple question - /php directory above /web tree .htaccess contents
| From: | news.php.net | Date: | Sat, 08 Mar 2003 16:58:30 +0000 |
| Subject: | Really simple question - /php directory above /web tree .htaccess contents | ||
| Groups: | php.general php.install | ||
| Request: | Send a blank email to php-general+get-138763@lists.php.net to get a copy of this message | ||
Greetings,
I am using php on a Sun Cobalt Linux
server with many virtual hosts.
I want to have the /php directory
one directory above the /web root
so it is not accessible from browser command line execution but
will execute from a click on an
html page. CGI-PHP is installed
but I need to know the .htaccess
contents for the /cgi/php directory
If that is not possible.......
and I put the /php directory under
the /web root; would have to protect
it from browser command line execution
with a .htaccess file.
I would appreciate help with either of
the .htaccess contents that are required.
This question I think is very simple for
some of the more experienced php users
and I can't find the answer in any
documentation.
Thanks very much for any help.
Gerald Howse
###########
m2 mail ----- http://www.opera.com/m2/