Inadvertently overwrote the contents of the default-ssl.conf file right after I installed apache2.  D'OH !!  Yes, I see the same request here [] BUT that was 3 years ago. In case the contents have changed, can someone please oblige me with a more recent version ?  Thanks kindly in advance.
121269
I need that file's (/etc/apache2/sites-available/default-ssl) contents or a way to get it back. I deleted it.
82996
I can stop it using  /etc/init.d/apache2 stop   But when I want to start it again using:  /etc/init.d/apache2 start   I get this error:  Starting web server apache2                                                  /usr/sbin/apache2ctl: 87: ulimit: error setting limit (Operation not permitted) apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName (13)Permission denied: make_sock: could not bind to address [::]:80 (13)Permission denied: make_sock: could not bind to address 0.0.0.0:80 no listening sockets available, shutting down Unable to open logs Action 'start' failed. The Apache error log may have more information.                                                                          [fail]
40016
In preparation for the eventual deployment of full HTTPS support on Stack Exchange, and also to make the currently available "alpha" HTTPS support more usable, all links from Stack Exchange sites to other Stack Exchange sites should be .  Currently, at least the following places still feature links with explicit http: protocol prefixes:   the page footer, the "Hot Network Questions" and "Community Bulletin" modules in the sidebar,  (the site switcher menu is OK, though),   and, of course,   lots and lots of user-supplied links in post and comment content.   I've posted this feature request with the intent to provide a single central place for tracking these issues, rather than having them scattered across multiple meta threads.  If you find more places on SE where protocol-relative links should be used, please report them below.  I fully expect this request, in its full sense, to be treated as  for the time being; however, these issues do need to be fixed at some point before our HTTPS support is ready for "prime time".  Ps. Yes, the next release of  (v1.10) is going to include a general client-side fix for most of these issues.  In the mean time, the  plugin effectively provides the same functionality, and much more besides.
61674
I've tried to install PHP and Apache2, however when I access the file, it just shows a blank page.  I've installed the packages php, apache2, php-mysql (and some others)  I've already tried pretty much everything that I could find on the Internet.  I'm sorry if I'm not providing enough info, I will give any info that I can.
94185
I don't know what is going on. I double value for worker connections but it still return error.  server { server_name xxx.com;  root /var/www/web; index index.html index.htm index.php; error_log /var/log/nginx/error.log; location / { proxy_http_version 1.1; proxy_set_header   Host $http_host; proxy_set_header   X-Real-IP $remote_addr; proxy_set_header   Upgrade $http_upgrade; proxy_set_header   Connection "upgrade"; proxy_cache_bypass $http_upgrade; proxy_pass         http://127.0.0.1:7777; }        listen 443 ssl; # managed by Certbot     ssl_certificate /etc/letsencrypt/live/xxx.com/fullchain.pem; # managed by Certbot     ssl_certificate_key /etc/letsencrypt/live/xxx.com/privkey.pem; # managed by Certbot     include /etc/letsencrypt/options-ssl-nginx.conf; # managed by Certbot     ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # managed by Certbot  } server {     listen 80;     server_name xxx.com;     return 301 https://$host$request_uri; # managed by Certbot  }   Everything is okej with this code?  ERROR:  Firstly was:  worker_connections are not enough worker_connections are not enough   Now is  27513#0: accept4() failed (24: Too many open files) 27513#0: accept4() failed (24: Too many open files) 27513#0: accept4() failed (24: Too many open files) 27513#0: accept4() failed (24: Too many open files)
104519
Not sure if this belongs here or at serverfault...  I've seen websites where, to login to the website, requires a digital certificate to be installed for the user logging in. As far as I can tell, this certificate is in addition to the website using an SSL certificate (https)  I'm just looking to be pointed in the right direction on how to code for this (apache / php hopefully), who issues these certificates (must it be a trusted var or can I ?) or even what to search for via google.  -Mario
102160
When I restart httpd, I get the following error.  What am I missing?  [root@localhost ~]# service httpd restart Stopping httpd:                                            [  OK  ] Starting httpd: Syntax error on line 22 of /etc/httpd/conf.d/sites.conf: Invalid command 'SSLEngine', perhaps misspelled or defined by a module not included in the server configuration   I have installed mod_ssl using yum install mod_ssl openssh  Package 1:mod_ssl-2.2.15-15.el6.centos.x86_64 already installed and latest version Package openssh-5.3p1-70.el6_2.2.x86_64 already installed and latest version   My sites.conf looks like this  &lt;VirtualHost *:80&gt; #    ServerName shop.itmanx.com     ServerAdmin webmaster@itmanx.com      DocumentRoot /var/www/html/magento     &lt;Directory /var/www/html&gt;         Options -Indexes         AllowOverride All     &lt;/Directory&gt;      ErrorLog logs/shop-error.log     CustomLog logs/shop-access.log &lt;/VirtualHost&gt;  &lt;VirtualHost *:443&gt;     ServerName secure.itmanx.com     ServerAdmin webmaster@itmanx.com      SSLEngine on     SSLCertificateFile /etc/httpd/ssl/secure.itmanx.com/server.crt     SSLCertificateKeyFile /etc/httpd/ssl/secure.itmanx.com/server.key     SSLCertificateChainFile /etc/httpd/ssl/secure.itmanx.com/chain.crt      DocumentRoot /var/www/html/magento     &lt;Directory /var/www/html&gt;         Options -Indexes         AllowOverride All     &lt;/Directory&gt;      ErrorLog logs/shop-ssl-error.log     CustomLog logs/shop-ssl-access.log     &lt;/VirtualHost&gt;
106048
I am responsible for maintaining two Debian servers. Every time I have to do anything with security certificates, I Google for tutorials and beat away until it finally works.  However, in my searches I often come across different file formats (.key, .csr, .pem) but I've never been able to find a good explanation of what each file format's purpose is.  I was wondering if the good folks here at ServerFault could provide some clarification on this matter?
84890
I have changed the configuration of Apache to point towards a folder in my home directory:  &lt;VirtualHost *:80&gt;     ServerAdmin webmaster@localhost      DocumentRoot /home/dbugger/html      &lt;Directory /&gt;         Options FollowSymLinks         AllowOverride None     &lt;/Directory&gt;     &lt;Directory /home/dbugger/html/&gt;         Options Indexes FollowSymLinks MultiViews         AllowOverride None         Order allow,deny         allow from all     &lt;/Directory&gt;      ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/     &lt;Directory "/usr/lib/cgi-bin"&gt;         AllowOverride None         Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch         Order allow,deny         Allow from all     &lt;/Directory&gt;      ErrorLog ${APACHE_LOG_DIR}/error.log      # Possible values include: debug, info, notice, warn, error, crit,     # alert, emerg.     LogLevel warn      CustomLog ${APACHE_LOG_DIR}/access.log combined      Alias /doc/ "/usr/share/doc/"     &lt;Directory "/usr/share/doc/"&gt;         Options Indexes MultiViews FollowSymLinks         AllowOverride None         Order deny,allow         Deny from all         Allow from 127.0.0.0/255.0.0.0 ::1/128     &lt;/Directory&gt;  &lt;/VirtualHost&gt;   I have even given my /home/dbugger/html permission 777. But I still keep getting the same error message at http://localhost: "403 Forbidden"  What is it that I am missing?
29469
When I restart my Apache server using the command  sudo /etc/init.d/apache2 restart   I get the following error:  Restarting web server apache2 apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName ... waiting apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName   Is the server using 127.0.1.1 instead of 127.0.0.1? What causes this error?
23303
Is there a log file that logs information when the values set in /etc/security/limits.conf are exceeded?  If not is there a way to make it log when the values are exceeded?
105909
I need to disable SSL browsing completely in Chrome.  If not completely, at least disable  and force  to load, FOR EXAMPLE (FB is just an example - i understand that TODAY it does not permit non-secure browsing).
71110
My website work only if I run:     domain.com:44400   How to set port 44400 as the default in Apache?  I need have access by domain.com not domain.com:44400
100440
Not that it's a very good idea to change it, but for fun. According to  post, there are still some problems even after changing entries in /etc/passwd, /etc/shadow, and /etc/sudoers. Any suggestions?
10988
How do I stop Apache2 from automatically starting on boot? I can't seem to find an option that disables the automatic start-up when I turn on the machine.
82372
After the  and , now I've heard about a new vulnerability in SSL/TLS called . How do I protect myself against being exploited?   Are only servers or also clients affected? Is this OpenSSL/GnuTLS specific? What kind of services are affected? Only HTTPS or also IMAPS, SMTPS, OpenVPN, etc.?   Please show me examples on how to avoid this vulnerability.
69484
As title says,  I want to set my apache to listen on 443, and will configure SSL.   So, My Question  is :-  1). Does that mean, i will not have port 80 or any other port which is no ssl ? 2). My site can only be accessed via https and no http ? Thanks