You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by David Gonzalez <te...@tuxcafe.com> on 2004/07/13 12:30:27 UTC
Re[4]: [users@httpd] User web and other web dirs
Hola Tim,() como anda todo?.
Martes, 13 de Julio de 2004, 05:17:22 p.m., decias algo sobre [users@httpd] User web and other web dirs:
Tim> I don't see the VirtualHost entry for www.tuxcafe.com. I'm betting that if
Tim> you don't have one, you're getting ldp pages on www, not vice versa: the
Tim> first VirtualHost entry becomes the default.
I in fact have it i've already set up VHs for www.skynetbbs.org and
the default is www.tuxcafe.com but i ommited it as it'd be a long
message though i now see the need to show you my VH entries so you can
see if i'm doing something wrong.
NameVirtualHost *:80
<VirtualHost *:80>
ServerAdmin webmaster@tuxcafe.com
ServerName www.tuxcafe.com:80
ServerAlias tuxcafe.com www.tuxcafe.com
DocumentRoot /www/tuxcafe
<Directory />
Options Indexes FollowSymLinks Includes
AllowOverride All
Order allow,deny
HostNameLookups on
</Directory>
<Directory "/www/tuxcafe">
Options Indexes FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
<VirtualHost *:80>
ServerAdmin webmaster@skynetbbs.org
DocumentRoot /www/skynet
ServerAlias skynetbbs.org www.skynetbbs.org
ServerName www.skynetbbs.org:80
<Directory />
IndexOptions FancyIndexing NameWidth=* FoldersFirst \
ScanHTMLTitles DescriptionWidth=*
HeaderName HEADER.html
ReadmeName README.html
AllowOverride FileInfo Indexes AuthConfig
Options Indexes SymLinksIfOwnerMatch
</Directory>
ScriptAlias /cgi-bin/ "/www/cgi-bin2/"
<Directory "/www/cgi-bin2">
AllowOverride None
Options None
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
<VirtualHost *:80>
ServerName ldp.tuxcafe.com
DocumentRoot /mirror/ldp
ErrorLog /var/log/apache/ldp-error_log
CustomLog /var/log/apache/ldp-access_log common
</VirtualHost>
skynetbbs.org and tuxcafe.com work correctly but ldo.tuxcafe.com shows
me tuxcafe.com pages.
I just change ServerAlias from tuxcafe.com *.tuxcafe.com ti just
tuxcafe.com www.tuxcafe.com
I guess that was the problem.
I will test.
Tim> By the way, the same name need not be both ServerName and ServerAlias.
Ok i deleted that.
--
Cordialmente:
David
::: TUXCAFE :::
E-mail:test@tuxcafe.com
Diseño Web
Administracion de Redes:
Tel: (571)-565-9995
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: Re[4]: [users@httpd] User web and other web dirs
Posted by Tim Burden <ti...@burden.ca>.
Yep, looks like you solved it.
----- Original Message -----
From: "David Gonzalez" <te...@tuxcafe.com>
To: "Tim Burden" <us...@httpd.apache.org>
Sent: Tuesday, July 13, 2004 6:30 AM
Subject: Re[4]: [users@httpd] User web and other web dirs
> Hola Tim,() como anda todo?.
>
> Martes, 13 de Julio de 2004, 05:17:22 p.m., decias algo sobre
[users@httpd] User web and other web dirs:
>
> Tim> I don't see the VirtualHost entry for www.tuxcafe.com. I'm betting
that if
> Tim> you don't have one, you're getting ldp pages on www, not vice versa:
the
> Tim> first VirtualHost entry becomes the default.
>
> I in fact have it i've already set up VHs for www.skynetbbs.org and
> the default is www.tuxcafe.com but i ommited it as it'd be a long
> message though i now see the need to show you my VH entries so you can
> see if i'm doing something wrong.
>
> NameVirtualHost *:80
> <VirtualHost *:80>
> ServerAdmin webmaster@tuxcafe.com
> ServerName www.tuxcafe.com:80
> ServerAlias tuxcafe.com www.tuxcafe.com
> DocumentRoot /www/tuxcafe
> <Directory />
> Options Indexes FollowSymLinks Includes
> AllowOverride All
> Order allow,deny
> HostNameLookups on
> </Directory>
> <Directory "/www/tuxcafe">
> Options Indexes FollowSymLinks
> AllowOverride All
> Order allow,deny
> Allow from all
> </Directory>
> </VirtualHost>
>
> <VirtualHost *:80>
> ServerAdmin webmaster@skynetbbs.org
> DocumentRoot /www/skynet
> ServerAlias skynetbbs.org www.skynetbbs.org
> ServerName www.skynetbbs.org:80
> <Directory />
> IndexOptions FancyIndexing NameWidth=* FoldersFirst \
> ScanHTMLTitles DescriptionWidth=*
> HeaderName HEADER.html
> ReadmeName README.html
> AllowOverride FileInfo Indexes AuthConfig
> Options Indexes SymLinksIfOwnerMatch
> </Directory>
> ScriptAlias /cgi-bin/ "/www/cgi-bin2/"
> <Directory "/www/cgi-bin2">
> AllowOverride None
> Options None
> Order allow,deny
> Allow from all
> </Directory>
> </VirtualHost>
>
> <VirtualHost *:80>
> ServerName ldp.tuxcafe.com
> DocumentRoot /mirror/ldp
> ErrorLog /var/log/apache/ldp-error_log
> CustomLog /var/log/apache/ldp-access_log common
> </VirtualHost>
>
> skynetbbs.org and tuxcafe.com work correctly but ldo.tuxcafe.com shows
> me tuxcafe.com pages.
>
> I just change ServerAlias from tuxcafe.com *.tuxcafe.com ti just
> tuxcafe.com www.tuxcafe.com
>
> I guess that was the problem.
>
> I will test.
>
> Tim> By the way, the same name need not be both ServerName and
ServerAlias.
>
> Ok i deleted that.
>
> --
> Cordialmente:
> David
> ::: TUXCAFE :::
> E-mail:test@tuxcafe.com
> Diseño Web
> Administracion de Redes:
> Tel: (571)-565-9995
>
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> " from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org