<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Invalid method in request \x16\x03\x01</title>
	<atom:link href="http://mochabomb.com/blog/invalid-method-in-request-x16x03x01/feed/" rel="self" type="application/rss+xml" />
	<link>http://mochabomb.com/blog/invalid-method-in-request-x16x03x01/</link>
	<description>Web Design and Technical notes</description>
	<lastBuildDate>Fri, 06 Jan 2012 18:20:31 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: rahulwandile</title>
		<link>http://mochabomb.com/blog/invalid-method-in-request-x16x03x01/comment-page-1/#comment-57762</link>
		<dc:creator>rahulwandile</dc:creator>
		<pubDate>Fri, 24 Sep 2010 19:15:44 +0000</pubDate>
		<guid isPermaLink="false">http://mochabomb.com/blog/invalid-method-in-request-x16x03x01/#comment-57762</guid>
		<description>i solved by using 
NameVirtualHost *:443
and 
 
in th essl configuration.</description>
		<content:encoded><![CDATA[<p>i solved by using<br />
NameVirtualHost *:443<br />
and </p>
<p>in th essl configuration.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: nagxxi</title>
		<link>http://mochabomb.com/blog/invalid-method-in-request-x16x03x01/comment-page-1/#comment-3791</link>
		<dc:creator>nagxxi</dc:creator>
		<pubDate>Wed, 11 Feb 2009 03:26:03 +0000</pubDate>
		<guid isPermaLink="false">http://mochabomb.com/blog/invalid-method-in-request-x16x03x01/#comment-3791</guid>
		<description>Hello:

In this site have a solution in Debian:

http://www.ianmiller.net/article.php?id=13</description>
		<content:encoded><![CDATA[<p>Hello:</p>
<p>In this site have a solution in Debian:</p>
<p><a href="http://www.ianmiller.net/article.php?id=13" rel="nofollow">http://www.ianmiller.net/article.php?id=13</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matthew</title>
		<link>http://mochabomb.com/blog/invalid-method-in-request-x16x03x01/comment-page-1/#comment-3479</link>
		<dc:creator>Matthew</dc:creator>
		<pubDate>Wed, 28 Jan 2009 23:09:18 +0000</pubDate>
		<guid isPermaLink="false">http://mochabomb.com/blog/invalid-method-in-request-x16x03x01/#comment-3479</guid>
		<description>I ran into this problem with ssl enabled on apache 2, I just hadn&#039;t symlinked in my vhost config to the sites-available dir.

So, apache was told to listen on 443, however had no config to tell it to do the ssl protocal, confusing ie.

IE&#039;s error pages are never helpful, atleast FF give you an explanation to the problem!</description>
		<content:encoded><![CDATA[<p>I ran into this problem with ssl enabled on apache 2, I just hadn&#8217;t symlinked in my vhost config to the sites-available dir.</p>
<p>So, apache was told to listen on 443, however had no config to tell it to do the ssl protocal, confusing ie.</p>
<p>IE&#8217;s error pages are never helpful, atleast FF give you an explanation to the problem!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Cohen</title>
		<link>http://mochabomb.com/blog/invalid-method-in-request-x16x03x01/comment-page-1/#comment-3180</link>
		<dc:creator>Cohen</dc:creator>
		<pubDate>Tue, 11 Nov 2008 15:08:47 +0000</pubDate>
		<guid isPermaLink="false">http://mochabomb.com/blog/invalid-method-in-request-x16x03x01/#comment-3180</guid>
		<description>Ta, worked for me after reading the comments. I wanted the same domain to work using either http or https. I&#039;d left the http (port 80) virtual host using the https (port 443) IP address.. which obviously wouldn&#039;t work!</description>
		<content:encoded><![CDATA[<p>Ta, worked for me after reading the comments. I wanted the same domain to work using either http or https. I&#8217;d left the http (port 80) virtual host using the https (port 443) IP address.. which obviously wouldn&#8217;t work!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: gregg</title>
		<link>http://mochabomb.com/blog/invalid-method-in-request-x16x03x01/comment-page-1/#comment-1751</link>
		<dc:creator>gregg</dc:creator>
		<pubDate>Thu, 08 May 2008 09:52:45 +0000</pubDate>
		<guid isPermaLink="false">http://mochabomb.com/blog/invalid-method-in-request-x16x03x01/#comment-1751</guid>
		<description>Hi Tex,

Telnet to that host: telnet 192.168.0.48 443

If you get &quot;Escape character is &#039;^]&#039;.&quot; its running fine, if not then port 443 is not active..
Just as a test try port 444 and you should get an error.. 

For the virtualhost directive, *443 - not sure about this, I have it set per IP:
   ( VirtualHost 2.2.2.3:443 )
and it working great

Not sure whats up with pastebin - files are not loading...</description>
		<content:encoded><![CDATA[<p>Hi Tex,</p>
<p>Telnet to that host: telnet 192.168.0.48 443</p>
<p>If you get &#8220;Escape character is &#8216;^]&#8217;.&#8221; its running fine, if not then port 443 is not active..<br />
Just as a test try port 444 and you should get an error.. </p>
<p>For the virtualhost directive, *443 &#8211; not sure about this, I have it set per IP:<br />
   ( VirtualHost 2.2.2.3:443 )<br />
and it working great</p>
<p>Not sure whats up with pastebin &#8211; files are not loading&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tex</title>
		<link>http://mochabomb.com/blog/invalid-method-in-request-x16x03x01/comment-page-1/#comment-1750</link>
		<dc:creator>Tex</dc:creator>
		<pubDate>Thu, 08 May 2008 08:26:48 +0000</pubDate>
		<guid isPermaLink="false">http://mochabomb.com/blog/invalid-method-in-request-x16x03x01/#comment-1750</guid>
		<description>When I try to connect via the command line with openssl, I got the following error:
 ~ $ openssl s_client -connect 192.168.0.48:443
CONNECTED(00000003)
4796:error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol:s23_clnt.c:567:</description>
		<content:encoded><![CDATA[<p>When I try to connect via the command line with openssl, I got the following error:<br />
 ~ $ openssl s_client -connect 192.168.0.48:443<br />
CONNECTED(00000003)<br />
4796:error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol:s23_clnt.c:567:</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tex</title>
		<link>http://mochabomb.com/blog/invalid-method-in-request-x16x03x01/comment-page-1/#comment-1748</link>
		<dc:creator>Tex</dc:creator>
		<pubDate>Thu, 08 May 2008 07:26:08 +0000</pubDate>
		<guid isPermaLink="false">http://mochabomb.com/blog/invalid-method-in-request-x16x03x01/#comment-1748</guid>
		<description>@Matt, I actually am getting the 12263 error in Firefox.

@gregg, I do not have the ports.conf file. I am on Solaris 9 and it looks like there is no such a  file.

Here is my httpd.conf file:
http://pastebin.com/f7ade1930

On the line 461, I include this  vhost file:
http://pastebin.com/f5e50538e

And on line 480, I include this ssl file:
http://pastebin.com/f30bfba70

Thanks for your help,
Tex</description>
		<content:encoded><![CDATA[<p>@Matt, I actually am getting the 12263 error in Firefox.</p>
<p>@gregg, I do not have the ports.conf file. I am on Solaris 9 and it looks like there is no such a  file.</p>
<p>Here is my httpd.conf file:<br />
<a href="http://pastebin.com/f7ade1930" rel="nofollow">http://pastebin.com/f7ade1930</a></p>
<p>On the line 461, I include this  vhost file:<br />
<a href="http://pastebin.com/f5e50538e" rel="nofollow">http://pastebin.com/f5e50538e</a></p>
<p>And on line 480, I include this ssl file:<br />
<a href="http://pastebin.com/f30bfba70" rel="nofollow">http://pastebin.com/f30bfba70</a></p>
<p>Thanks for your help,<br />
Tex</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: gregg</title>
		<link>http://mochabomb.com/blog/invalid-method-in-request-x16x03x01/comment-page-1/#comment-1744</link>
		<dc:creator>gregg</dc:creator>
		<pubDate>Thu, 08 May 2008 03:05:03 +0000</pubDate>
		<guid isPermaLink="false">http://mochabomb.com/blog/invalid-method-in-request-x16x03x01/#comment-1744</guid>
		<description>All angle brackets replaced by double parenthesis: ((. First, ports.conf:

Listen 80
((IfModule mod_ssl.c((
    Listen 443
((/IfModule((


A non-SSL virtual host, in the sites-available directory:

((VirtualHost *:80((
        ServerName www.mydomain.com
        ServerAlias mydomain.com
        ServerAdmin m@mydomain.ca 
        DocumentRoot /var/www/mydomain
        ((Directory /var/www/mydomain/((
                Options Indexes FollowSymLinks MultiViews
                AllowOverride All
                Order allow,deny
                allow from all
        ((/Directory((
        ErrorLog /var/log/apache2/mydomain/error.log
        LogLevel warn
        CustomLog /var/log/apache2/mydomain/access.log combined
        ServerSignature On
((/VirtualHost((


and the SSL-enabled file for the same site, also in the sites-available directory:

NameVirtualHost	*:443
((VirtualHost *:443((
        ServerName www.mydomain.com
        ServerAlias mydomain.com
        ServerAdmin m@mydomain.ca 

        DocumentRoot /var/www/mydomain
        ((Directory /var/www/mydomain/&quot;
                Options Indexes FollowSymLinks MultiViews
                AllowOverride All
                Order allow,deny
                allow from all
        ((/Directory((

        ErrorLog /var/log/apache2/mydomain/error.log
        LogLevel warn
        CustomLog /var/log/apache2/mydomain/access.log combined
        ServerSignature On
	SSLEngine	on
	SSLCertificateFile	/etc/apache2/ssl/server.crt
	SSLCertificateKeyFile	/etc/apache2/ssl/server.key
	SSLProtocol	all
	SSLCipherSuite	HIGH:MEDIUM
((/VirtualHost((</description>
		<content:encoded><![CDATA[<p>All angle brackets replaced by double parenthesis: ((. First, ports.conf:</p>
<p>Listen 80<br />
((IfModule mod_ssl.c((<br />
    Listen 443<br />
((/IfModule((</p>
<p>A non-SSL virtual host, in the sites-available directory:</p>
<p>((VirtualHost *:80((<br />
        ServerName <a href="http://www.mydomain.com" rel="nofollow">http://www.mydomain.com</a><br />
        ServerAlias mydomain.com<br />
        ServerAdmin <a href="mailto:m@mydomain.ca">m@mydomain.ca</a><br />
        DocumentRoot /var/www/mydomain<br />
        ((Directory /var/www/mydomain/((<br />
                Options Indexes FollowSymLinks MultiViews<br />
                AllowOverride All<br />
                Order allow,deny<br />
                allow from all<br />
        ((/Directory((<br />
        ErrorLog /var/log/apache2/mydomain/error.log<br />
        LogLevel warn<br />
        CustomLog /var/log/apache2/mydomain/access.log combined<br />
        ServerSignature On<br />
((/VirtualHost((</p>
<p>and the SSL-enabled file for the same site, also in the sites-available directory:</p>
<p>NameVirtualHost	*:443<br />
((VirtualHost *:443((<br />
        ServerName <a href="http://www.mydomain.com" rel="nofollow">http://www.mydomain.com</a><br />
        ServerAlias mydomain.com<br />
        ServerAdmin <a href="mailto:m@mydomain.ca">m@mydomain.ca</a> </p>
<p>        DocumentRoot /var/www/mydomain<br />
        ((Directory /var/www/mydomain/&#8221;<br />
                Options Indexes FollowSymLinks MultiViews<br />
                AllowOverride All<br />
                Order allow,deny<br />
                allow from all<br />
        ((/Directory((</p>
<p>        ErrorLog /var/log/apache2/mydomain/error.log<br />
        LogLevel warn<br />
        CustomLog /var/log/apache2/mydomain/access.log combined<br />
        ServerSignature On<br />
	SSLEngine	on<br />
	SSLCertificateFile	/etc/apache2/ssl/server.crt<br />
	SSLCertificateKeyFile	/etc/apache2/ssl/server.key<br />
	SSLProtocol	all<br />
	SSLCipherSuite	HIGH:MEDIUM<br />
((/VirtualHost((</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: gregg</title>
		<link>http://mochabomb.com/blog/invalid-method-in-request-x16x03x01/comment-page-1/#comment-1740</link>
		<dc:creator>gregg</dc:creator>
		<pubDate>Wed, 07 May 2008 17:30:02 +0000</pubDate>
		<guid isPermaLink="false">http://mochabomb.com/blog/invalid-method-in-request-x16x03x01/#comment-1740</guid>
		<description>Could you post what your config files - without the angle brackets - (need to fix this)</description>
		<content:encoded><![CDATA[<p>Could you post what your config files &#8211; without the angle brackets &#8211; (need to fix this)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt</title>
		<link>http://mochabomb.com/blog/invalid-method-in-request-x16x03x01/comment-page-1/#comment-1739</link>
		<dc:creator>Matt</dc:creator>
		<pubDate>Wed, 07 May 2008 16:00:28 +0000</pubDate>
		<guid isPermaLink="false">http://mochabomb.com/blog/invalid-method-in-request-x16x03x01/#comment-1739</guid>
		<description>If you&#039;re not getting the 12263 error, then it&#039;s probably a different problem. My quick googling suggests that you might try playing with the Listen directive (add something like &quot;Listen example.com:443) and the NameVirtualHost directive.

Maybe you could try finding a set of normal non-SSL configuration files, then changing all references of port 80 to 443.</description>
		<content:encoded><![CDATA[<p>If you&#8217;re not getting the 12263 error, then it&#8217;s probably a different problem. My quick googling suggests that you might try playing with the Listen directive (add something like &#8220;Listen example.com:443) and the NameVirtualHost directive.</p>
<p>Maybe you could try finding a set of normal non-SSL configuration files, then changing all references of port 80 to 443.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tex</title>
		<link>http://mochabomb.com/blog/invalid-method-in-request-x16x03x01/comment-page-1/#comment-1738</link>
		<dc:creator>Tex</dc:creator>
		<pubDate>Wed, 07 May 2008 15:41:29 +0000</pubDate>
		<guid isPermaLink="false">http://mochabomb.com/blog/invalid-method-in-request-x16x03x01/#comment-1738</guid>
		<description>I have only one virtual host file included with one virtual host in it and the port is specified as you explained. During the startup, I have the following warn message : &quot;You configured HTTP(80) on the standard HTTPS(443) port&quot; so it looks like there is a non ssl instance stealing my 433 port ...

Tex</description>
		<content:encoded><![CDATA[<p>I have only one virtual host file included with one virtual host in it and the port is specified as you explained. During the startup, I have the following warn message : &#8220;You configured HTTP(80) on the standard HTTPS(443) port&#8221; so it looks like there is a non ssl instance stealing my 433 port &#8230;</p>
<p>Tex</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt</title>
		<link>http://mochabomb.com/blog/invalid-method-in-request-x16x03x01/comment-page-1/#comment-1737</link>
		<dc:creator>Matt</dc:creator>
		<pubDate>Wed, 07 May 2008 15:19:48 +0000</pubDate>
		<guid isPermaLink="false">http://mochabomb.com/blog/invalid-method-in-request-x16x03x01/#comment-1737</guid>
		<description>It looks like whenever you put things in angle brackets, the text disappears.

Some of my virtual host files had (in angle brackets) as the top line: &quot;VirtualHost *&quot; instead of &quot;VirtualHost *:80&quot;. The ones that I wanted SSH-enabled had &quot;VirtualHost *:443&quot;. This setup caused problems.

Once I changed the all the &quot;VirtualHost *&quot; lines to &quot;VirtualHost *:80&quot;, and made sure that :443  was in the secure hosts, the problem went away. Now all my virtual host files have *:N, where N is the port I want it to answer to - none of them have * alone.

As I mentioned above, I think that the virtual host files with the * matcher were more general, and so grabbed the incoming sessions first. However, since they didn&#039;t have any SSL commands (engine on, key files, etc.), they didn&#039;t know what to do with the browser&#039;s SSL-related requests, so they sent an error.</description>
		<content:encoded><![CDATA[<p>It looks like whenever you put things in angle brackets, the text disappears.</p>
<p>Some of my virtual host files had (in angle brackets) as the top line: &#8220;VirtualHost *&#8221; instead of &#8220;VirtualHost *:80&#8243;. The ones that I wanted SSH-enabled had &#8220;VirtualHost *:443&#8243;. This setup caused problems.</p>
<p>Once I changed the all the &#8220;VirtualHost *&#8221; lines to &#8220;VirtualHost *:80&#8243;, and made sure that :443  was in the secure hosts, the problem went away. Now all my virtual host files have *:N, where N is the port I want it to answer to &#8211; none of them have * alone.</p>
<p>As I mentioned above, I think that the virtual host files with the * matcher were more general, and so grabbed the incoming sessions first. However, since they didn&#8217;t have any SSL commands (engine on, key files, etc.), they didn&#8217;t know what to do with the browser&#8217;s SSL-related requests, so they sent an error.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tex</title>
		<link>http://mochabomb.com/blog/invalid-method-in-request-x16x03x01/comment-page-1/#comment-1736</link>
		<dc:creator>Tex</dc:creator>
		<pubDate>Wed, 07 May 2008 15:09:20 +0000</pubDate>
		<guid isPermaLink="false">http://mochabomb.com/blog/invalid-method-in-request-x16x03x01/#comment-1736</guid>
		<description>Hello,
Matt, I have the same problem but your explanation is not really clear. Could you explain again how you solved this problem ?

Regards,
Tex</description>
		<content:encoded><![CDATA[<p>Hello,<br />
Matt, I have the same problem but your explanation is not really clear. Could you explain again how you solved this problem ?</p>
<p>Regards,<br />
Tex</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt</title>
		<link>http://mochabomb.com/blog/invalid-method-in-request-x16x03x01/comment-page-1/#comment-1706</link>
		<dc:creator>Matt</dc:creator>
		<pubDate>Sat, 03 May 2008 16:54:08 +0000</pubDate>
		<guid isPermaLink="false">http://mochabomb.com/blog/invalid-method-in-request-x16x03x01/#comment-1706</guid>
		<description>I had the same problem, but in addition I was getting error 12263 in Firefox, indicating that SSL was broken on the server.

It turned out that some of my virtual hosts were written as  instead of . The SSL-enabled hosts were all written as . When I changed all the  lines to specify exactly which port to listen to, the errors went away.

I hypothesize that the non-SSL virtual hosts were matching the incoming request before the SSL-enabled virtual hosts for the same content, but didn&#039;t know enough about SSL to provide a good response to the browse. Hence the error 12263, and the error in the log.</description>
		<content:encoded><![CDATA[<p>I had the same problem, but in addition I was getting error 12263 in Firefox, indicating that SSL was broken on the server.</p>
<p>It turned out that some of my virtual hosts were written as  instead of . The SSL-enabled hosts were all written as . When I changed all the  lines to specify exactly which port to listen to, the errors went away.</p>
<p>I hypothesize that the non-SSL virtual hosts were matching the incoming request before the SSL-enabled virtual hosts for the same content, but didn&#8217;t know enough about SSL to provide a good response to the browse. Hence the error 12263, and the error in the log.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sih</title>
		<link>http://mochabomb.com/blog/invalid-method-in-request-x16x03x01/comment-page-1/#comment-1286</link>
		<dc:creator>Sih</dc:creator>
		<pubDate>Thu, 20 Dec 2007 16:38:36 +0000</pubDate>
		<guid isPermaLink="false">http://mochabomb.com/blog/invalid-method-in-request-x16x03x01/#comment-1286</guid>
		<description>This particular error usually means that a web browser is trying to speak ssl to an non-ssl vhost.</description>
		<content:encoded><![CDATA[<p>This particular error usually means that a web browser is trying to speak ssl to an non-ssl vhost.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

