Not sure whether this is an apache2 or php problem or both: 1. I can't run php files in /var/www/localhost/htdocs/. I get a download option instead meaning that apache isn't interpreting the .php file as php, which implies that it didn't load the php stuff in /etc/apache2/modules.d/70_mod_php.conf
2. I can't access http://localhost/~iain - "Not Found The requested URL /~iain was not found on this server." The log /var/log/apache2/error_log shows "File does not exist: /var/www/localhost/htdocs/~iain" which shows me its not looking in /home/iain/public_html These both seem to ignore my /etc/conf.d/apache2 file: APACHE2_OPTS="-D USERDIR -D PHP4" I did some checking - /etc/apache2/httpd.conf contains: <IfDefine USERDIR> LoadModule userdir_module modules/mod_userdir.so </IfDefine> ... <IfModule mod_userdir.c> UserDir public_html <Directory /home/*/public_html> ... etc as per default httpd.conf file /etc/apache2/modules.d/70_mod_php.conf has the appropriate AddType application/x-httpd-php and the versions are net-www/apache v 2.0.54-r11 dev-php/mod_php v 4.4.0_rc2 dev-php/php v 4.4.0_rc2 so this all says it _should_ be working. I've checked permissions and ownership on ~/public_html and on my php scripts, the only thing I can think of now is the -D options in /etc/conf.d/apache2 seem to be ignored. Is anyone else having this (or similar) trouble? Many many thanks if you can help me!! -- Iain Buchanan <iain at pcorp dot com dot au> He that breaks a thing to find out what it is has left the path of wisdom. -- J.R.R. Tolkien -- [email protected] mailing list

