Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 83817 invoked from network); 7 Dec 2005 02:32:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 7 Dec 2005 02:32:13 -0000 Received: (qmail 99866 invoked by uid 500); 7 Dec 2005 02:32:01 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 99842 invoked by uid 500); 7 Dec 2005 02:32:01 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 99818 invoked by uid 99); 7 Dec 2005 02:32:01 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Dec 2005 18:32:01 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [4.22.71.8] (HELO begonia.varianinc.com) (4.22.71.8) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Dec 2005 18:32:00 -0800 Received: from IP1615.varianinc.com (ip1615.vis.varianinc.com [10.190.16.15]) by begonia.varianinc.com (AIX4.3/8.9.3/8.9.3) with ESMTP id SAA436890 for ; Tue, 6 Dec 2005 18:28:14 -0800 Message-Id: <5.1.1.5.2.20051206181438.03becdb8@corp.varianinc.com> X-Sender: hgurer@corp.varianinc.com X-Mailer: QUALCOMM Windows Eudora Version 5.1.1 Date: Tue, 06 Dec 2005 18:33:39 -0800 To: users@httpd.apache.org From: Hulya Gurer Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Virus-Checked: Checked by ClamAV on apache.org Subject: Re: [users@httpd] .htaccess problem X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi, I am still trying to make .htaccess to work. If I use, the directives for my directory that I want to set up .htaccess password for, as AllowOverride None AllowOverride All where should I put it on httpd.conf file that nothing will affect before it's executed. And should I comment out any other AloowOverride directive? Thanks much -- Hulya RELATED PART OF HTTPD. CONF FILE # # This should be changed to whatever you set DocumentRoot to. # # # Possible values for the Options directive are "None", "All", # or any combination of: # Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews # # Note that "MultiViews" must be named *explicitly* --- "Options All" # doesn't give it to you. # # The Options directive is both complicated and important. Please see # http://httpd.apache.org/docs-2.0/mod/core.html#options # for more information. # Options -Indexes FollowSymLinks # # AllowOverride controls what directives may be placed in .htaccess files. # It can be "All", "None", or any combination of the keywords: # Options FileInfo AuthConfig Limit Indexes # AllowOverride None # # Controls who can get stuff from this server. # Order allow,deny Allow from all # # UserDir: The name of the directory that is appended onto a user's home # directory if a ~user request is received. # UserDir public_html # # Control access to UserDir directories. The following is an example # for a site where these directories are restricted to read-only. # # # AllowOverride FileInfo AuthConfig Limit Indexes # Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec # # Order allow,deny # Allow from all # # # Order deny,allow # Deny from all # # # # DirectoryIndex: sets the file that Apache will serve if a directory # is requested. # # The index.html.var file (a type-map) is used to deliver content- # negotiated documents. The MultiViews Option can be used for the # same purpose, but it is much slower. # DirectoryIndex index.html index.html.var index.php # # AccessFileName: The name of the file to look for in each directory # for additional configuration directives. See also the AllowOverride # directive. # AccessFileName .htaccess # # The following lines prevent .htaccess and .htpasswd files from being # viewed by Web clients. # Order allow,deny Deny from all # # TypesConfig describes where the mime.types file (or equivalent) is # to be found. # TypesConfig conf/mime.types # # DefaultType is the default MIME type the server will use for a document > > Hello, > > > > I have apache 2.0.55 running on solaris 8, along with PHP and > mysql. For# Order allow,deny > > > some reason I am getting strange responses > > from .htaccess. > > > > First of all, my .htaccess file is on the second level subdirectory but for > > some reason, I get the password window > > at home page, and when I click on cancel two, three times, it shows the > > page without the header which is SSI. > > My home page is "index.html" and sub directory pages are being served > from php. > > > > My configuration for .htaccess is like below, which is set to > > "AuthConfig" Is there anything else that needs to be added / changed? > > Is there any specific setting for serving php controlled pages? > >Give us some more concrete information about exactly where your >.htaccess file, DocumentRoot, etc are, and exactly what you see in the >access_log and error_log. > >Joshua. > >--------------------------------------------------------------------- >The official User-To-User support forum of the Apache HTTP Server Project. >See 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 --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See 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 --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See 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