Quote:
Originally Posted by
Palak Sharma
I am having an ubuntumachine. the man apt-get gives following output.
It might have helped if you had stated that insignificant little detail a bit earlier. You said you "have installed using yum" and "yum" is a frontend to RPM, not APT. Ubuntu, on the other hand, is based on Debian and that is using APT instead of RPM.
Anyway, your problem has nothing to do with installation directories. "/var/www/html" is just the (default) directory the web server will look for its data. Change the "DocumentRoot"-directive in (probably)
/opt/freeware/etc/httpd/conf/httpd.conf. Per default it points to "/var/www/htdocs", put a path of your liking there and restart the web server. You will probably have to change the accompanying "Directory"-statement too to make it finally work.
I hope this helps.
bakunin