php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #3364 .htaccess files failure
Submitted: 2000-01-31 13:53 UTC Modified: 2002-12-08 10:25 UTC
From: shevek at anarres dot org Assigned: hholzgra (profile)
Status: Not a bug Package: Installation problem
PHP Version: 4.CVS (2002-09-30) OS: Linux
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: shevek at anarres dot org
New email:
PHP Version: OS:

 

 [2000-01-31 13:53 UTC] shevek at anarres dot org
I have Apache 1.3.6 with PHP 3.0.14.

If I compile with PHP, the server gives

[Mon Jan 31 18:33:25 2000] [crit] [client 194.207.107.51] /var/lib/httpd/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable

on every request, even if the file does not exist. Without PHP, I do not get this problem. /var/lib/httpd is the highest directory for which a <Directory> directive exists, it is not the base directory for any host. If I do add a .htaccess file, it requires an htaccess file in each directory down the tree. This also breaks cgi-bin.

I note bug #1884 also mentions this type of problem, however the workaround mentioned does not work for me.

Compile flags:

# PHP3
./configure --with-apache=../apache_1.3.6 --with-mysql=/usr/local/mysql
--enable-track-vars --with-imap=../imap-4.7a/c-client --with-zlib

# Apache
./configure \
        "--with-layout=Shevek" \
        "--enable-module=auth_db" \
        "--activate-module=src/modules/php3/libphp3.a"

Apache has:
  http_core.c
  mod_env.c
  mod_log_config.c
  mod_mime.c
  mod_negotiation.c
  mod_status.c
  mod_include.c
  mod_autoindex.c
  mod_dir.c
  mod_cgi.c
  mod_asis.c
  mod_imap.c
  mod_actions.c
  mod_userdir.c
  mod_alias.c
  mod_access.c
  mod_auth.c
  mod_auth_db.c
  mod_setenvif.c
  mod_php3.c

(Not on the list, submitted via web form)

--
Shevek <shevek@anarres.org>

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-10-01 14:04 UTC] hholzgra@php.net
i currently see this every once in a while when playing with webdav
not sure yet whether my webdav class or mod_dav causes it
 [2002-12-08 10:25 UTC] sniper@php.net
not a PHP problem.

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 14:01:32 2024 UTC