RE: how do i redirect web trafic from port 80 to 443

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> -----Original Message-----
> From: Bevan C. Bennett [mailto:bevan@xxxxxxxxxxxxxxxx]
> Sent: Tuesday, January 06, 2004 10:33 AM
> To: fedora-list@xxxxxxxxxx
> Subject: Re: how do i redirect web trafic from port 80 to 443
> 
> 
> Ow Mun Heng wrote:
> 
> > Http is working fine..
> 
> Have you changed the DocumentRoot from the default?
> If so, do you have a separate virtualhost configured for the 
> SSL port (I 

Nope still at default /var/www/html

> 
> <VirtualHost _default_:443>
> 
> SSLEngine on
> 
> SSLCipherSuite 
> ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL
> 
> SSLCertificateFile /etc/httpd/conf/ssl.crt/server.crt
> 
> SSLCertificateKeyFile /etc/httpd/conf/ssl.key/server.key
> 
> <Files ~ "\.(cgi|shtml|phtml|php?)$">
>      SSLOptions +StdEnvVars
> </Files>
> <Directory "/usr/add/www/cgi-bin">
>      SSLOptions +StdEnvVars
> </Directory>
> 
> <VirtualHost *>
>      DocumentRoot /usr/add/www/html
>      ServerName internal.avlsi.com
>      ServerAlias internal www www.internal.avlsi.com
>      Redirect /support/utils/ https://internal/support/utils/
> </VirtualHost>


I have mod_ssl installed but httpd.conf does not seem to have 
loadmodule for mod_ssl

in fact searching through httpd.conf found no occurence of the word ssl or
SSL.
My Httpd.conf snippet

#
# Virtual hosts
#

<VirtualHost my_ip-address>
 	DocumentRoot /var/www/html 

	<Directory "/">
	 	AllowOverride none
 	</Directory> 
	
	<Directory "/var/www/html/">
	 	AllowOverride none
 	</Directory> 
	
	<Directory "/var/www/html/path_to_my_acid_directory/">
#		RewriteEngine	on
#		RewriteCond		%{SERVER_PORT} !^443$
#		RewriteRule		^(.*) https://%{SERVER_NAME}/$1
[L,R,NC]
		AuthType Basic
		AuthName "xxxxx"
		AuthUserFile /var/www/htpassword/xxx
	    Require user xxx	
	</Directory>
 	
 	LogLevel debug
 	
</VirtualHost>




[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux