Apache destroy httpd-vhost-user.conf on EVERYRESTART

Post your questions about Web Server usage and Apache + PHP + MySQL/SQLite web applications.
Post Reply
Plexa-fci
New here
Posts: 5
Joined: Tue Aug 30, 2016 4:04 am

Apache destroy httpd-vhost-user.conf on EVERYRESTART

Post by Plexa-fci »

Dear friends,

Before i explode please help me to find solution for latest qnap firmware upgrade which
despite notes bring new "upgrade" for managing httpd-vhost-user.conf file

This deadly idea is to ERASE ALL USER changes on every restart


so for example when i edit the httpd-vhosts-user.conf (now i need this
because new firmware also affect apache.conf file and delete on every
restart all additional vhosts links
)

I edit this line to get alias pointing WWW

<VirtualHost *:80>
<Directory "/share/Web/wintermann_eu">
Options FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
Allow from all
</Directory>
ServerName wintermann.eu
ServerAlias http://www.wintermann.eu
DocumentRoot "/share/Web/wintermann_eu"
</VirtualHost>

then after restart ServerAlias http://www.wintermann.eu is DELETED WITHOUT WARNING


and render my website not accessible. !!!


Please help me to understand:

- how to make permament aliases

- how to stop the server to overwrite my things done with WinSCP

- where server stores "original files"


Please dont explain why files were erased or deleted. This is deadly
idea - i dont want to discuss about it. I just want to have solution for
aliases.


Jacek
Post Reply

Return to “Web Server & Applications (Apache + PHP + MySQL / SQLite)”