Web Images Videos Maps News Shopping Gmail more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Apache rewrite rules for Multisite
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  11 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
BC  
View profile  
 More options Feb 4, 4:00 pm
From: BC <haccont...@yahoo.com>
Date: Wed, 4 Feb 2009 13:00:25 -0800 (PST)
Local: Wed, Feb 4 2009 4:00 pm
Subject: Apache rewrite rules for Multisite
I am sure a lot of people are using a mephisto multisite deploy on
Apache/Passenger. Does anyone have a current set of rewrite rules for
Apache 2 and Passenger they could share?

Thanks,

Bryan


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
spyridon.vasileiadis@goog lemail.com  
View profile  
 More options Feb 5, 1:34 am
From: "spyridon.vasileia...@googlemail.com" <spyridon.vasileia...@googlemail.com>
Date: Wed, 4 Feb 2009 22:34:11 -0800 (PST)
Local: Thurs, Feb 5 2009 1:34 am
Subject: Re: Apache rewrite rules for Multisite
there you go http://www.inormalized.com/2009/2/5/mephisto-multisite-passenger-apache2

Spyros

On Feb 4, 11:00 pm, BC <haccont...@yahoo.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
BC  
View profile  
 More options Feb 6, 11:23 am
From: BC <haccont...@yahoo.com>
Date: Fri, 6 Feb 2009 08:23:51 -0800 (PST)
Local: Fri, Feb 6 2009 11:23 am
Subject: Re: Apache rewrite rules for Multisite
Thanks for posting this, Spyros.

I was able to get the assets redirect working.

The other 4 or 5 are giving me problems.  I will try digging in the
apache or passenger logs this weekend.

Thanks,

Bryan

On Feb 4, 11:34 pm, "spyridon.vasileia...@googlemail.com"


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
BC  
View profile  
 More options Feb 7, 12:57 pm
From: BC <haccont...@yahoo.com>
Date: Sat, 7 Feb 2009 09:57:39 -0800 (PST)
Local: Sat, Feb 7 2009 12:57 pm
Subject: Re: Apache rewrite rules for Multisite
Do you setup a vhost file(with the rewrite rules) for each domain
served?

Thanks,

Bryan

On Feb 6, 9:23 am, BC <haccont...@yahoo.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
thibaut  
View profile  
 More options Feb 7, 1:18 pm
From: thibaut <thibaut.barr...@gmail.com>
Date: Sat, 7 Feb 2009 10:18:02 -0800 (PST)
Local: Sat, Feb 7 2009 1:18 pm
Subject: Re: Apache rewrite rules for Multisite
Hi,

I'm using an erb template, check-out this: http://gist.github.com/59954
- it's not for a recent version of Mephisto though.

cheers,

-- Thibaut

On Feb 4, 10:00 pm, BC <haccont...@yahoo.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
BC  
View profile  
 More options Feb 8, 1:48 am
From: BC <haccont...@yahoo.com>
Date: Sat, 7 Feb 2009 22:48:39 -0800 (PST)
Local: Sun, Feb 8 2009 1:48 am
Subject: Re: Apache rewrite rules for Multisite
I was able to get Spyros' rewrite rules working after adjusting the
apache.conf file.

Had the ServerName directive after the vhost include. D'oh!

I added a www to non-www redirect and a feedburner feed redirect.

#www to non-www redirect
RewriteCond %{HTTP_HOST} ^www\.somesite\.com$ [NC]
RewriteRule (.*) http://somesite.com$1 [L,R=301]

#feedburner redirect for the atom feed

RewriteCond %{HTTP_USER_AGENT} !FeedBurner
RewriteCond %{HTTP_HOST} somesite.com [NC]
RewriteRule ^/feed/atom.xml$ http://feeds.feedburner.com/somesite
[R=301,L]

Thanks,

Bryan

On Feb 7, 11:18 am, thibaut <thibaut.barr...@gmail.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
isaac  
View profile  
 More options Feb 8, 8:29 pm
From: isaac <isaackea...@gmail.com>
Date: Sun, 8 Feb 2009 17:29:35 -0800 (PST)
Local: Sun, Feb 8 2009 8:29 pm
Subject: Re: Apache rewrite rules for Multisite
This one should work for any domain name:

http://gist.github.com/60596

See the apache docs for how a default vhost works:

http://httpd.apache.org/docs/2.2/vhosts/examples.html#default

On Feb 8, 7:48 pm, BC <haccont...@yahoo.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
BC  
View profile  
 More options Feb 10, 9:26 pm
From: BC <haccont...@yahoo.com>
Date: Tue, 10 Feb 2009 18:26:32 -0800 (PST)
Local: Tues, Feb 10 2009 9:26 pm
Subject: Re: Apache rewrite rules for Multisite
Isaac,

I ended up placing them in each site's vhost file(which seemed like a
lot of duplication).  I had considered putting it directly into the
apache.conf file.

Are you suggesting to put the rewrite rules into the default vhost
file instead?

Bryan

On Feb 8, 6:29 pm, isaac <isaackea...@gmail.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
isaac  
View profile  
 More options Feb 11, 12:04 am
From: isaac <isaackea...@gmail.com>
Date: Tue, 10 Feb 2009 21:04:35 -0800 (PST)
Local: Wed, Feb 11 2009 12:04 am
Subject: Re: Apache rewrite rules for Multisite
Hi Bryan,

This is the only vhost I have setup, I don't need seperate vhost files
for each site.
It gets loaded automatically by the main apache conf from the
directory /etc/apache2/sites-enabled on ubuntu.

Cheers,
Isaac

On Feb 11, 3:26 pm, BC <haccont...@yahoo.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
spyridon.vasileiadis@goog lemail.com  
View profile  
 More options Feb 16, 5:59 am
From: "spyridon.vasileia...@googlemail.com" <spyridon.vasileia...@googlemail.com>
Date: Mon, 16 Feb 2009 02:59:44 -0800 (PST)
Local: Mon, Feb 16 2009 5:59 am
Subject: Re: Apache rewrite rules for Multisite
@Bryan
nope, thats all I use for the domains served by the mephisto
installation.

On Feb 7, 7:57 pm, BC <haccont...@yahoo.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ralph Edge  
View profile  
 More options Feb 28, 2:37 pm
From: Ralph Edge <rledg...@gmail.com>
Date: Sat, 28 Feb 2009 11:37:24 -0800 (PST)
Local: Sat, Feb 28 2009 2:37 pm
Subject: Re: Apache rewrite rules for Multisite
Isaac, Spyros, thanks for the information! Got multi-site working
without a ton of trouble using Isaac's Virtualhost setting.

On Feb 9, 7:29 pm, isaac <isaackea...@gmail.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google