Re: Virtualhost
Am 2005-11-14 22:27:21, schrieb Markus Braun:
> nabend nochmal,
>
> sag mal hat keiner von euch subdomains konfiguriert?
Doch, ein paar tausend wie z.b.:
__( '/home1/Configs/vhosts/pbuilder' )________________________________
/
| ####################################################################
| #
| # Virtualhost pbuilder.debian.xxxxxxxxxxx.xxx
| #
| ####################################################################
| <VirtualHost 192.168.0.240:80>
| ServerAdmin linux4michelle@freenet.de
| DocumentRoot /home1/pbuilder.debian/public_html
|
| ServerName pbuilder.debian.xxxxxxxxxxx.xxx
| ServerAlias pbuilder.debian.tamay-dogan.homelinux.net
| UseCanonicalName off
|
| CheckSpelling on
|
| ErrorLog /home1/pbuilder.debian/log/apache/error.log
| CustomLog /home1/pbuilder.debian/log/apache/access.log full
|
| <Directory /home1/pbuilder.debian/public_html>
| AllowOverride FileInfo AuthConfig Limit
| Options ExecCGI MultiViews Indexes SymLinksIfOwnerMatch Includes
| DirectoryIndex index index.php index.php5 index.php4 index.html index.htm
| <Limit GET POST OPTIONS PROPFIND>
| Order allow,deny
| Allow from all
| </Limit>
| <Limit PUT DELETE PATCH PROPPATCH MKCOL COPY MOVE LOCK UNLOCK>
| Order deny,allow
| Deny from all
| </Limit>
| </Directory>
| </VirtualHost>
\______________________________________________________________________
und werden per
Include /home1/Configs/vhosts/
eingelesen. Sprich jeder VHost hat seine eigene Datei.
> ich komm da nicht klar damit.
>
> Was hat die 000-default für einen nutzen und wenn ich einen eigenen vhost
> mache, bekomme ich diese fehlermeldung.
Das ist der ERSTE Host.
z.B.:
__( '/etc/hosts' )____________________________________________________
/
| xxx.xxx.x.240 www.debian.xxxxxxxxxxx.xxx www.debian
| xxx.xxx.x.240 devel.debian.xxxxxxxxxxx.xxx devel.debian
| xxx.xxx.x.240 xmms.debian.xxxxxxxxxxx.xxx xmms.debian
| xxx.xxx.x.240 backports.debian.xxxxxxxxxxx.xxx backports.debian
| xxx.xxx.x.240 linuxrouter.debian.xxxxxxxxxxx.xxx linuxrouter.debian
| xxx.xxx.x.240 lists.debian.xxxxxxxxxxx.xxx lists.debian
| xxx.xxx.x.240 dof.debian.xxxxxxxxxxx.xxx dof.debian
| xxx.xxx.x.240 pbuilder.debian.xxxxxxxxxxx.xxx pbuilder.debian
| xxx.xxx.x.240 office.debian.xxxxxxxxxxx.xxx office.debian
| xxx.xxx.x.240 bts.debian.xxxxxxxxxxx.xxx bts.debian
| xxx.xxx.x.240 doc.debian.xxxxxxxxxxx.xxx doc.debian
| xxx.xxx.x.240 consultant.debian.xxxxxxxxxxx.xxx consultant.debian
| xxx.xxx.x.240 books.debian.xxxxxxxxxxx.xxx books.debian
| xxx.xxx.x.240 buzz.debian.xxxxxxxxxxx.xxx buzz.debian
| xxx.xxx.x.240 rex.debian.xxxxxxxxxxx.xxx rex.debian
| xxx.xxx.x.240 bo.debian.xxxxxxxxxxx.xxx bo.debian
| xxx.xxx.x.240 hamm.debian.xxxxxxxxxxx.xxx hamm.debian
| xxx.xxx.x.240 slink.debian.xxxxxxxxxxx.xxx slink.debian
| xxx.xxx.x.240 potato.debian.xxxxxxxxxxx.xxx potato.debian
| xxx.xxx.x.240 woody.debian.xxxxxxxxxxx.xxx woody.debian
| xxx.xxx.x.240 sarge.debian.xxxxxxxxxxx.xxx sarge.debian
| xxx.xxx.x.240 etch.debian.xxxxxxxxxxx.xxx etch.debian
| xxx.xxx.x.240 sid.debian.xxxxxxxxxxx.xxx sid.debian
\______________________________________________________________________
wobei <www.debian.xxxxxxxxxxx.xxx> der default Host ist
und alle andeen VHosts auf dem Rechner
> und wo soll ich dann den namevirtualhost eintragen?
Das steht irgendwo am ende der httpd.conf
> Ja ich weiss fragen über fragen...
??? - Read The Fine Manual - ???
> ich hoff jemand kann mir helfen
>
> DAnke
Greetings
Michelle
--
Linux-User #280138 with the Linux Counter, http://counter.li.org/
Michelle Konzack Apt. 917 ICQ #328449886
50, rue de Soultz MSM LinuxMichi
0033/3/88452356 67100 Strasbourg/France IRC #Debian (irc.icq.com)
Reply to: