php_flag error after ./build apache

vriznyk

Verified User
Joined
Dec 16, 2008
Messages
5
I updated Apache using
./build apache in custombuild.

After apache shows me:
The server encountered an internal error or misconfiguration and was unable to complete your request.
...
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

And log:
.../public_html/boards/: Invalid command 'php_flag', perhaps misspelled or defined by a module not included in the server configuration



.htaccess:
...
php_flag display_errors off
RewriteEngine on
RewriteBase /boards/
...

I see RewriteRule-s do not work too...
Help me to solve the problem.
 
# ./build options

Apache: 2.2.11
Dovecot: 1.1.13
AWstats: no
exim.conf update: yes
MySQL: 5.0.77
MySQL backup: yes
PHP: 5.2.9 as CGI with mail() header patch
phpMyAdmin: 3.1.3.1-all-languages
ProFTPD: no
Atmail webmail: no
RoundCube webmail: 0.2.1
Auto updates/notifications: no
Run "clean" every time: no
Run "clean_old_webapps" every time: yes
Run "clean_old_tarballs" every time: yes
Show texts in bold: yes
SquirrelMail: no
UebiMiau: 3.11
Zend Optimizer: no

There is a htscanner program. It was installed on server, but after rebuilding Apache and PHP, it seems dont works.
Maybe reinstall or reconfig it? If yes, please tell me how.
 
You have PHP installed as CGI (suPHP), so you cannot use php_flag in .htaccess.
 
Using the htscanner we can use php_* directives in .htaccess file.
It was working till i reloaded apache.
Now, after installation htscanner - dont working.
 
Back
Top