New answers tagged web-server
0
votes
nginx config fails with SSL key/pem (unique case)
I got this error because I accidentally used the .cer file instead of the .key file in the ssl_certificate_key directive.
0
votes
Apache redirect http://%{HTTP_HOST}:%{SERVER_PORT}/%{REQUEST_URI} to https://%{HTTP_HOST}%{REQUEST_URI}
No need to check the port or if it is SSL, if a requests that is SSL lands here you will get an error since virtualhost won't be able to answer, and virtualhost is already specifying it is port 5555 ...
1
vote
Apache redirect http://%{HTTP_HOST}:%{SERVER_PORT}/%{REQUEST_URI} to https://%{HTTP_HOST}%{REQUEST_URI}
If the Redirect directive is used within a <Location> or <LocationMatch> section with the URL-path omitted, then the URL parameter will be interpreted using expression syntax.
This syntax ...
-2
votes
Apache redirect http://%{HTTP_HOST}:%{SERVER_PORT}/%{REQUEST_URI} to https://%{HTTP_HOST}%{REQUEST_URI}
It looks like you're trying to redirect HTTP requests on port 5555 to HTTPS without an extra slash between the %{HTTP_HOST} and %{REQUEST_URI}. You can achieve this by modifying your RewriteRule ...
Top 50 recent answers are included
Related Tags
web-server × 3302nginx × 554
apache-2.2 × 545
linux × 436
web-hosting × 211
ubuntu × 189
php × 188
iis × 187
security × 167
domain-name-system × 153
apache-2.4 × 128
http × 112
networking × 108
website × 104
ssl × 102
centos × 95
configuration × 93
reverse-proxy × 88
performance × 86
windows × 82
load-balancing × 74
mysql × 73
virtualhost × 72
iis-7 × 70
hosting × 66