Re: Virtual Hosts Subdomains

2012-03-17 Thread Robert Bonomi

David Hughes dghughe...@googlemail.com wrote
 Hi all,

 Forgive me if this is slightly off-topic, but I wonder if I could 
 trouble you for some advice about setting up website subdomains with 
 Apache. I currently have a website up and running on a jailed VPS; I've 
 been trying to set up subdomains so that one might navigate to a certain 
 area of the site by using a URL of the form blog.mywebsite.net rather 
 than mywebsite.net/blog.

 I've tried reading the official Apache documentation and a number of 
 tutorials that I've found online, but nothing I've tried has worked so 
 far. Do Virtual Hosts behave differently if they're within a jail? Or do 
 I need some sort of DNS registration for subdomains? I've been trying to 
 figure it out by myself, with little success so far - I'm quite new to this.

This takes several things to make it work.
  1) You must have DNS entries for all the various  {foo}.domian.tld 
 paths that you intend to use.  CNAMEs that point to  domain.tld
 will work, combined with an 'A' (and/or '') records for the
 domin.tld  name itself. You'll also need an rDNS record for the
 IP address -- that points to  domiain.tld .

 This stuff is necessary so that a web browser knows how/where to
 find the server for  {foo}.domiain.tld .

  2) then you need to tell Apache that it is to services requests for
 multiple domain names.  This is what the 'virtualhost' stuff in
 the Apache config file does.

  3) the web browser *MUST* generate 'HTTP/1.1' queries -- where the
 hostname that one is expecting a response from is, itself, included
 in the request that is sent to the server at the 'resolved' IP
 address.


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Wireless PCI card

2012-03-17 Thread Harald Weis
Hi All,

Could someone please tell me whether the following card is supported by
8.2-RELEASE-p3 (a card available in France) ?

Carte PCI Wifi-N Essential TEW-643PI, 300 Mbps, TrendNet

Thank you in advance.
-- 
Harald Weis
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Subscribe request result (debian-www ML)

2012-03-17 Thread debian-www-admin
Hi, I am the fml ML manager for the ML debian-...@debian.or.jp.


--debian-...@debian.or.jp, Be Seeing You!


If you have any questions or problems,
   please contact debian-www-ad...@debian.or.jp




___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Subscribe request result (debian-www ML)

2012-03-17 Thread Alejandro Imass
On Sat, Mar 17, 2012 at 6:51 AM,  debian-www-ad...@debian.or.jp wrote:
 Hi, I am the fml ML manager for the ML debian-...@debian.or.jp.



Hmmm, and I thought all Debianites were FBSD-hating zealots. Guess the
Japanese tribe is more lax.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Virtual Hosts Subdomains

2012-03-17 Thread Alejandro Imass
On Sat, Mar 17, 2012 at 3:00 AM, Robert Bonomi bon...@mail.r-bonomi.com wrote:

 David Hughes dghughe...@googlemail.com wrote
 Hi all,

[...]


 This takes several things to make it work.
  1) You must have DNS entries for all the various  {foo}.domian.tld

[...]

Yeah, for one, the OP should provide details of his implementation
since as you very well point out there are many places where this can
go wrong... We use a jail that reverse proxies to all other jails.
This allows a 2 layer set-up that is not only more secure, but more
flexible as well.

We still don't know if the OP's jail is bound to a public IP or not...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Wireless PCI card

2012-03-17 Thread Warren Block

On Sat, 17 Mar 2012, Harald Weis wrote:


Could someone please tell me whether the following card is supported by
8.2-RELEASE-p3 (a card available in France) ?

Carte PCI Wifi-N Essential TEW-643PI, 300 Mbps, TrendNet


That's a Realtek 8190 chipset.  There is no native driver at present, 
ndisgen may be an option.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Wireless PCI card

2012-03-17 Thread Jerry
On Sat, 17 Mar 2012 08:44:24 -0600 (MDT)
Warren Block articulated:

 On Sat, 17 Mar 2012, Harald Weis wrote:
 
  Could someone please tell me whether the following card is
  supported by 8.2-RELEASE-p3 (a card available in France) ?
 
  Carte PCI Wifi-N Essential TEW-643PI, 300 Mbps, TrendNet
 
 That's a Realtek 8190 chipset.  There is no native driver at present, 
 ndisgen may be an option.

I have never had any luck with ndisgen and 64 bit drivers and even less
with N protocol devices.

-- 
Jerry ☘

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the Reply-To header.
__

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Virtual Hosts Subdomains

2012-03-17 Thread David Hughes

Hi all,

thanks very much for your advice.
To answer your questions:

It's a FreeBSD jail that I rent from Exonetric, which I've been using 
for experimental / developmental purposes. I haven't registered a 
personal domain name for it - as it's mainly for me to mess about with 
than for the world to see - but it is bound to a public IP and generic 
domain name (http://jail0152.vps.exonetric.net/). I don't have access to 
the domain name that came with the jail - and I think that is probably 
where the problem lies.


Here's the current text of my httpd.conf:
http://pastebin.com/NSaj8YfS

Output of ifconfig:

http://pastebin.com/Gke651xt

I tried adding additional VirtualHost entries for subdomains, but it 
didn't work - although I think I understand why that is now.


Me having this jail is mostly an exercise in learning the whys and 
wherefores of remote Unix[-like] server administration - something tells 
me I need to learn more about the workings of DNS, as I'd never heard of 
CNAMEs before.



Thanks again for all your help, much appreciated.

Best regards,

David
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: USA Anonymous CVS

2012-03-17 Thread Lowell Gilbert
Dan Lists lists@gmail.com writes:

From http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/anoncvs.html

 USA: anon...@anoncvs1.freebsd.org:/home/ncvs (For ssh, use ssh version
 2 and no password is required.)

 SSH2 HostKey: 2048 53:1f:15:a3:72:5c:43:f6:44:0e:6a:e9:bb:f8:01:62
 /etc/ssh/ssh_host_dsa_key.pub

 Example A-2. Using SSH to Check Out the src/ Tree:

 % cvs -d anon...@anoncvs1.freebsd.org:/home/ncvs co src
 The authenticity of host 'anoncvs1.freebsd.org (216.87.78.137)' can't
 be established.
 DSA key fingerprint is 53:1f:15:a3:72:5c:43:f6:44:0e:6a:e9:bb:f8:01:62.
 Are you sure you want to continue connecting (yes/no)? yes
 Warning: Permanently added 'anoncvs1.freebsd.org' (DSA) to the list of
 known hosts.

 However, when I acutally issue the command, I get a different DSA key,
 different IP, and it will not accept any password:

 # cvs -d anon...@anoncvs1.freebsd.org:/home/ncvs co src
 The authenticity of host 'anoncvs1.freebsd.org (96.47.72.116)' can't
 be established.
 DSA key fingerprint is 4e:bc:48:a0:e1:27:0a:62:c8:da:45:31:d4:ad:b2:00.
 Are you sure you want to continue connecting (yes/no)? yes
 Warning: Permanently added 'anoncvs1.freebsd.org' (DSA) to the list of
 known hosts.
 Password:
 Password:
 Password:
 Permission denied (publickey,keyboard-interactive).
 cvs [checkout aborted]: end of file from server (consult above messages if 
 any)

 Is the USA anonymous CVS server no longer operational?

It's just ssh that isn't working as documented; this may have changed
for security reasons.
The pserver method still works, so things aren't completely offline.
If ssh access is no longer supported, it should be removed from the
Handbook, but I can't be sure there isn't just a configuration change
needed. 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Can't install WindowMaker

2012-03-17 Thread lokada...@gmx.de

On 03/15/12 21:24, Sabine Baer wrote:
I do not undestand exactly, what You mean. I did a cvsup -g -L 2 
ports-supfile several times, I went to all /usr/ports/x11*/dirctories 
and made a 'make clean' for al the ports therein, but nothing helped. 
Sabine 

I see that you have a german mailadress, so i will write in germany.

Guck mal nach, ob du unter /etc/ eine Datei mit dem Namen portsnap.conf 
hast.

Wenn ja, bearbeitet die Datei einmal und ruf
portsnap fetch
portsnap extract
auf. Damit werden alle Ports unter /usr/ports auf einen aktuellen Stand 
gebracht.

Danach reicht eigentlich ein
portsnap fetch
portsnap update
aus, um auf die letzten Ports zu kommen.

Wenn du eine Flatrate hast, kannst du vielleicht auch mal dein ganzes 
System auf 9.0 aktualisieren (freebsd-update ist für die 
Standardinstallation ohne Kompilierung ganz gut).
Einige Probleme treten auf, wenn die Libarys auf dem System zu alt sind, 
aber in den Ports aktuelle benötigt werden.


mfg
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: nVidia card manufacturer recommendations

2012-03-17 Thread Daniel C. Dowse
On  Wed, 14 Mar 2012 13:00:30 +, Arthur Chance free...@qeng-ho.org wrote:
On 03/14/12 08:57, Arthur Chance wrote:
 Somewhere, possibly here, a while back I saw a remark that certain
 manufacturer's nVidia cards worked reliably with the nVidia supplied
 drivers and others usually have problems because they tweak nVidia's
 reference spec. Of course, I didn't bookmark it and neither Google nor
 searching the last years' worth of the freebsd-questions@ archives has
 turned it up.

 Can anyone recommend which manufacturers I should look at and/or which I
 should avoid? I'm specifically looking at the low end GT520.

I've just realised that I probably should have added for an amd64 system.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

I have a 1024MB Club 3D GeForce GT 520 Low Profile and it works like a charm.
with the drivers in the ports.

cheers

-- 
Daniel Dowse

\\|//
(o o)
-ooO-(_)-Ooo-
- Der hoechste Genuss besteht in der-
- Zufriedenheit mit sich selbst. Jean-Jacques Rousseau  -
-
- ()  ascii ribbon campaign - against html mail -
- /\- against microsoft attachments -
-
-Please Dont forget to reply below quoted text section  -
-

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Wireless PCI card

2012-03-17 Thread Harald Weis
On Sat, Mar 17, 2012 at 11:18:05AM -0400, Jerry wrote:
 On Sat, 17 Mar 2012 08:44:24 -0600 (MDT)
 Warren Block articulated:
 
  On Sat, 17 Mar 2012, Harald Weis wrote:
  
   Could someone please tell me whether the following card is
   supported by 8.2-RELEASE-p3 (a card available in France) ?
  
   Carte PCI Wifi-N Essential TEW-643PI, 300 Mbps, TrendNet
  
  That's a Realtek 8190 chipset.  There is no native driver at present, 
  ndisgen may be an option.
 
 I have never had any luck with ndisgen and 64 bit drivers and even less
 with N protocol devices.
 
 -- 
 Jerry ???
 
 Disclaimer: off-list followups get on-list replies or get ignored.
 Please do not ignore the Reply-To header.
 __
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

Is this one supported ?
Réseau Carte PCI D-LINK PCI wifi N 300Mbps

-- 
Harald Weis
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Wireless PCI card

2012-03-17 Thread Warren Block

On Sat, 17 Mar 2012, Harald Weis wrote:


Is this one supported ?
Réseau Carte PCI D-LINK PCI wifi N 300Mbps


According to the Newegg comments, that has an Atheros 5008 chipset:
http://www.newegg.com/Product/Product.aspx?Item=N82E16833127218

Make sure that's the same card.  Also, be aware that D-Link sometimes 
changes chipsets without changing part numbers.


Can't speak for that particular card, but that chipset is supported by 
ath(4).  With Adrian Chadd's work, it can even do 802.11n with -current 
or maybe 9-stable.___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

Re: Wireless PCI card

2012-03-17 Thread Harald Weis
On Sat, Mar 17, 2012 at 11:18:05AM -0400, Jerry wrote:
 On Sat, 17 Mar 2012 08:44:24 -0600 (MDT)
 Warren Block articulated:
 
  On Sat, 17 Mar 2012, Harald Weis wrote:
  
   Could someone please tell me whether the following card is
   supported by 8.2-RELEASE-p3 (a card available in France) ?
  
   Carte PCI Wifi-N Essential TEW-643PI, 300 Mbps, TrendNet
  
  That's a Realtek 8190 chipset.  There is no native driver at present, 
  ndisgen may be an option.
 
 I have never had any luck with ndisgen and 64 bit drivers and even less
 with N protocol devices.
 
 -- 
 Jerry ???
 
 Disclaimer: off-list followups get on-list replies or get ignored.
 Please do not ignore the Reply-To header.
 __
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

Is this one supported ?
Réseau Carte PCI D-LINK PCI wifi N 300Mbps

I just realize, this is N protocol again.

What about this one ?
Netgear Wn311B Carte Pci WiFi 300MBPS Rangemax Next

Wn311B seems to be N as well ?

I can see only 2 cards [http://www.rueducommerce.fr/index/carte%20wifi%20pci]
which are not N, but they are rather slow.
Carte PCI WiFi AirPlus G - DWL-G510 and
TEW-423PI - Carte PCI WiFi 802.11g - 54 Mbps [Oh, TEW again] 

-- 
Harald Weis
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Wireless PCI card

2012-03-17 Thread Warren Block

On Sat, 17 Mar 2012, Harald Weis wrote:


Is this one supported ?
Réseau Carte PCI D-LINK PCI wifi N 300Mbps

I just realize, this is N protocol again.


N cards are backwards compatible with 802.11g.___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

Re: USA Anonymous CVS

2012-03-17 Thread Chris Rees
On 17 March 2012 18:05, Lowell Gilbert
freebsd-questions-lo...@be-well.ilk.org wrote:
 Dan Lists lists@gmail.com writes:

From http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/anoncvs.html

 USA: anon...@anoncvs1.freebsd.org:/home/ncvs (For ssh, use ssh version
 2 and no password is required.)

 SSH2 HostKey: 2048 53:1f:15:a3:72:5c:43:f6:44:0e:6a:e9:bb:f8:01:62
 /etc/ssh/ssh_host_dsa_key.pub

 Example A-2. Using SSH to Check Out the src/ Tree:

 % cvs -d anon...@anoncvs1.freebsd.org:/home/ncvs co src
 The authenticity of host 'anoncvs1.freebsd.org (216.87.78.137)' can't
 be established.
 DSA key fingerprint is 53:1f:15:a3:72:5c:43:f6:44:0e:6a:e9:bb:f8:01:62.
 Are you sure you want to continue connecting (yes/no)? yes
 Warning: Permanently added 'anoncvs1.freebsd.org' (DSA) to the list of
 known hosts.

 However, when I acutally issue the command, I get a different DSA key,
 different IP, and it will not accept any password:

 # cvs -d anon...@anoncvs1.freebsd.org:/home/ncvs co src
 The authenticity of host 'anoncvs1.freebsd.org (96.47.72.116)' can't
 be established.
 DSA key fingerprint is 4e:bc:48:a0:e1:27:0a:62:c8:da:45:31:d4:ad:b2:00.
 Are you sure you want to continue connecting (yes/no)? yes
 Warning: Permanently added 'anoncvs1.freebsd.org' (DSA) to the list of
 known hosts.
 Password:
 Password:
 Password:
 Permission denied (publickey,keyboard-interactive).
 cvs [checkout aborted]: end of file from server (consult above messages if 
 any)

 Is the USA anonymous CVS server no longer operational?

 It's just ssh that isn't working as documented; this may have changed
 for security reasons.
 The pserver method still works, so things aren't completely offline.
 If ssh access is no longer supported, it should be removed from the
 Handbook, but I can't be sure there isn't just a configuration change
 needed.

Also, ssh access works just fine for the other servers.

Chris
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Virtual Hosts Subdomains

2012-03-17 Thread Alejandro Imass
On Sat, Mar 17, 2012 at 12:38 PM, David Hughes
dghughe...@googlemail.com wrote:
 Hi all,

 thanks very much for your advice.
 To answer your questions:

 It's a FreeBSD jail that I rent from Exonetric, which I've been using for
 experimental / developmental purposes. I haven't registered a personal
 domain name for it - as it's mainly for me to mess about with than for the
 world to see - but it is bound to a public IP and generic domain name
 (http://jail0152.vps.exonetric.net/). I don't have access to the domain name
 that came with the jail - and I think that is probably where the problem
 lies.

 Here's the current text of my httpd.conf:
 http://pastebin.com/NSaj8YfS

 Output of ifconfig:

 http://pastebin.com/Gke651xt


 I tried adding additional VirtualHost entries for subdomains, but it
 didn't work - although I think I understand why that is now.

 Me having this jail is mostly an exercise in learning the whys and
 wherefores of remote Unix[-like] server administration - something tells me
 I need to learn more about the workings of DNS, as I'd never heard of CNAMEs
 before.


OK. First of all you should do it correctly and go by the file
distribution of the Apache 2 port.

Stick to pre-defined httpd.conf and just uncomment the virtual host
file towards the end of the file. Then in extras/httpd-vhosts.conf is
where you should configure you vhosts.

Once you go for virtual hosts the everything should be vhosts, you
should not mix-match single httpd settings with vhost settings. From
the on you should use the extra/ httpd and ssl vhosts in separate
files like it's pre-defined in the port.

From your example I am assuming you want name-based vhost.

Leave the first vhost pointing to something default and safe. Apache
will default to the very first vhost defined if it cannot match a
domain name.

Realize that vhost is an http 1.1 feature, meaning that the vhost
mapping is resolved by the domain name in the http request. So even
though several domains may map to the same IP, when the request
reaches Apache it will look in it's vhost table and try to match a
domain name defined in one of the vhosts. If it cannot find one it
will default to the first one. This is very confusing and it's always
safe to leave the first one pointing something default, maybe even a
404 response.

You don't need to use the hoster's provided domain name, in fact you
shouldn't. I suspect you have your own domains so just make them point
to the IP of jail0152.vps.exonetric.net which seems to resolve to
178.250.76.43 So make __your__ domains point to that IP in your DNS (A
records).

I can't seem to find your NameVirtualHost  which is CRUCIAL for
vhosts to work. Another reson to use extra/httpd-vhosts.conf

Each vhost should match the exact definition of the NameVirtualHost
 line so for a line NameVirtualHost *:80 your vhost tags must be
VirtualHost *:80

Then just match the domain name with the lines for example:
ServerName www.yourdomain.com
ServerAlias yourdomain.com

you can put as many aliases as you want to match. The above will match
even if the user forgot the www


That's about it. If you use the files provided in FBSD it's easy peasy
but if step out the suggested file distribution then you will surely
get into trouble unless you really know what you're doing. The port
maintainer(s) usually get it right so follow the suggested config
structure ;-)

post back if you get it working or if you need further help!

-- 
Alejandro



 Thanks again for all your help, much appreciated.

 Best regards,

 David
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org