Hot answers tagged apache
I had the same problem... You have to include SSLProtocol all -SSLv2 -SSLv3 within every VirtualHost stanza in httpd.conf The VirtualHost stanzas are generally towards the end of the httpd.conf file. So for example: ... ... <VirtualHost your.website.example.com:443> DocumentRoot /var/www/directory ServerName your.website.example.com ... ...
Port 443 is HTTPS. From your netstat output: tcp6 0 0 [::]:https [::]:* LISTEN It is clear that a process is listening on port 443. To confirm whether the above is Apache (httpd) process, it is important to run the command as root. Use ss instead as netstat is deprecated: # ss -tlnp
Did you enable mod_ssl? Since you're running Debian, this is the way to do it (run as root, or via sudo): a2enmod ssl
Try change order: Redirect 301 /foo/bar http://www.domain.com/ok Redirect 301 /foo http://www.domain.com/ok Also look at mod_rewrite: http://httpd.apache.org/docs/current/mod/mod_alias.html #With mod_rewrite RewriteEngine on RewriteRule ^/docs/(.+) http://new.example.com/docs/$1 [R,L] #With RedirectMatch RedirectMatch ^/docs/(.*) ...
Only top voted, non community-wiki answers of a minimum length are eligible