LeRoy Cressy on 28 May 2004 20:20:03 -0000 |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 MJH wrote: | On Friday 28 May 2004 2:55 pm, LeRoy Cressy wrote: | | |>/etc/apache/modules.conf |>LoadModule php4_module /usr/lib/apache/1.3/libphp4.so | | | Do you also have: | AddModule mod_php4.c Yes, but /var/log/apache.errors reports that mod_php4.c has already been added. | | Apache requires both. | I loaded phpmyadmin on a private system and saw that they do not have any limits in the directory directive for phpmyadmin. I was using the default limits like: #<Directory /home/*/html> # AllowOverride None FileInfo AuthConfig Limit # Options MultiViews SymLinksIfOwnerMatch IncludesNoExec # <Limit GET POST OPTIONS PROPFIND> # Order allow,deny # Allow from all # </Limit> # <Limit PUT DELETE PATCH PROPPATCH MKCOL COPY MOVE LOCK UNLOCK> # Order deny,allow # Deny from all # </Limit> #</Directory> # for /home/leroy/html I thought adding ExecCGI and dropping IncludesNoExec would help, but it did not. Now my /home/leroy/html httpd.conf looks like:
Which only allows access from a private box on my lan. All private IP address are dropped from the Internet. I'm looking closer into the options and limits to see what breaks php. - -- Rev. LeRoy D. Cressy mailto:leroy@lrcressy.com /\_/\ ~ http://lrcressy.com ( o.o ) ~ Phone: 215-535-4037 > ^ < ~ FAX: 215-535-4285 gpg fingerprint: 62DE 6CAB CEE1 B1B3 359A 81D8 3FEF E6DA 8501 AFEA For info on enigmail: http://lrcressy.com/linux/mozilla.pdf For info on gpg: http://www.gnupg.org/ Jesus saith unto him, I am the way, the truth, and the life: no man cometh unto the Father, but by me. (John 14:6) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) Comment: Using GnuPG with Debian - http://enigmail.mozdev.org iD8DBQFAt56AP+/m2oUBr+oRAiwEAJwLZWbq5m9kjSgEbCqosPc2JDpv1wCfd7Xf I2VTQxVOuHEc2yQsg+fMdOk= =TMEN -----END PGP SIGNATURE----- ___________________________________________________________________________ Philadelphia Linux Users Group -- http://www.phillylinux.org Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce General Discussion -- http://lists.phillylinux.org/mailman/listinfo/plug
|
|