On 2008/12/22 9:33 PM, Alvin ONeal wrote:
> This is what I want to happen:
> ONLY http://twdp.hobby-site.org directs to my normal site
> http://svn.twdp.hobby-site.org redirects to https
> other requests issue some sort of not-found error
> 
> https://svn.twdp.hobby-site.org directs to my subversion repo
> https://twdp.hobby-site.org redirects to http
> other requests issue some sort of not-found error

You're probably going to want a few name-based VirtualHosts[1] to help
out, here. And, unless you have access to more than one public IP
address, or are willing to run each of these SSL sites on their own
port, trying to provide HTTPS access to SVN while catching errant HTTPS
requests for the other site is going to be problematic[2].

You're on the right track with mod_rewrite, though. (See next email...)


Cheers,

-sth

[1] http://httpd.apache.org/docs/2.0/vhosts/name-based.html
[2] http://httpd.apache.org/docs/2.0/ssl/ssl_faq.html#vhosts

sam hooker|http://www.noiseplant.com|i am between the internet

"Where your eyes don't go, a filthy scarecrow waves his broomstick arms
        and does a parody of each unconscious thing you do..."

                                        They Might Be Giants
                                        "Where Your Eyes Don't Go"

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to