-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hey, Try this: <Directory /srv/www/default/html/acid> AllowOverride None order deny,allow Deny from all Allow from 127.0.0.1 <IfModule mod_php4.c> php_flag engine on php_value include_path ".:/srv/www/default/html/acid/config" </Ifmodule> </Directory> <Directory /srv/www/default/html/acid/config> order deny,allow deny from all </Directory>
What exactly is not working? Did you check to see if the engine is turned on? If it is not then try "php_admin_flag engine on". Why are you turning the engine on? Is it disabled everywhere else? The include path should have double quotes surrounding it and the paths in <directory> should not. HTH! ~Pauly On Monday 23 September 2002 03:23 pm, Andreas Hasenack wrote: > What is the right name to use in apache's (2.0.41-dev) IfModule > directive to test if the php4 module is loaded? I'm including > the file below via httpd.conf's Include statement but the > part between the IfModule is being completely ignored: > > <Directory "/srv/www/default/html/acid"> > AllowOverride None > order deny,allow > Deny from all > Allow from 127.0.0.1 > <IfModule mod_php4.c> > php_flag engine on > php_value include_path '.:/srv/www/default/html/acid/config' > </Ifmodule> > </Directory> > > <Directory "/srv/www/default/html/acid/config"> > order deny,allow > deny from all > </Directory> > > I'm using php-4.2.3 (compiled with apxs2) and apache-2.0.41-dev. The > PHP module *is* being loaded in another included file, but it doesn't > matter if I put the above in an external file or in httpd.conf itself. - -- ~Paul Nicholson Design Specialist @ WebPower Design "The web....the way you want it!" [EMAIL PROTECTED] "It said uses Windows 98 or better, so I loaded Linux!" Registered Linux User #183202 using Register Linux System # 81891 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE9kH/YDyXNIUN3+UQRAttcAJ0QvCFk1A3K2bkZlJnPTPx6ue1xBwCfW4/8 irAOPOcmuuB1AZ6mEtJ6Cns= =QiPE -----END PGP SIGNATURE----- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php