/* sender: "Cristi Banciu" date: "Fri, Oct 08, 2004 at 01:26:22PM +0300" */
> Am vazut ca se poate face in apache o chestie de genul <subj>
> 
> VirtualDocumentRoot /usr/local/apache/vhosts/%0
> iar cind userul cere www.gigi.com/file.html o sa 
> caute /usr/local/apache/vhosts/www.gigi.com/file.html
> 
> Intrebarea e cum pot sa fac ceva de genul
> 
> VirtualDocumentRoot /home/user*/httpd/%0 
> respectiv atunci cind userul cere www.user1.com sa se duca 
> in /home/user1/httpd/ cind cere user2 sa se duca in /home/user2/ etc ?

VirtualDocumentRoot /home/%2/httpd 

face exact ce vrei tu. fara symlinks, fara mod_rewrite.

--- 
Detalii despre listele noastre de mail: http://www.lug.ro/


Raspunde prin e-mail lui