apache2 does not read virtual host file with period in filename

Bug #1268588 reported by Emmanuel
This bug affects 2 people
Affects Status Importance Assigned to Milestone
apache2 (Ubuntu)

Bug Description

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

description: updated
description: updated
description: updated
Revision history for this message
Robie Basak (racb) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better.

This sounds like a valid bug report. Next steps would be to test apache2 in Debian, and if the bug affects Debian too, then to file a bug there.

Marking Importance: Low as I expect this will only affect a small number of users, and there is a workaround available.

Changed in apache2 (Ubuntu):
importance: Undecided → Low
summary: - apach2 does not read virtual host file with period in filename
+ apache2 does not read virtual host file with period in filename
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in apache2 (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.