httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Johnson <john...@nmr.mgh.harvard.edu>
Subject Re: [users@httpd] Configuration access restriction to public_html.
Date Wed, 03 Aug 2005 16:26:11 GMT
On Wed, 3 Aug 2005, Joshua Slive wrote:

> 

     So now we know why I was confused.


> If you have php turned off by default, then the AllowOverride
> directive should prevent .htaccess files from being used to turn it on
> again.  But you may want to add something like
> 
> <Location /~>
> php_flag engine off
> </Location>
> 
> to be sure.
> 
> Joshua.
> 

     For Apache PHP module, which we have.  Not used to using Location
much.  I only want to prevent its use in usr's public_html remember.
The above would turn it off everywhere.  Are you then saying it should
be reenabled for other URLs?  Can you please give an example?

-------------------------------------------------------------------------------
Chris Johnson               |Internet: johnson@nmr.mgh.harvard.edu
Systems Administrator       |Web:      http://www.nmr.mgh.harvard.edu/~johnson
NMR Center                  |Voice:    617.726.0949
Mass. General Hospital      |FAX:      617.726.7422
149 (2301) 13th Street      |"The two most abundant things in the Universe
Charlestown, MA., 02129 USA | are hydrogen and stupidity."  Harlan Ellison
-------------------------------------------------------------------------------


---------------------------------------------------------------------
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message