A maneira mais fácil é criar links no diretório do DocumentRoot apontando para os diretórios alvo [1]. Os arquivos vão aparecer como em um FTP.
[1] - # ln -s /caminho/do/diretório /caminho/para/o/documentroot/nome_do_link --------------------------------------------------- Att.: Willian Jhonnes L. dos Santos Analista/Desenvolvedor Object/Free Pascal [EMAIL PROTECTED] --------------------------------------------------- Seja livre. Use Linux. Grupo de Usuários GNU/Linux de São José dos Pinhais Linux user number 449753 --------------------------------------------------- Powered by Slackware Linux 12.0 Kernel 2.6.21.5-custom --------------------------------------------------- ----- Mensagem original ---- De: alexspe <[EMAIL PROTECTED]> Para: Slackware Users Group - Brazil <[email protected]> Enviadas: Quinta-feira, 9 de Outubro de 2008 22:06:26 Assunto: [slack-users] Re: compartilhar 3 pastas no apache q simpatico hehe cara fui atras parece uma coisa logica, mas nao esta funcionando por isso vim pedir On 9 out, 20:07, Molinero <[EMAIL PROTECTED]> wrote: > localhost = 127.0.0.1 > > ====================================== > CyberCrow > Conhecimento é Poder ! > > Quando voce perde a mente limitada > Voce liberta a sua vida > > http://cybercrow.blogspot.com > ====================================== > > 1. Try to find an answer by searching the archives of the forum you plan > to post to. > 2. Try to find an answer by searching the Web. > 3. Try to find an answer by reading the manual. > 4. Try to find an answer by reading a FAQ. > 5. Try to find an answer by inspection or experimentation. > 6. Try to find an answer by asking a skilled friend. > 7. If you're a programmer, try to find an answer by reading the source > code. > > -----BEGIN GEEK CODE BLOCK----- > Version: 3.12 > GCM/L/U d- s-: a- C++ LSU++++ P+ L+++ E--- W++ N w-- > O-- M- V- PS PE- Y PGP++ t 5 X++ R tv- b++ DI D+ > G++ e- h* r y+ > -------END GEEK CODE BLOCK------ > > alexspe wrote: > > queria saber como faço para o apache "servir" 3 pastas diferentes > > de maneira q eu possa acessar pelo navegador deste jeito > >http://192.168.1.1/pasta1 > >http://192.168.1.1/pasta2 > >http://192.168.1.1/pasta3 > > > testei com essa config mas nao funcionou > > > NameVirtualHost * > > > <VirtualHost *> > > ServerName localhost > > DocumentRoot /home/alexsp/pasta1 > > </VirtualHost> > > > <VirtualHost *> > > ServerName localhost > > DocumentRoot /home/alexsp/pasta2 > > </VirtualHost> > > > <VirtualHost *> > > ServerName localhost > > DocumentRoot /home/alexsp/pasta3 > > </VirtualHost> > > Novos endereços, o Yahoo! que você conhece. Crie um email novo com a sua cara @ymail.com ou @rocketmail.com. http://br.new.mail.yahoo.com/addresses --~--~---------~--~----~------------~-------~--~----~ GUS-BR - Grupo de Usuários de Slackware Brasil http://www.slackwarebrasil.org/ http://groups.google.com/group/slack-users-br -~----------~----~----~----~------~----~------~--~---

