[PHP-DEV] Bug #3364: .htaccess files failure From: shevek <email protected>
Date: 01/31/00

From: shevek <email protected>
Operating system: Linux
PHP version: 3.0.14
PHP Bug Type: Installation problem
Bug description: .htaccess files failure

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 <email protected>>

-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>