Ok..
that is configuration. What I need is running a we site on http, but when I
send request to a protected/* page, request mu be managed under ssl.
What I'm missing?Is this only configuration I have to do?
In ssl.conf, I configured certificate. It seems I did it well, cause when I
run application and I click on certificate, it seems correctly configured.
But when I run a page under /protected, it gives me error

[warn] RSA server certificate CommonName (CN) `www.mysite.com' does NOT
match server name!?

Why is it so difficult and there isn't a working example on internet?:(

This is virtual host

<VirtualHost IP:80>
        ServerName www.mysite.it
        DocumentRoot /var/www/www.mysite.com
        RewriteEngine on
        RewriteLog "log/rewrite.log"
        RewriteLogLevel 5
        RewriteRule ^/protected/(.*) https://www.mysite.com/protected:443/$1
[R=301,L]
        <Directory /var/www/www.mysite.com>
                AllowOverride FileInfo
        </Directory>
</VirtualHost>

Thanks for your help, you're my last hope..



Igor Cicimov wrote:
> 
> sorry i lost your initial email with the configuration, can you send it
> again please so i can have another look?
> 
> 
> On Tue, Jul 28, 2009 at 3:01 AM, danielitob <gbatt...@aliceposta.it>
> wrote:
> 
>>
>> Hello Igor..
>>
>> I checked but it was my digit error.
>> Fields are equal but I have always same problem..
>>
>> What I'm missing?
>> I configured virtual host on port 80 and did a redirect for a subfolder
>> to
>> 443.
>> i need other configuration?
>>
>> Please help me, I'm crazying..
>>
>>
>> Igor Cicimov wrote:
>> >
>> > I don't know if typo or not but in the redirect rule you have
>> > mysite.cominstead
>> > mysite.it
>> >
>> > On Fri, Jul 24, 2009 at 6:24 PM, danielitob <gbatt...@aliceposta.it>
>> > wrote:
>> >
>> >>
>> >> Sorry...you're right.
>> >> I analyzed error log and I found that...it's strange
>> >>
>> >> [Fri Jul 24 10:12:19 2009] [warn] RSA server certificate CommonName
>> (CN)
>> >> `www.mysite.com' does NOT match server name!?
>> >>
>> >> what does mean?
>> >>
>> >>
>> >>
>> >>
>> >> Ray Van Dolson-3 wrote:
>> >> >
>> >> > On Thu, Jul 23, 2009 at 09:51:38AM -0700, danielitob wrote:
>> >> >> The issue is when I click on
>> >> >>
>> >> >> https://www.mysite.it/protected
>> >> >>
>> >> >> and error appears.
>> >> >
>> >> > More information on the error please.  An error in your Apache log
>> >> > file?  An error in the browser (perhaps corresponding with a self
>> >> > signed certificate)?
>> >> >
>> >> > Ray
>> >> >
>> >> >
>> ---------------------------------------------------------------------
>> >> > The official User-To-User support forum of the Apache HTTP Server
>> >> Project.
>> >> > See <URL:http://httpd.apache.org/userslist.html> for more info.
>> >> > To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
>> >> >    "   from the digest: users-digest-unsubscr...@httpd.apache.org
>> >> > For additional commands, e-mail: users-h...@httpd.apache.org
>> >> >
>> >> >
>> >> >
>> >>
>> >> --
>> >> View this message in context:
>> >>
>> http://www.nabble.com/rewrite-to-443..please-help-me-tp24629942p24640563.html
>> >> Sent from the Apache HTTP Server - Users mailing list archive at
>> >> Nabble.com.
>> >>
>> >>
>> >> ---------------------------------------------------------------------
>> >>  The official User-To-User support forum of the Apache HTTP Server
>> >> Project.
>> >> See <URL:http://httpd.apache.org/userslist.html> for more info.
>> >> To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
>> >>   "   from the digest: users-digest-unsubscr...@httpd.apache.org
>> >> For additional commands, e-mail: users-h...@httpd.apache.org
>> >>
>> >>
>> >
>> >
>>
>> --
>> View this message in context:
>> http://www.nabble.com/rewrite-to-443..please-help-me-tp24629942p24684493.html
>> Sent from the Apache HTTP Server - Users mailing list archive at
>> Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> The official User-To-User support forum of the Apache HTTP Server
>> Project.
>> See <URL:http://httpd.apache.org/userslist.html> for more info.
>> To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
>>   "   from the digest: users-digest-unsubscr...@httpd.apache.org
>> For additional commands, e-mail: users-h...@httpd.apache.org
>>
>>
> 
> 

-- 
View this message in context: 
http://www.nabble.com/rewrite-to-443..please-help-me-tp24629942p24693609.html
Sent from the Apache HTTP Server - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
   "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to