[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Apache: Virtual host con password di entrata



Il giorno Wed, 09 Aug 2006 10:03:03 +0200
"Wannabe.mail" <wannabe.mail@libero.it> ha scritto:

> In apache mi sono appena creato un virtual hosts e volevo fare
> qualche test di entrata impostando utenti e password. Ecco cosa ho
> fatto:
> 
> Semplicemente ho definito questo virtual host in httpd.conf
> 
> ### Section 3: Virtual Hosts
> #NameVirtualHost 12.34.56.78:80
> #NameVirtualHost 192.168.0.2
> Listen 8081
> #
> #<VirtualHost _default_:*>
> #</VirtualHost>
> <VirtualHost 192.168.0.2:8081>
>     DocumentRoot /var/www1
> </VirtualHost>
> <Directory /var/www1>
> Options Indexes
> </Directory>
> # Automatically added by the post-installation script
> # as part of the transition to a config directory layout
> # similar to apache2, and that will help users to migrate
> # from apache to apache2 or revert back easily
> Include /etc/apache/conf.d
> 
prova aggiungendo:

AllowOverride AuthConfig

altrimenti apache non va a guardare i file .htaccess

Ciao

-- 
Andrea Corradi | Debian User | www.debian.org
Fingerprint: A41E F6B0 DBDB F04C 4940 E411 30F3 CD62 57B1 8458
gpg --keyserver keyserver.linux.it --recv-key 57B18458
Please avoid sending me Word or PowerPoint attachments.
http://www.gnu.org/philosophy/no-word-attachments.html

Attachment: signature.asc
Description: PGP signature


Reply to: