php3-list | 199807
Date: 07/31/98
- Next message: Harmony: "[PHP3] external program execution timeout"
- Previous message: Cary Collett: "Re: [PHP3] Parse Error line 63 in a 62-line script?"
- Maybe in reply to: Walter Dougoveto: "[PHP3] php_auto_prepend_file"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
>> 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
- Next message: Harmony: "[PHP3] external program execution timeout"
- Previous message: Cary Collett: "Re: [PHP3] Parse Error line 63 in a 62-line script?"
- Maybe in reply to: Walter Dougoveto: "[PHP3] php_auto_prepend_file"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

