Re: [PHPLIB] .htaccess and include dir From: garyb <email protected>
Date: 02/01/00

He said,
> I think there might be something going on with the configuration of
> apache or php that is keeping from getting this to work with my
> htaccess. So is that possible?

It may be that the httpd.conf has "Override None" or something equivalent,
which has the effect of not allowing .htaccess configuration.

In particular, you need the php3_include_path, and php3_auto_prepend_file,
and also php3_track_vars set correctly. If you don't have control over the
server, all three can be circumvented, more or less like so:

1. Put <?php3_trackvars?> (exactly as shown, as I recall from this
list) as the _veryfirsthing_ in your php page.
2. Put prepend.php3 somewhere, and put
        <?include "/path/to/prepend.php3";?> next after the above. I need
not be in a line of its own, but may start a php block.
3. edit prepend.php3, changing the PHPLIB-DIR or whatever it's called
to the the pat to the other PHPLib include files.

I haven't had to do things this way, so I don't know that I got it exactly
right. YMMV :O)
-
PHP3 Base Library Mailing List. Send messages to <phplib <email protected>>.
To unsubscribe, send "unsubscribe" to <phplib-request <email protected>> in
the body, not the subject, of your message.