httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Gonzalez <t...@tuxcafe.com>
Subject Re[4]: [users@httpd] User web and other web dirs
Date Tue, 13 Jul 2004 10:30:27 GMT
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


Mime
View raw message