Apache serving when 000-default.conf is disabled

Apache is still serving from 000-default even after I removed from site-enabled using a2dissite 000-default.conf My apache version is 2.4.7 and I am running ubuntu. Apache is still behaving the same way as I have configured previously. Answer If you don’t have any virtual hosts defined/configured, Apache will still serve the requests using its default … Read more

Is there an Nginx command to using the default conf?

To use the Nginx default conf (sites-available/default) one needs to uncomment all relevant lines in that file. To avoid manual uncommenting each time I install a new server environment on a new machine, what I did was to make myself a copy of the uncommented default conf, and each time I just paste it, or … Read more

How to change grub defaults?

I’ve got Ubuntu 10.04 and Grub 0.97, I’ve created /etc/default/grub (according to example in menu.lst): defoptions= howmany=all But every-time when update-grub is executed quite splash is appended as kernel parameter. I cannot find out why this happens even if created default file and the file is title Ubuntu 10.04.1 LTS, kernel 2.6.32-28-generic-pae uuid c90f570d-b8a0-4c2e-a285-47905d46d3ce kernel … Read more

how to “reset” the whole /etc/apache2/ to factory defaults in SLES 11?

i got a SLES 11 sp3 Server where the whole /etc/apache2 seems to be messed up. If like to reset the whole thing to what i call “SuSE’s factory defaults” so i can start over. Any quick tip ? Answer This solved my Problem: zypper remove apache2-utils apache2-prefork apache2-example-pages apache2-doc apache2 zypper install apache2-utils apache2-prefork … Read more

phpinfo shows difference between Local and Master Values of default_charset

Here us there is a difference in the local default_charset than the master’s. Is there a way to find the source of the change of each? Especially the local? So it shows the path of the file that is changing that value? My server details are: PHP Version 5.6.39-1+ubuntu16.04.1+deb.sury.org+1 Answer PHP automatically sets the charset … Read more

How do I make my default GW route permanently on Linux Ubuntu?

I have 2 EC2 instances that run Ubuntu (VM1: 172.0.1.11 and VM2: 172.2.1.12). I want to make a default Gateway to my Routers R1which its addresses are the following respectively 172.0.1.8and 172.2.1.13. In VM1: I did sudo ip route add default via 172.0.1.8. On the other side, in VM2: sudo ip route add default via … Read more

Correct default SSL config on apache

I have a number of virtuals hosts serving sites from apache. Each site has it’s own config file and many have SSL certificates setup. 00_default.conf file <VirtualHost *:80> points to a static 404 type page This all works well… My problem is if you visit a site in https mode that doesn’t have have SSL … Read more

Why does (Chromium) Microsoft Edge get to skip past Default App’s screen? When every other app can’t?

Most browsers on launch check if they are the ‘default browser’ & when they are not they prompt you to make them the default (‘pick me pick me!‘). In Chrome when you click ‘Set as default’ while using Windows 10 you are brought to the Settings, Default Apps screen in which you can set the … Read more

Setting defaults in sudoers

I’m trying to set the Defaults in an appropriate way for the pdebuild usage. I’ve got the command alias defined: Cmnd_Alias PBUILDER = /usr/sbin/pbuilder, /usr/bin/pdebuild, /usr/bin/debuild-pbuilder and I’m trying to set the defaults only for that one: Defaults env_reset Defaults!PBUILDER env_keep=”DIST ARCH” This fails with syntax error on the line with env_reset. When I comment … Read more