Tag Info

New answers tagged

1

When I want test a SSL connection with a website I use openssl Generate the key openssl genrsa -out server.key 1024 Generate csr file openssl req -new -key server.key -out server.csr Generate the certificate openssl x509 -req -days 365 -in server.csr -signkey server.key -out server.crt And now you can use with Apache


0

First, the easier way to enable a modules is with a2enmod So you could do a2enmod rewrite. But that 'file exists' error you're getting probably means its already enabled. Make sure to do an apache2ctl graceful to activate the new config.


0

Solution: remove the /etc/httpd/conf.d/welcome.conf The Apache welcome.conf file has some Alias values that affect the website and cause it to return files from the /usr/share/httpd/ directory instead of the site directory: Alias /.noindex.html /usr/share/httpd/noindex/index.html Alias /css/bootstrap.min.css /usr/share/httpd/noindex/css/bootstrap.min.css ...


0

There's two reasons for the Chrome browser showing the yellow warning icon associated with your security status: Certificate strength (and algorithm used); Mixed content warnings - serving HTTP over HTTPS A good test to check #1 is the Qualys SSL Test. Chrome developer tools will show if there's any insecure content for #2. When I checked the URL you ...


0

There is an answer on http://stackoverflow.com/questions/1726860/apache-authentication-redirect-on-failure-reliably Basically you send a html file as error document that does a redirect to your placeholder page: <Location "/protected"> AuthUserFile /path/to/users AuthName "This is protected area" AuthGroupFile /dev/null AuthType Basic ...


0

I wasn't convinced this would work, but I've tested it and it does seem to. Quite simply: ^.{0}$ Where: ^ is the start of the match . is any character (except newline) {0} is precisely zero times $ is the end of the match



Top 50 recent answers are included