Re: Problem with Configuring Virtual Host on Apache 2.2.6 Pls Help

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

 



Struggled with this for almost 2 months and finally got it working.

And woeehh i still dont know what was wrong. May be i had wrong module installed, downloaded the latest Apache source, complied it and that solved the issue.

Thanks guys for your help.

Saachin Mandloi,
Manager - Technology,
http://www.takniki.com/
Takniki Communications

--- On Wed, 30/4/08, Saachin Mandloi <coolsaachin@xxxxxxxxxxx> wrote:
From: Saachin Mandloi <coolsaachin@xxxxxxxxxxx>
Subject: Re: [users@httpd] Problem with Configuring Virtual Host on Apache 2.2.6 Pls Help
To: users@xxxxxxxxxxxxxxxx
Date: Wednesday, 30 April, 2008, 10:33 PM

yes they are on 80 and 443 respectively i.e. http on 80 and https on 443


Dragon <dragon@xxxxxxxxxxxxxxxxxx> wrote:
Saachin Mandloi wrote:
>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 on the same site.
>
>Now the https://mysite.com works fine, but when i try to connect to
>open the site through http://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 !!!!!!!!!!
---------------- End original message. ---------------------

What do the Listen directives say for each virtual host?

Your non-SSL should be listening on port 80 and the SSL on 443.



Dragon

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Venimus, Saltavimus, Bibimus (et naribus canium capti sumus)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
" from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



Sent from Yahoo! Mail.
A Smarter Email.


Not happy with your email address?
Get the one you really want - millions of new email addresses available now at Yahoo!
[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux