Click to See Complete Forum and Search --> : Apache server...???.
ChyLd
03-27-2002, 04:44 AM
Okay heres my first question..
I just learnt how to sorta setup the apache server on my box.
When i hit the ip 123.xxx.xx.xx it point to folder located /usr/local/src/apache_1.3.20/......
How do i change it, so that it points to
/var/www/html/.......
When typin de Ip from a broswer?
I dont really know the "term"....for askin this question.....
I hope this is a valid question..... :)
z0mbix
03-27-2002, 07:29 AM
you need to edit the httpd.conf file to achieve this. It'll be in different locations depending on your distro, so just do a locate httpd.conf
Vagrant
03-27-2002, 09:57 AM
yep do a search for it, then when you edit it look for a string "DocumentRoot" change that path, and the path below it .. if you are using vi as your text editor the search command is just
/DocumentRoot
<enter>
thats once you've "vi httpd.conf" .. good luck .. you could also look for a program called Webmin on freshmeat.net its a gui for configuring many different services ..
*Vagrant
ChyLd
03-28-2002, 05:12 AM
Originally posted by Vagrant:
<STRONG>yep do a search for it, then when you edit it look for a string "DocumentRoot" change that path, and the path below it .. if you are using vi as your text editor the search command is just
/DocumentRoot
<enter>
thats once you've "vi httpd.conf" .. good luck .. you could also look for a program called Webmin on freshmeat.net its a gui for configuring many different services ..
*Vagrant</STRONG>
Thanks... That helped alot...
:D
Ryeker
03-30-2002, 02:44 AM
A symlink would've worked... Most Apache configurations I've seen allowed for symlinking.