PHP Developers Network

A community of PHP developers offering assistance, advice, discussion, and friendship.
 
Loading
It is currently Thu Jul 16, 2020 12:03 am

All times are UTC - 5 hours




Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Sun Jun 28, 2009 8:36 am 
Offline
Forum Regular
User avatar

Joined: Wed Jan 16, 2008 10:04 am
Posts: 633
Location: Myrtle Beach, South Carolina, USA
Let's say you've done the ground work on a couple of your hosting plans such that you can access your domains via http or https.

Now let's say you introduce Proxy Throughput (the [P] operator) so that certain subdomains can get routed to other servers, like so:

RewriteCond %{HTTP_HOST} =ricks-motorcycles.mysite.com
RewriteRule ^(.*)$ http://alpha2.com/ricks-motorcycles/$1 [P,L]

Where, if you have alpha1.com and alpha2.com, and mysite.com is parked at alpha1.com and this entry is in the .htaccess file, the guys at Rick's Motorcycles can access their site off of alpha2.com as if they were on mysite.com.

Okay, fine, but now how to get the https working and with the least amount of htaccess lines possible? This is important as far as line count because let's say I may have 500 or more entries like this in that file for users who sign up on my website.


Top
 Profile  
 
PostPosted: Sun Jun 28, 2009 8:59 am 
Offline
Forum Regular
User avatar

Joined: Wed Jan 16, 2008 10:04 am
Posts: 633
Location: Myrtle Beach, South Carolina, USA


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group