This may be a bad idea if you are using mod_bandwidth or mod_gzip. Some modules requore to be loaded last, because they do processing on content that other modules are done with. I would stick with having the LoadModule and AddModule directives in place where the other directives are located, and sticking the AddType bit in with the already-there <IfModule mod_mime.c> bit (in the httpd.conf file.) On Wed, Feb 11, 2004 at 11:15:52AM -0600, Shawn wrote: > On Wed, 11 Feb 2004 10:46:51 -0600 > "David Phillips" <david at acz.org> wrote: > > > <IfModule mod_mime.c> > > <IfModule mod_php4.c> > > AddType application/x-httpd-php .php > > AddType application/x-httpd-php-source .phps > > </IfModule> > > </IfModule> > > > > David, there's a call for using the /etc/apache/mod_php.conf file: > > # ==> mod_php configuration settings <== > Include /etc/apache/mod_php.conf > > > Here's the mod_php.conf file: > # mod_php - PHP Hypertext Preprocessor module > # > > LoadModule php4_module libexec/libphp4.so > AddModule mod_php4.c > > # Tell Apache to feed all *.php files through the PHP module > AddType application/x-httpd-php .php > > # This will display PHP files in colored syntax form. Use with > # caution. > AddType application/x-httpd-php-source .phps > > > > -- > Shawn > > "Courage is resistance to fear, mastery of fear -- not absence of > fear." > -Mark Twain > > Ne Obliviscaris -- "Forget Not" > > _______________________________________________ > TCLUG Mailing List - Minneapolis/St. Paul, Minnesota > http://www.mn-linux.org tclug-list at mn-linux.org > https://mailman.real-time.com/mailman/listinfo/tclug-list -- andrei bazhgin | aftermath | programmer | nan2d.com _______________________________________________ TCLUG Mailing List - Minneapolis/St. Paul, Minnesota http://www.mn-linux.org tclug-list at mn-linux.org https://mailman.real-time.com/mailman/listinfo/tclug-list