Jump to content

Problem with Configuring Virtual Host on Apache 2.2.6


SamOnWeb

Recommended Posts

Hi,

 

I recently installed Fedora core 8 and planning to move my site to this recently installed server. This has apache 2.2.6

bundled.

 

I added a new virtual host contained in httpd.conf to start the IP based http services for my site. Which was working fine.

 

Later on i added another virtual host container in ssl.conf to start using https services for the same site.

 

Now the https://www.mysite.com works fine, but when i try to connect to the site through http://www.mysite.com it returns

an error which is below

 

Bad Request

Your browser sent a request that this server could not understand.

Reason: You're speaking plain HTTP to an SSL-enabled server port.

Instead use the HTTPS scheme to access this URL, please.

  Hint: https://www.mysite.com

 

The website should be reachable with both http and https. Am i doing something wrong? Which directive has to be set to

 

get both working?

 

PLEASE HELP !!!!!!!!!!

 

SAM

 

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.