← Back to team overview

enterprise-support team mailing list archive

[Bug 1268588] [NEW] apach2 does not read virtual host file with period in filename

 

Public bug reported:

OS Version: Ubuntu 13.10, release: 13.10
Apache version: Apache/2.4.6 (Ubuntu), Built: Dec 5 2013 18:33:15

Bug: Virtual hosts configuration saved inside files with period/dot
(apart from the .conf part) in filename are not processed, e.g.
/etc/apache2/sites-available/mysite.com.conf

What happens: Apache2.4 does not load the virtual hosts
What is expected: Apache2.4 should load the virtual hosts

The a2ensite and a2dissite commands will see the files and work
correctly to create/remove the symlinks in /etc/apache2/sites-enabled/

However, apache2 does not appear to read the file, there is no error
related to the virtual hosts even with apache -S

if the file is renamed as mysite.conf, apache will load the virtual host
correctly. No other change is needed and there does not appear to be any
requirement in Apache 2.4 documentation that requires the files not to
use period/dots in the filename

** Affects: apache2 (Ubuntu)
     Importance: Undecided
         Status: New

** Description changed:

  OS Version: Ubuntu 13.10, release: 13.10
  Apache version: Apache/2.4.6 (Ubuntu), Built: Dec 5 2013 18:33:15
  
  Bug: Virtual hosts configuration saved inside files with period/dot in
  filename are not processed, e.g. /etc/apache2/sites-
  available/mysite.com.conf
  
  The a2ensite and a2dissite commands will see the files and work
  correctly to create/remove the symlinks in /etc/apache2/sites-enabled/
  
  However, apache2 does not appear to read the file, there is no error
  related to the virtual hosts even with apache -S
  
  if the file is renamed as mysite.conf, apache will load the virtual host
  correctly. No other change is needed and there does not appear to be any
  requirement in Apache 2.4 documentation that requires the files not to
  use period/dots in the filename
+ 
+ What happens: Apache2.4 does not load the virtual hosts
+ What is expected: apache2.4 should load the virtual hosts

** Description changed:

  OS Version: Ubuntu 13.10, release: 13.10
  Apache version: Apache/2.4.6 (Ubuntu), Built: Dec 5 2013 18:33:15
  
  Bug: Virtual hosts configuration saved inside files with period/dot in
  filename are not processed, e.g. /etc/apache2/sites-
  available/mysite.com.conf
+ 
+ What happens: Apache2.4 does not load the virtual hosts
+ What is expected: Apache2.4 should load the virtual hosts
  
  The a2ensite and a2dissite commands will see the files and work
  correctly to create/remove the symlinks in /etc/apache2/sites-enabled/
  
  However, apache2 does not appear to read the file, there is no error
  related to the virtual hosts even with apache -S
  
  if the file is renamed as mysite.conf, apache will load the virtual host
  correctly. No other change is needed and there does not appear to be any
  requirement in Apache 2.4 documentation that requires the files not to
  use period/dots in the filename
- 
- What happens: Apache2.4 does not load the virtual hosts
- What is expected: apache2.4 should load the virtual hosts

** Description changed:

  OS Version: Ubuntu 13.10, release: 13.10
  Apache version: Apache/2.4.6 (Ubuntu), Built: Dec 5 2013 18:33:15
  
- Bug: Virtual hosts configuration saved inside files with period/dot in
- filename are not processed, e.g. /etc/apache2/sites-
- available/mysite.com.conf
+ Bug: Virtual hosts configuration saved inside files with period/dot
+ (apart from the .conf part) in filename are not processed, e.g.
+ /etc/apache2/sites-available/mysite.com.conf
  
  What happens: Apache2.4 does not load the virtual hosts
  What is expected: Apache2.4 should load the virtual hosts
  
  The a2ensite and a2dissite commands will see the files and work
  correctly to create/remove the symlinks in /etc/apache2/sites-enabled/
  
  However, apache2 does not appear to read the file, there is no error
  related to the virtual hosts even with apache -S
  
  if the file is renamed as mysite.conf, apache will load the virtual host
  correctly. No other change is needed and there does not appear to be any
  requirement in Apache 2.4 documentation that requires the files not to
  use period/dots in the filename

-- 
You received this bug notification because you are a member of Ubuntu
Server/Client Support Team, which is subscribed to apache2 in Ubuntu.
Matching subscriptions: Ubuntu Server/Client Support Team
https://bugs.launchpad.net/bugs/1268588

Title:
  apach2 does not read virtual host file with period in filename

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apache2/+bug/1268588/+subscriptions


Follow ups

References