a2ensite suggest files which do not exist
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| | apache2 (Ubuntu) |
Medium
|
Unassigned | ||
Bug Description
Ubuntu 12.04 LTS 64bit
newest updates are installed
If you create a new apache-conf-file in sites-available and you wanna link te conf-file with a2ensite to sites-enabled, the scipt offers you wrong filenames.
>a2ensite <conffile-
>ERROR: Site <conffile-
-> if you do this with the .conf at the end, everything works fine
The files which are sugested do exist, but they are namend with a .conf at the end. a2ensite gives an error back, if you choose the suggested file-named.
I dunno, if this bug is a2ensite or bash-completion.
| Serge Hallyn (serge-hallyn) wrote : | #1 |
| Changed in apache2 (Ubuntu): | |
| status: | New → Confirmed |
| importance: | Undecided → Medium |
| Serge Hallyn (serge-hallyn) wrote : | #2 |
This is done explicitly by _apache2_modsites when it filters its results through 'sed -e 's/[.]conf$//''


Thanks for reporting this bug, verified on my precise box.