Click to See Complete Forum and Search --> : Just a little query about Apache and Proftpd


thaddaeus
03-15-2004, 04:19 PM
I have setup ftp and webservers using the both and one thing i ran accross naking both was the fact that they only worked when rooted to certain dirs, ex:in apache it only allowed me to make webpages for the /var/www/ dir i had to make a shorcut to trick it to go to where i wanted it to. and in proftpd, well this one is more likely to be my errors, that it only links to users home dir, which is fine but i would like to setup somthingn better and more direct. I got everything working in a way so i'm happy with that, i was just wondering what was up. Also i use mdk 9.2 and the latest versions of webmin/apache/proftpd for the stuffs.

ph34r
03-15-2004, 04:22 PM
If you look at the apache config file (httpd.conf) there is a documentroot option, which tells apache where to find the / . You can also alias various directories to show up as subdirectories on your website.