Forum Moderators: phranque

Message Too Old, No Replies

I don't know where is localhost

         

Silas Justiniano

3:46 am on Feb 5, 2005 (gmt 0)

10+ Year Member



People,

I installed apache with the following commands:

$ ./configure --prefix=PREFIX
$ make
$ make install
$ PREFIX/bin/apachectl start

I ran "PREFIX/bin/apachectl start" but when I modify PREFIX/htdocs/some.html, localhost doesn't answer like it was reading PREFIX/htdocs/ directory.

Is it possible, without PHP, to know about localhost?

Thank very much.

Bye!

Birdman

4:12 am on Feb 5, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Silas_Justiniano, welcome to WW!

>> Is it possible, without PHP, to know about localhost?

Sure, look at your config file. You didn't mention what version of Apache, but usually the conf files are in /etc/apache*/conf/

You need to find DocumentRoot /var/www/...

On my installation, doc root was:

/var/www/localhost/htdocs/