Tag Info

Hot answers tagged

9

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 ... ...


2

There is something pesky on your DNS answer. The correct one should be: ;; ANSWER SECTION: thepiratebay.se. 84496 IN A 194.71.107.27 It seems that someone is "shadowing" that to you.


1

Looks like your problem might be related to attempting to bind IPV6 address instead of IPV4. Example Apache is trying to bind to ::1 and 127.0.0.1, since you don't have IPv6 configured - it attempts to bind do 127.0.0.1 twice. Solutions: check if localhosts resolves to IPv4 IP (getent hosts localhost) check /etc/hosts and remove any IPv6 adresses if you ...


1

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/(.*) ...


1

Your apache and PHP scripts should be running under the same user. One idea you might come up with (This is garethTheRed's idea) is to create a www-devs group which contains your developers, change the ownership of /www-data to apache:www-devs, and set the mode to 0570. This will result in the web server able to read from the directory, but not write to ...



Only top voted, non community-wiki answers of a minimum length are eligible