Bug 61239 - Apach2 configtest does not warn on invalid hostname
Summary: Apach2 configtest does not warn on invalid hostname
Status: NEW
Alias: None
Product: Apache httpd-2
Classification: Unclassified
Component: Core (show other bugs)
Version: 2.5-HEAD
Hardware: PC Linux
: P2 normal (vote)
Target Milestone: ---
Assignee: Apache HTTPD Bugs Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-06-29 17:39 UTC by Daniel
Modified: 2017-06-29 17:39 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel 2017-06-29 17:39:20 UTC
When you create a virtual host, with a hostname that does not meet RFC standards, configtest should at least warn that the hostname is not valid.

Creating a virtual host with an underscore in the hostname will end up with apache2 throwing a 400 error, with no other useful information.