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/12 18:18:47 UTC
[users@httpd] User web and other web dirs
Hola Apache Users (users@httpd.apache.org). Hoy Digo lo siguiente:
I have installed apache 2.0.49 and i'd like to know if there's a
way of changing the tilde (/~david/) for anyother symbol or alias
it so we could use +, -, whatever character as on Spanish keyboards
this key is'n present (you have to use ALT+126).
Another question i'm hosting some mirrors on my machine Samba,
Rsync and TLDP and i have them set up as Alias like
http://www.tuxcafe.com/LDP/
but i would like to set them as for example http://ldp.tuxcafe.com
Is there any way of doing this.
I'd appreciate your response as i've sent many messages and i don't
get any reply.
Thanx
--
Cordialmente:
David
::: TUXCAFE :::
E-mail: test@tuxcafe.com
Diseño Web
Administracion de Redes:
Tel: (571)-565-9995
Bogota, COlombia.
---------------------------------------------------------------------
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[2]: [users@httpd] User web and other web dirs
Posted by David Gonzalez <te...@tuxcafe.com>.
Hola Joshua,() como anda todo?.
Martes, 13 de Julio de 2004, 03:23:27 a.m., decias algo sobre [users@httpd] User web and other web dirs:
Joshua> On Mon, 12 Jul 2004 17:18:47 +0100, David Gonzalez <te...@tuxcafe.com> wrote:
>> Hola Apache Users (users@httpd.apache.org). Hoy Digo lo siguiente:
>>
>> I have installed apache 2.0.49 and i'd like to know if there's a
>> way of changing the tilde (/~david/) for anyother symbol or alias
>> it so we could use +, -, whatever character as on Spanish keyboards
>> this key is'n present (you have to use ALT+126).
Joshua> See:
Joshua> http://httpd.apache.org/docs-2.0/urlmapping.html#user
Joshua> Two other alternatives:
Joshua> 1. Hack mod_userdir to use whatever character you want.
Joshua> 2. Tell your users to type %7e in place of ~.
Well this is what i wanted to know, but now another issue comes up,
i've sucessfully setup mod_frontpage 2002 Server extensions and i have
some per user subwebs setups adn i want to know if:
1. mod_frontpage will continue to work correctly with the hacked
mod_userdir?.
2. existing seetings on mod_frontpage would have to be overwritten
with the new ones?.
>> Another question i'm hosting some mirrors on my machine Samba,
>> Rsync and TLDP and i have them set up as Alias like
>> http://www.tuxcafe.com/LDP/
>> but i would like to set them as for example http://ldp.tuxcafe.com
>>
>> Is there any way of doing this.
Joshua> Yes. It's called virtual hosts. See:
Joshua> http://httpd.apache.org/docs-2.0/vhosts/name-based.html
Joshua> But note you'll need to setup DNS correctly to map ldp.tuxcafe.com to
Joshua> the same place as www.tuxcafe.com before you start configuring apache.
Ok i have my own DNS server here and i have ZOneedit managing my DNS
too so it'd be easy i supose.
Joshua> Joshua.
Thanks for such helpful answer. :)
--
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
Re[4]: [users@httpd] User web and other web dirs
Posted by David Gonzalez <te...@tuxcafe.com>.
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[2]: [users@httpd] User web and other web dirs
Posted by Tim Burden <ti...@burden.ca>.
I don't see the VirtualHost entry for www.tuxcafe.com. I'm betting that if
you don't have one, you're getting ldp pages on www, not vice versa: the
first VirtualHost entry becomes the default.
By the way, the same name need not be both ServerName and ServerAlias.
> Well i've done so i created an alias on DNS that maps ldp.tuxcafe.com
> to www.tuxcafe.com and set up Apache like this:
>
> <VirtualHost *:80>
> ServerName ldp.tuxcafe.com
> ServerAlias ldp.tuxcafe.com
> DocumentRoot /mirror/ldp
> ErrorLog /var/log/apache/ldp-error_log
> CustomLog /var/log/apache/ldp-access_log common
> </VirtualHost>
>
> But i still get www.tuxcafe.com pages and not ldp.tuxcafe.com, am i
> doing something wrong?
>
---------------------------------------------------------------------
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[2]: [users@httpd] User web and other web dirs
Posted by David Gonzalez <te...@tuxcafe.com>.
Hola Joshua,() como anda todo?.
Martes, 13 de Julio de 2004, 03:23:27 a.m., decias algo sobre [users@httpd] User web and other web dirs:
>> Is there any way of doing this.
Joshua> Yes. It's called virtual hosts. See:
Joshua> http://httpd.apache.org/docs-2.0/vhosts/name-based.html
Joshua> But note you'll need to setup DNS correctly to map ldp.tuxcafe.com to
Joshua> the same place as www.tuxcafe.com before you start configuring apache.
Well i've done so i created an alias on DNS that maps ldp.tuxcafe.com
to www.tuxcafe.com and set up Apache like this:
<VirtualHost *:80>
ServerName ldp.tuxcafe.com
ServerAlias ldp.tuxcafe.com
DocumentRoot /mirror/ldp
ErrorLog /var/log/apache/ldp-error_log
CustomLog /var/log/apache/ldp-access_log common
</VirtualHost>
But i still get www.tuxcafe.com pages and not ldp.tuxcafe.com, am i
doing something wrong?
Joshua> Joshua.
Thanks
--
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: [users@httpd] User web and other web dirs
Posted by Joshua Slive <js...@gmail.com>.
On Mon, 12 Jul 2004 17:18:47 +0100, David Gonzalez <te...@tuxcafe.com> wrote:
> Hola Apache Users (users@httpd.apache.org). Hoy Digo lo siguiente:
>
> I have installed apache 2.0.49 and i'd like to know if there's a
> way of changing the tilde (/~david/) for anyother symbol or alias
> it so we could use +, -, whatever character as on Spanish keyboards
> this key is'n present (you have to use ALT+126).
See:
http://httpd.apache.org/docs-2.0/urlmapping.html#user
Two other alternatives:
1. Hack mod_userdir to use whatever character you want.
2. Tell your users to type %7e in place of ~.
> Another question i'm hosting some mirrors on my machine Samba,
> Rsync and TLDP and i have them set up as Alias like
> http://www.tuxcafe.com/LDP/
> but i would like to set them as for example http://ldp.tuxcafe.com
>
> Is there any way of doing this.
Yes. It's called virtual hosts. See:
http://httpd.apache.org/docs-2.0/vhosts/name-based.html
But note you'll need to setup DNS correctly to map ldp.tuxcafe.com to
the same place as www.tuxcafe.com before you start configuring apache.
Joshua.
---------------------------------------------------------------------
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