|
|
|
|
||||||
| alt.apache.configuration Apache web server configuration issues. |
![]() |
|
|
LinkBack | Outils de la discussion |
|
|
#1 |
|
Messages: n/a
Hébergeur: |
How to configure Apache2 (HTTPS) in SUSE 10.2 ?
How to configure YAST -> Http Server ? https://localhost (not work) http://localhost:443 (it works) Best Regards Przemek |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
On Feb 15, 1:52 am, Przemek <p.kubi...@spamel.com.pl> wrote:
> How to configure Apache2 (HTTPS) in SUSE 10.2 ? > > How to configure YAST -> Http Server ? > > https://localhost(not work)http://localhost:443(it works) > > Best Regards > Przemek I assume you want to force all requests to use https? In httpd.conf you can use rewrites to force non https (non port 443) to https. # Force HTTPS for all content on this server RewriteEngine On RewriteCond %{SERVER_PORT} !^443$ RewriteRule ^.*$ https://%{SERVER_NAME}%{REQUEST_URI} [L,R] |
|
![]() |
| Outils de la discussion | |
|
|