Re: apache php3 question
On 10/02/2003 10:50 AM [EMAIL PROTECTED] (Marc Ramirez) wrote: 1) Make sure it's not in browser/squid cache. 2) In your httpd.conf, you'll probably need to add index.php3 to your DirectoryIndex directive, if you haven't already. DirectoryIndex index.html index.html.var index.php index.php3 I somehow got it running now and I and it looks like the problem was 1). Thanks for all your help and support. Holger ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: apache php3 question
have you tried adding something like IfModule mod_mime.c AddType application/x-httpd-php .php3 AddType application/x-httpd-php-source .phps /IfModule in your httpd.conf hope this helps... - Gil Agno Virtucio Janitor/Collector/Messenger NEC System Integration and Construction Philippines Inc. 15th Floor BPI Buendia Center Gil Puyat Ave. Makati City 1200 Cellphone : +639163989695 Office Phone: +6328914167 - -Original Message- From: H. Bartel [mailto:[EMAIL PROTECTED] Sent: Thursday, October 02, 2003 8:00 PM To: [EMAIL PROTECTED] Subject: apache php3 question I have Apache1.3 running with mod_php4. Directory indexes are set to index.html, index.php and index.php3. None of those .php3 pages get parsed, every .php page works fine. It should not be a register_globals problem, since the other .php sites work fine. mod_php3 is not installed, but I suppose that mod_php4 should cover php3, if I load both modules I get an error when starting apache. Is the load order of those modules relevant as well? Any ideas where to look for a solution? Thanks, Holger ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ** Get your free E-Mail account at WWW.DIGITELONE.COM ** ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: apache php3 question
On 10/02/2003 08:02 PM [EMAIL PROTECTED] (Gil Agno Virtucio) wrote: have you tried adding something like IfModule mod_mime.c AddType application/x-httpd-php .php3 AddType application/x-httpd-php-source .phps /IfModule Well, I haven't tried it, but those AddType things are already in there. It looks like this, and I can see that they are not contained inside IfModule mod_mime.c. IfModule mod_php3.c AddType application/x-httpd-php3 .php3 AddType application/x-httpd-php3-source .php3s /IfModule IfModule mod_php4.c AddType application/x-httpd-php .php AddType application/x-httpd-php-source .phps /IfModule By looking arond I have noticed, that there are quite a few occurences of IfModule mod_mime.c in httpd.conf. Which one would be the right one? H. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: apache php3 question
Hi, Considering: IfModule mod_php4.c AddType application/x-httpd-php .php AddType application/x-httpd-php-source .phps /IfModule Change: AddType application/x-httpd-php .php To: AddType application/x-httpd-php .php .php3 And you should be dandy again... Nico ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: apache php3 question
On 10/02/2003 02:58 PM [EMAIL PROTECTED] (Nico Meijer) wrote: Change: AddType application/x-httpd-php .php To: AddType application/x-httpd-php .php .php3 And you should be dandy again... Nico This looks like it does make a lot of sense. After changing and restarting apache, it only works partially. Most pages get parsed, but for some reason, my index.php3 gets downloaded when called from the browser. For some other reason php includes seem to not work, but this might be another problem, with the php installation. I'd be thankful for a hint on this nevertheless ;) Thanks, H. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: apache php3 question
Hi, [I think you might want to check your MUA's wrapping] This looks like it does make a lot of sense. After changing and restarting apache, it only works partially. Most pages get parsed, but for some reason, my index.php3 gets downloaded when called from the browser. Have you tried blaming the browser? In other words: clear all its cache and try again. Any proxies between you and the server? For some other reason php includes seem to not work, but this might be another problem, with the php installation. I'd be thankful for a hint on this nevertheless ;) Turn on/up php's error reporting and I'm sure you'll find out what's wrong pretty soon. If it's a production box, turn on/up logging to syslog and tail whatever log appropriate. HTH... Nico ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: apache php3 question
On Thu, Oct 02, 2003 at 03:21:09PM +0200, H. Bartel wrote: On 10/02/2003 02:58 PM [EMAIL PROTECTED] (Nico Meijer) wrote: Change: AddType application/x-httpd-php .php To: AddType application/x-httpd-php .php .php3 And you should be dandy again... Nico This looks like it does make a lot of sense. After changing and restarting apache, it only works partially. Most pages get parsed, but for some reason, my index.php3 gets downloaded when called from the browser. 1) Make sure it's not in browser/squid cache. 2) In your httpd.conf, you'll probably need to add index.php3 to your DirectoryIndex directive, if you haven't already. DirectoryIndex index.html index.html.var index.php index.php3 Marc. -- Marc Ramirez Blue Circle Software Corporation 513-688-1070 (main) 513-382-1270 (direct) http://www.bluecirclesoft.com http://www.mrami.com (personal) ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]