Add Comment

You are not currently logged in. If you do not have a user account then please consider creating one and logging in before you post your comment. This will allow you to track replies to your comment, and take part in the site much more freely.

To add your comment, fill in all the boxes below and then preview it to make sure you're happy with the way that it looks.

This is the comment you were replying to, attached to the article Question: apache and ftp config best practise?:


Re: Question: apache and ftp config best practise?
Posted by bsod (82.66.xx.xx) on Fri 30 Sep 2005 at 18:23
With this number of website, you want to take a look at : http://httpd.apache.org/docs/1.3/vhosts/mass.html

(You can probably do the same thing with Apache 2).

The idea is that the filesystem used to find websites, not the conf file. You avoid editing the conf files everytime you add/change/delete a site (and you avoid restarting Apache).

For multiple address pointing to the same website, you can use symlinks.


With a proper configuration, you could consider this kind of setup :

/whatever/sites/customer1-domain/forum
/whatever/sites/customer1-domain/images
/whatever/sites/customer1-domain/www
/whatever/sites/customer2-domain/www
/whatever/sites/customer3-domain/data
/whatever/sites/customer3-domain/www

which allow you to set-up ftp root to /whatever/sites/customer1-domain/ for customer1 ...


Have fun ;)

Username:Anonymous
Title:
Your Comment:

Posting Format:

 

Inappropriate comments will be removed.

Some help on entry formatting is available

User Login

Username:

Password:

[ Advanced Login ]

Register Account

Quick Site Search