[LUNI] Apache virtual hosting

Eugene Teo eugene.teo at eugeneteo.net
Wed Apr 14 01:24:25 CDT 2004


Hi,

I have two questions that has been bothering me for a while, but I didn't
have the time to find out how.

[1] When you setup apache to do virtual hosting, that is simple, you simply
configure it to serve pages by the domain name or ip. what if you want
to host users in this way:

http://domain1/~user1
http://domain2/~user2
http://domain2/~user3

[1a] is it possible to restrict user1 from using domain2? eg:
http://domain1/~user1 is valid but http://domain2/~user1 is invalid.

[1b] is it possible to have the same username but different domain and
different user? eg: http://domain1/~user1 and http://domain2/~user1 but
user1 in both domain names are different users.

[1c] is it possible to have the logs for the various users separated from the
virtual hosts? eg: logs for http://domain1/ and http://domain1/~user1
are separated.

[2] also, i noticed that apache 2.0.x takes up a lot of resource on a p3.
is there a way to make sure that it uses lesser locality and perform
better?

many thanks!

Eugene
-- 
Eugene TEO -  <eugeneteo%null!cc!uic!edu> <http://www.anomalistic.org/>
1024D/14A0DDE5 print D851 4574 E357 469C D308  A01E 7321 A38A 14A0 DDE5
main(i) { putchar(182623909 >> (i-1) * 5&31|!!(i<7)<<6) && main(++i); }



More information about the luni mailing list