Bug#718650: [apache2] Shipped ports.conf refers to old path for 000-default configuration

2013-08-03 Thread Filipus Klutiero

Package: apache2
Version: 2.4.6-2
Severity: minor

The default version of /etc/apache2/ports.conf starts with a comment which 
needs to be update following the changes to sites-enabled/:

# If you just change the port or add more ports here, you will likely also
# have to change the VirtualHost statement in
# /etc/apache2/sites-enabled/000-default


"000-default" should change to "000-default.conf".

--
Filipus Klutiero
http://www.philippecloutier.com


--
To UNSUBSCRIBE, email to debian-apache-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/51fd32fc.9060...@gmail.com



Processed: your mail

2013-08-03 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org:

> tags 714341 +moreinfo
Bug #714341 [apache2.2-common] apache2: Disabled Sites Still Served
Added tag(s) moreinfo.
>
End of message, stopping processing here.

Please contact me if you need assistance.
-- 
714341: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=714341
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems


--
To UNSUBSCRIBE, email to debian-apache-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/handler.s.c.137553536412878.transcr...@bugs.debian.org



Bug#714341: apache2: Disabled Sites Still Served

2013-08-03 Thread Jean-Michel Vourgère
Hello

In my experience, that happens when I reload the wrong httpd, getting confused
by the VMs. Maybe that happened to you...


Can you please:

- Check that the link has been removed from /etc/apache2/sites-enabled/ ?
In version 2.2, a2dissite is just deleting the link there.

- Did you try a restart?
- Did you try to stop the sever, check apache is off, then start again?
Please check using curl, so that any other other instance of apache2 (or
another web server) is detected.

If that still doesn't work, you'll have to check your configuration files.
Can you post the result of
  $ find /etc/apache2
please ?


-- 
To UNSUBSCRIBE, email to debian-apache-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/201308031220.37279.jmv_...@nirgal.com



Bug#711493: No default site enabled after fresh install if /etc/apache2 exists

2013-08-03 Thread Jean-Michel Vourgère
Control: tags -1 + patch

Attached is a patch for that problem.

I believe it's important because there is a lot of packages that does not
depend on apache2, meaning they can be installed first, but that will install
some conffiles in /etc/apache/*-available/ as requested.

Note that "cut" will eat the error code, in the patch.
$ dpkg-query -f '${Package}\t${Status}\n'  -W 'apache2-mpm-*' 2>/dev/null | 
grep "XXX" | cut -f1 && echo cut eats errors
cut eats errors

Also tested ok if dpkg-query fails, when there is no 'apache2-mpm-*' packages 
for jessie upgrades.
diff --git a/debian/apache2.preinst b/debian/apache2.preinst
index c3e49c9..b8d8805 100644
--- a/debian/apache2.preinst
+++ b/debian/apache2.preinst
@@ -105,9 +105,8 @@ case "$1" in
 
 	# 1) an apache2-mpm package exists
 	if [ -d "/etc/apache2/" ] ; then
-		mpm=$(dpkg-query -f '${Package}\t${Status}\n'  -W 'apache2-mpm-*' 2>/dev/null) || true
-		if [ $? -eq 0 ] ; then
-			mpm=$(echo "$mpm" | grep "install ok" | cut -f1)
+		mpm=$(dpkg-query -f '${Package}\t${Status}\n'  -W 'apache2-mpm-*' 2>/dev/null | grep "install ok" | cut -f1)
+		if [ -n "$mpm" ] ; then
 			if [ ! -f /etc/apache2/.apache2_mpm_selected ] ; then
 echo "# automatically created during upgrade" >> /etc/apache2/.apache2_mpm_selected
 echo "# it can be safely removed anytime" >> /etc/apache2/.apache2_mpm_selected


Processed: Re: No default site enabled after fresh install if /etc/apache2 exists

2013-08-03 Thread Debian Bug Tracking System
Processing control commands:

> tags -1 + patch
Bug #711493 [apache2] No default site enabled after fresh install if 
/etc/apache2 exists
Added tag(s) patch.

-- 
711493: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=711493
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems


--
To UNSUBSCRIBE, email to debian-apache-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/handler.s.b711493.137552490315199.transcr...@bugs.debian.org



Processed: tagging 718387

2013-08-03 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org:

> tags 718387 + pending
Bug #718387 [apache2-data] apache2-data: Please mark Multi-Arch: foreign
Added tag(s) pending.
> thanks
Stopping processing here.

Please contact me if you need assistance.
-- 
718387: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=718387
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems


--
To UNSUBSCRIBE, email to debian-apache-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/handler.s.c.13755228613257.transcr...@bugs.debian.org