bash-2.05b# grep -i php /usr/local/etc/apache/httpd.conf #LoadModule php4_module libexec/apache/libphp4.so LoadModule suphp_module libexec/apache/mod_suphp.so #AddModule mod_php4.c AddModule mod_suphp.c # # # DirectoryIndex index.php index.php3 index.html # # DirectoryIndex index.php3 index.html # # # DirectoryIndex index.php index.html # DirectoryIndex index.php index.php3 index.html index.shtml Alias /phpMyAdmin "/usr/local/www/phpMyAdmin" # AddType application/x-httpd-php .php # AddType application/x-httpd-php .php3 # AddType application/x-httpd-php-source .phps AddHandler x-httpd-php .php AddHandler x-httpd-php .php3 AddHandler x-httpd-php-source .phps RewriteCond %{REQUEST_URI} !^/(phpMyAdmin|mit_notes|mit_notes_devel|[rR]esearch/([cC][vV][cC]|[dD][nN][aA]|[aA]gents)|annual_review_2004|annual_review_2005|mit) # PHP3&4 options php_admin_flag safe_mode on # Whether to enable PHP's safe mode. Read the Security chapter for more php_admin_value safe_mode_exec_dir . #php_admin_value safe_mode_exec_dir /nonexistent # If PHP is used in safe mode, system() and the other functions executing # #php3_doc_root . # #php_admin_value doc_root . # PHP's "root directory" on the server. Only used if non-empty. If PHP is php_admin_value user_dir public_html # The base name of the directory used on a user's home directory for PHP php_admin_value open_basedir .:/usr/local/include/php/ext:/usr/local/www/data/afrigraph/conference:..:/u1/system/www/public_html/aarnab/album/:/usr/local/www/data/public_html/aarnab/album/09-AUG-2004/ # Limit the files that can be opened by PHP to the specified directory-tree. # directory-tree, PHP will refuse to open it. All symbolic links are resolved, php_admin_value include_path .:/usr/local/include/php/ext:/usr/local/include/php/ext/xmlrpcutils:/usr/local/www/data/afrigraph/conference suPHP_Engine on # http://www.suphp.org/Documentation-Module-Configuration.en.html