Re: Apache issue

From: Daniel Williams (dwilliams_at_cedardoc.com)
Date: 06/22/05

  • Next message: Tom Stowell: "Re: Apache issue"
    Date: Wed, 22 Jun 2005 11:41:50 -0400
    To: anita.salerno@talk21.com
    
    

    Check to see if selinux is blocking Apache from reading you .htaccess file.
    Example:
           ls -aZ
                       -rwxr-xr-x root root
    system_u:object_r:*httpd_sys_content_t* .htaccess

    Thanks
    -Daniel

    anita.salerno@talk21.com wrote:

    >Hello,
    >I'm using Apache/2.0.52 on Fedora Core 3. I've copied the configuration file of the previous apache's version on a Redhat, as I do everytime when upgrading to a new version of Apache (I configured only the new httpd.conf manually), and now the problem is that none of the security measures is working, I'm bypassing all of them (.htaccess and ip list specification).
    >
    >The mod_access module is enabled.
    >
    >In my httpd.conf, I have:
    >
    >AllowOverride All
    >
    ><Directory /www/html/directory/rzone>
    > Order Allow,Deny
    > Allow from 10.0.10.
    > Deny from all
    ></Directory>
    >
    >
    >
    >My .htaccess is:
    >AuthType Basic
    >AuthName Welcome
    >AuthUserFile /www/html/directory/rzone/.htmdp
    >
    ><Limit GET POST>
    > require valid-user
    >
    > Order Allow,Deny
    > Allow from 10.0.10.
    > Deny from all
    ></Limit>
    >
    >When I was desprate, I've configured the access file as follow:
    >
    >Order Allow,Deny
    >Deny from all
    >
    >and I still have access to the web site.
    >
    >Any idea ?
    >
    >


  • Next message: Tom Stowell: "Re: Apache issue"

    Relevant Pages

    • Re: .htaccess in Sarge
      ... I'm not sure what I'm missing. ... Do you have an "AllowOverride None" directive anywhere in your ... other tricks in the .htaccess file without restarting the apache ... is better to simply place the authentication configuration directives ...
      (Debian-User)
    • Re: httpd allow overide?
      ... >I am in the httpd file in the Apache folder and need to change the ... >.htaccess file it wont ignore it. ... >However in the httpd file there are a few different sections where it ... >has found the AllowOverride code. ...
      (comp.lang.php)
    • httpd allow overide?
      ... .htaccess file it wont ignore it. ... However in the httpd file there are a few different sections where it ... has found the AllowOverride code. ... Options Indexes MultiViews ...
      (comp.lang.php)