How can I make a virtual host accept multiple domains? [closed]
Yes. Use the ServerAlias directive alongside the ServerName directive.
Yes. Use the ServerAlias directive alongside the ServerName directive.
Remove the line: WSGIDaemonProcess mydomain user=myuser group=mygroup processes=1 threads=1 from the VirtualHost for 443. The WSGIProcessGroup for mydomain in that VirtualHost is able to reach across to the WSGIDaemonProcess definition in 80. In other words, as the error message tries to suggest, the name for the WSGIDaemonProcess, ie., ‘mydomain’, must be unique for the whole … Read more
I found the bug report: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=730372 The report was filed after this mailing list discussion: https://lists.debian.org/debian-devel/2012/04/msg00301.html Summary: Site admins usually place sites in /var/www/site.com and there may be sensitive data in /var/www that should not be made available via a web server. All web servers on Debian have been updated to use /var/www/html as default … Read more
just add su root adm to the config file: /var/log/apache2/*.log { # … su root adm }
httpd -V then look for the Server MPM line. Example: # httpd -V Server version: Apache/2.2.15 (Unix) Server built: Aug 2 2013 08:02:15 Server’s Module Magic Number: 20051115:25 Server loaded: APR 1.3.9, APR-Util 1.3.9 Compiled using: APR 1.3.9, APR-Util 1.3.9 Architecture: 64-bit Server MPM: Prefork threaded: no forked: yes (variable process count) Server compiled with…. … Read more
SIGWINCH As a matter of fact, @Stefano is right: SIGWINCH means SIGNAL WINDOWS CHANGE and is sent automatically when a terminal detects a change in it’s windows size to allow for a redraw. SIGWINCH for apache2 But unfortunately apache2 process poorly misuses this signal (in the way they divert its first meaning), but for their … Read more
If anybody wants to make it run on local machine then adding this to server REPO/.hg/hgrc will do the work: [web] allow_push = * push_ssl = false as described at this site.
.htpasswd entries are HASHES. They are not encrypted passwords. Hashes are designed not to be decryptable. Hence there is no way (unless you bruteforce for a loooong time) to get the password from the .htpasswd file. What you need to do is apply the same hash algorithm to the password provided to you and compare … Read more
Most likely your sushosin updated, which changed the default of suhosin.memory_limit from disabled to 0 (which won’t allow any updates to memory_limit). On Debian, change /etc/php5/conf.d/suhosin.ini ;suhosin.memory_limit = 0 to suhosin.memory_limit = 2G Or whichever value you are comfortable with. You can find the changelog of Sushosin at http://www.hardened-php.net/hphp/changelog.html, which says: Changed the way the … Read more
Your question is mixing a few different concepts. You started out saying you wanted to run sites on the same server using the same domain, but in different folders. That doesn’t require any special setup. Once you get the single domain running, you just create folders under that docroot. Based on the rest of your … Read more