[gentoo-user] Re: apache2 without DNS?

2006-03-31 Thread James
Michael Stewart (vericgar vericgar at gentoo.org writes:


  http://192.168.2.9/  pops up the usually apache2 default page
  
  But I cannot get to the 
  /var/www/localhost/htdocs/htdocs/admin/setup.php page, from a web browser
  running on neither the server, nor anywhere on the network. The default
  apache2 page does pop up on a web browser from any machine on
  the network, including the apache2 server.

 I may be misunderstanding your question, so please clarify if I have.

 Are you looking for the URL you need to type in your browser to get to
 the setup script? Assuming that you haven't changed the DocumentRoot
 setting, try using http://192.168.2.9/htdocs/admin/setup.php


Nothing but the default apache2 web page popped up in the beginning.
The I went and changed all of the files and directory permissions to 777.
Now I can get this dir page:

http://192.168.2.9/htdocs/admin/
and this one:
http://192.168.2.9/htdocs/admin/adm/test.php
the only other page in dir 'http://192.168.2.9/htdocs/admin/adm/'
that shows up, contains this error message:

Fatal error: Call to undefined function: html() in
/opt/jffnms/htdocs/admin/adm/structures.php on line 701

I did not change the 'DocumentRoot' but, which file to I check to
see if installing JFFNMS altered something erroneously?

I followed this guide:
http://www.gentoo.org/doc/en/jffnms.xml

So far the only error I have 'flushed out' is
# psql template1 postgres 
/usr/portage/net-analyzer/jffnms/files/postgresql_db_tables
should be:
# psql template1 postgres 
/usr/portage/net-analyzer/jffnms/files/postgresql_db_table

Which file(s) do I need to check to ensure the DocumentRoot is correct?
I cannot locate that setting in either httpd.conf nor apache2.conf.


James





-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: apache2 without DNS?

2006-03-31 Thread James
Michael Stewart (vericgar vericgar at gentoo.org writes:


 Are you looking for the URL you need to type in your browser to get to
 the setup script? Assuming that you haven't changed the DocumentRoot
 setting, try using http://192.168.2.9/htdocs/admin/setup.php

I found the error_log file  so I'm running:
tail -f /var/log/apache2/error_log

When I attempt to access this URL, I get this message:

[Fri Mar 31 06:20:44 2006] [error] [client 192.168.2.23] File does not exist:
/var/www/localhost/htdocs/jffnms, referer:
http://192.168.2.9/htdocs/admin/tools.php/admin/setup.php

maybe a botched installation of jffnms, as the guide is new and I'm 
far from confident with apache2?
ideas?

James

-- 
gentoo-user@gentoo.org mailing list