httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From blackwater dev <blackwater...@gmail.com>
Subject Re: [users@httpd] php and .htaccess
Date Thu, 15 Sep 2005 11:02:32 GMT
Sorry,

I have this in an .htaccess file for example:

php_value auto_prepend_file ../../lib/matrix.php

This contains global data/functions, etc.  When I run a script within
the folder where this .htaccess files lives, I get php errors of
undefined classes.  If I simply add an
include("../../lib/matrix.php"); to each file, everything works so I
know the .htaccess isn't doing anything.

Here is what is in the apache conf file:

<Directory "/usr/local/apache2/htdocs">
    Options FollowSymLinks
    AllowOverride All
</Directory>

I simply what it to use any and all .htaccess files.

Thanks!

On 9/15/05, Davide Bianchi <davide@onlyforfun.net> wrote:
> blackwater dev wrote:
> > <snip>
> > [Thu Sep 15 04:28:12 2005] [notice] caught SIGTERM, shutting down
> > [Thu Sep 15 04:28:15 2005] [notice] Apache/2.0.52 (Unix) PHP/5.0.3
> > configured -- resuming normal operations
> 
> It means : ok. now I'm working.
> 
> > can someone shed some light on all this?
> 
> You first.
> *what* are you trying to do?
> 
> > Why can't I use .htaccess files
> 
> Dude! In your whole post you haven't said one single thing about
> .htaccess, there is no trace of what you added to .htaccess,
> what do you want to achieve and what is not working!
> 
> Davide
> 
> --
> Q: What's the difference between Windows 95 and a highly destructive virus?
> A: About 90 MB of hard disk space.
> 
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
> 
>

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message