Click to See Complete Forum and Search --> : wrong dir in apache?
@apje
07-14-2002, 10:41 AM
it should show the files in the map:
file:/usr/local/apache2/htdocs
right?
but it doesn't,
even when the config file (file:/usr/local/apache2/conf/httpd.conf) does say it is in htdocs...
instead of it it shows the files in: file:/var/www/html
Huh? Are you asking if the web document root directory is supposed to be /var/www or /usr/local/apache2/htdocs?? Look in your apache config file (httpd.conf) for the line 'DocumentRoot' - this parameter will be the webpage directory.
@apje
07-15-2002, 02:33 AM
that's the whole problem! it says the map htdocs in the apache2 map...
but.... it isn't,
no matter how much files i copy there...
it doesn't see them...
Golden_Eternity
07-15-2002, 05:06 PM
Do you have an older copy of apache that might be getting started instead of the one you have in /usr/local?
@apje
07-16-2002, 02:55 PM
hms...
that could be the reason,
but in which dir would it be then?
and how do i uninstall it?
because i don't know how to do that in linux..
Golden_Eternity
07-16-2002, 07:25 PM
try 'which httpd' 'whereis httpd' 'find / -name httpd'... one of those should turn up some results.
uninstalling depends on how you installed it in the first place... if it was installed via an rpm, you can use rpm -e <package name>... other package types have their own method...
uninstall scripts in source distributions (tarballs) are pretty rare, and sometimes dangerous.