title: Apache is redirecting to 443 port
body: <p>Im trying to understand why every time when I request something in my localhost, it redirects to port :443
  eg: localhost/myweb  to  localhost:443/myweb
  Im using xampp</p>
  
  <p>Here it is my httpd.conf:</p>
  
  <pre><code>ServerRoot "C:/xampp/apache"
  
  Listen 80
  
  LoadModule access_compat_module modules/mod_access_compat.so
  LoadModule actions_module modules/mod_actions.so
  LoadModule alias_module modules/mod_alias.so
  LoadModule allowmethods_module modules/mod_allowmethods.so
  LoadModule asis_module modules/mod_asis.so
  LoadModule authn_core_module modules/mod_authn_core.so
  LoadModule authn_file_module modules/mod_authn_file.so
  LoadModule authz_core_module modules/mod_authz_core.so
  LoadModule authz_groupfile_module modules/mod_authz_groupfile.so
  LoadModule authz_host_module modules/mod_authz_host.so
  LoadModule authz_user_module modules/mod_authz_user.so
  LoadModule autoindex_module modules/mod_autoindex.so
  LoadModule cgi_module modules/mod_cgi.so
  LoadModule dav_lock_module modules/mod_dav_lock.so
  LoadModule dav_lock_module modules/mod_dav_lock.so
  LoadModule dir_module modules/mod_dir.so
  LoadModule env_module modules/mod_env.so
  LoadModule include_module modules/mod_include.so
  LoadModule info_module modules/mod_info.so
  LoadModule isapi_module modules/mod_isapi.so
  LoadModule log_config_module modules/mod_log_config.so
  LoadModule cache_disk_module modules/mod_cache_disk.so
  LoadModule mime_module modules/mod_mime.so
  LoadModule negotiation_module modules/mod_negotiation.so
  LoadModule proxy_module modules/mod_proxy.so
  LoadModule proxy_ajp_module modules/mod_proxy_ajp.so
  LoadModule rewrite_module modules/mod_rewrite.so
  LoadModule setenvif_module modules/mod_setenvif.so
  LoadModule socache_shmcb_module modules/mod_socache_shmcb.so
  LoadModule ssl_module modules/mod_ssl.so
  LoadModule status_module modules/mod_status.so
  LoadModule version_module modules/mod_version.so
  
  &lt;IfModule unixd_module&gt;
      User daemon
      Group daemon
  &lt;/IfModule&gt;
  
  ServerAdmin postmaster@localhost
  ServerName localhost:80
  #ServerName localhost:443
  
  &lt;Directory /&gt;
      AllowOverride none
      Require all denied
  &lt;/Directory&gt;
  
  DocumentRoot "C:/xampp/htdocs"
  
  &lt;Directory "C:/xampp/htdocs"&gt;
      Options Indexes FollowSymLinks Includes ExecCGI
      AllowOverride All
      Require all granted
  &lt;/Directory&gt;        
  
  &lt;IfModule dir_module&gt;
      DirectoryIndex index.php index.pl index.cgi index.asp index.shtml index.html index.htm \
                     default.php default.pl default.cgi default.asp default.shtml default.html default.htm \
                     home.php home.pl home.cgi home.asp home.shtml home.html home.htm
  &lt;/IfModule&gt;
  
  &lt;Files ".ht*"&gt;
      Require all denied
  &lt;/Files&gt;
  
  ErrorLog "logs/error.log"
  LogLevel warn
  
  &lt;IfModule log_config_module&gt;
      LogFormat "%h %l %u %t \"%r\" %&gt;s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
      LogFormat "%h %l %u %t \"%r\" %&gt;s %b" common
      &lt;IfModule logio_module&gt;
        LogFormat "%h %l %u %t \"%r\" %&gt;s %b \"%{Referer}i\" \"%{User-Agent}i\" %I %O" combinedio
      &lt;/IfModule&gt;
      CustomLog "logs/access.log" combined
  &lt;/IfModule&gt;
  
  &lt;IfModule alias_module&gt;
      ScriptAlias /cgi-bin/ "C:/xampp/cgi-bin/"
  &lt;/IfModule&gt;
  
  &lt;IfModule cgid_module&gt;
      #Scriptsock cgisock
  &lt;/IfModule&gt;
  
  &lt;Directory "C:/xampp/cgi-bin"&gt;
      AllowOverride All
      Options None
      Require all granted
  &lt;/Directory&gt;
  
  &lt;IfModule headers_module&gt;
      RequestHeader unset Proxy early
  &lt;/IfModule&gt;
  
  &lt;IfModule mime_module&gt;
      TypesConfig conf/mime.types
      AddType application/x-compress .Z
      AddType application/x-gzip .gz .tgz
      AddHandler cgi-script .cgi .pl .asp
      AddType text/html .shtml
      AddOutputFilter INCLUDES .shtml
  &lt;/IfModule&gt;
  
  &lt;IfModule mime_magic_module&gt;
      MIMEMagicFile "conf/magic"
  &lt;/IfModule&gt;
  
  Include conf/extra/httpd-mpm.conf
  Include conf/extra/httpd-multilang-errordoc.conf
  Include conf/extra/httpd-autoindex.conf
  Include conf/extra/httpd-languages.conf
  Include conf/extra/httpd-userdir.conf
  Include conf/extra/httpd-info.conf
  Include conf/extra/httpd-vhosts.conf
  Include "conf/extra/httpd-proxy.conf"
  Include "conf/extra/httpd-default.conf"
  Include "conf/extra/httpd-xampp.conf"
  
  &lt;IfModule proxy_html_module&gt;
  Include conf/extra/proxy-html.conf
  &lt;/IfModule&gt;
  
  Include conf/extra/httpd-ssl.conf
  &lt;IfModule ssl_module&gt;
  SSLRandomSeed startup builtin
  SSLRandomSeed connect builtin
  &lt;/IfModule&gt;
  
  AcceptFilter http none
  AcceptFilter https none
  
  &lt;IfModule mod_proxy.c&gt;
  &lt;IfModule mod_proxy_ajp.c&gt;
  Include "conf/extra/httpd-ajp.conf"
  &lt;/IfModule&gt;
  &lt;/IfModule&gt;
  </code></pre>
  
  <p>Port 443 is commented.
  Sory for my bad english.</p>
  
  <p>.htaccess</p>
  
  <pre><code>&lt;IfModule mod_rewrite.c&gt;
  &lt;IfModule mod_negotiation.c&gt;
      Options -MultiViews
  &lt;/IfModule&gt;
  
  RewriteEngine On
  
  # Redirect Trailing Slashes If Not A Folder...
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteRule ^(.*)/$ /$1 [L,R=301]
  
  # Handle Front Controller...
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteRule ^ index.php [L]
  
  # Handle Authorization Header
  RewriteCond %{HTTP:Authorization} .
  RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
  </code></pre>
  
  <p></p>