|
|
|
|
||||||
| linux.debian.user debian-user@lists.debian.org. |
![]() |
|
|
LinkBack | Outils de la discussion |
|
|
#1 |
|
Messages: n/a
Hébergeur: |
Hi
I am using Apache2 on Sarge. I have an /etc/apache2/sites-enabled dir looking similar like: lrwxrwxrwx 1 root root 7 Jan 19 13:15 00default -> default lrwxrwxrwx 1 root root 40 Jul 24 2005 pre1.domain.nl -> .../sites-available/pre1.domain.nl lrwxrwxrwx 1 root root 26 Sep 4 18:50 default -> ../sites-available/default etc. etc Somehow, when you go to something like crappyurl.domain.nl in your browser, it should go to 00default, but it does go to another VH. Quite a random one in my opinion. I have no clue why it takes that specific one. WHY doesn't Apache take the first one? 00default that is. Doesn't it work alphabetically? What point am I missing here? BTW, the default is the debian standard one with some alterations but boils down like this: NameVirtualHost <myip>:80 NameVirtualHost <myip>:443 <VirtualHost <myip>:80> ServerAdmin webmaster@localhost DocumentRoot /var/www/ <Directory /> Options FollowSymLinks AllowOverride None </Directory> <Directory /var/www/> Options FollowSymLinks MultiViews AllowOverride None Order allow,deny allow from all </Directory> etc etc Any clues? Best regards, Pim -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
On Fri, Jan 19, 2007 at 01:22:35PM +0100, Pim Bliek wrote:
> Hi > > WHY doesn't Apache take the first one? 00default that is. Doesn't it > work alphabetically? > It depends. > What point am I missing here? > > BTW, the default is the debian standard one with some alterations but > boils down like this: > > NameVirtualHost <myip>:80 > NameVirtualHost <myip>:443 > > <VirtualHost <myip>:80> > ServerAdmin webmaster@localhost > > DocumentRoot /var/www/ > <Directory /> > Options FollowSymLinks > AllowOverride None > </Directory> > <Directory /var/www/> > Options FollowSymLinks MultiViews > AllowOverride None > Order allow,deny > allow from all > </Directory> > > etc etc > > Any clues? > Well, what is your *actual* config (i.e., without obfuscation) and what do the DNS entries (output of host or dig) for the various hosts you are trying to access. Regards, -Roberto -- Roberto C. Sanchez http://people.connexer.com/~roberto http://www.connexer.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFFsR011snWssAFC08RAkyuAJ913FgRKotzNIe5jOEDfH eo7XHrJwCfbNZc rN4sbnEH4kkkBjPF/7F1YFI= =vqh8 -----END PGP SIGNATURE----- |
|
|
|
#3 |
|
Messages: n/a
Hébergeur: |
> > WHY doesn't Apache take the first one? 00default that is. Doesn't it
> > work alphabetically? > > > It depends. In the end it appeared to be a config file in the conf.d/ dir in the /etc/apache2 dir.. Something in there was very wrong. It was the phpbb.conf... Didn't need it anymore so simply removed it. Everything is working now again. Thanx for the hints, they really ed when tracking this! Pim -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
|
![]() |
| Outils de la discussion | |
|
|