Justtechjobs.com Find a programming school near you






Online Campus Both


php3-list | 199807

Re: [PHP3] php_auto_prepend_file From: Walter Dougoveto (walt <email protected>)
Date: 07/31/98

>> What I added:
>> <Directory /mypath>
>> ForceType application/x-httpd-php3
>> php3_auto_prepend_file /some_mypath/auth.inc
>> </Directory
>>
>> Apache errors on startup:
>> Syntax error on line 224 of /etc/httpd/conf/srm.conf:
>> Invalid command php3_auto_prepend_file
>
>Are you sure you are running the Apache module version of PHP on that
>server? If you are running the CGI version you can't use PHP directives
>in the Apache conf files.

It was not. Now I am running the Apache module of PHP. I tried it again
and there was no error when I started Apache, but when I accessed files in
the /mypath directory with netscape it did not call the auth.inc script. I
am setting /mypath to the DocumentRoot of Apache on my machine. Is this a
problem? I also have put the auth.inc in that same directory. Any ideas?

Sincerely,

Walter

Sincerely,

Walter Dougoveto

If you're happy with Web Hosting at Alabanza, please take some time this
week to vote for us at http://webhostlist.com/screens/rankedhosts/main.asp

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Alabanza Sales                    Have you checked our FAQ?
Alabanza, Inc.                            http://www.alabanza.net/faq

http://www.alabanza.net
sales <email protected>                        Please include your domain name
8309 Tinsley Rd.                          in all technical help requests
Baltimore, MD 21244
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

--
PHP 3 Mailing List   http://www.php.net/
To unsubscribe send an empty message to php3-unsubscribe <email protected>
To subscribe to the digest list:  php3-digest-subscribe <email protected>
For help: php3-help <email protected>  Archive:  http://www.php.net/mailsearch.php3