# Configuring Radiant with Apache - Phusion Passenger

**URL:** <https://www.ruby-forum.com/t/configuring-radiant-with-apache-phusion-passenger/148708>\
**Category:** Radiant CMS\
**Created:** [September 16, 2008, 1:33pm UTC](https://www.ruby-forum.com/t/configuring-radiant-with-apache-phusion-passenger/148708 "2008-09-16T13:33:43Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![bhupsi1982](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/6a8cbe/32.png) [@bhupsi1982](https://www.ruby-forum.com/u/bhupsi1982)\
**Post date:** [September 16, 2008, 1:33pm UTC](https://www.ruby-forum.com/t/configuring-radiant-with-apache-phusion-passenger/148708/1 "2008-09-16T13:33:43Z")

</div>

I am having problem with configuring Radiant with Apache & Phusion  
Passenger.

Can anybody help me in configuring Radiant with Apache & Phusion  
Passenger. I am new at using Apache & Phusion Passenger.

Please help…

---

<div class="post-metadata">

**Author:** ![bhupsi1982](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/6a8cbe/32.png) [@bhupsi1982](https://www.ruby-forum.com/u/bhupsi1982)\
**Post date:** [September 16, 2008, 1:45pm UTC](https://www.ruby-forum.com/t/configuring-radiant-with-apache-phusion-passenger/148708/2 "2008-09-16T13:45:10Z")

</div>

What exactly is your problem? I have 5 or 6 sites running with  
Passenger now and do all of my local testing with it. I haven’t really  
had an issues. Can you be a bit more specific?

Keith

---

<div class="post-metadata">

**Author:** ![bhupsi1982](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/6a8cbe/32.png) [@bhupsi1982](https://www.ruby-forum.com/u/bhupsi1982)\
**Post date:** [September 16, 2008, 1:47pm UTC](https://www.ruby-forum.com/t/configuring-radiant-with-apache-phusion-passenger/148708/3 "2008-09-16T13:47:32Z")

</div>

I was going to post a message about a problem I’m having with radiant  
on passenger on a vps, but I guess I’ll just reply in this thread.

When I start the site it works fine, until radiant tries to regenerate  
the cache. When the cache expires I get a 500 error and the only  
solution is to clean by hand the cache directory. The ownership is ok  
(www-data:www-data) and the permissions are 0777.

2008/9/16 Keith B. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid):

---

<div class="post-metadata">

**Author:** ![bhupsi1982](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/6a8cbe/32.png) [@bhupsi1982](https://www.ruby-forum.com/u/bhupsi1982)\
**Post date:** [September 16, 2008, 1:49pm UTC](https://www.ruby-forum.com/t/configuring-radiant-with-apache-phusion-passenger/148708/4 "2008-09-16T13:49:07Z")

</div>

Keith B. wrote:

> What exactly is your problem? I have 5 or 6 sites running with  
> Passenger now and do all of my local testing with it. I haven’t really  
> had an issues. Can you be a bit more specific?
> 
> Keith

Can you please suggest is their any specific configuration under Apache  
for using radiant site with the help of Phusion Passenger.

---

<div class="post-metadata">

**Author:** ![bhupsi1982](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/6a8cbe/32.png) [@bhupsi1982](https://www.ruby-forum.com/u/bhupsi1982)\
**Post date:** [September 16, 2008, 2:52pm UTC](https://www.ruby-forum.com/t/configuring-radiant-with-apache-phusion-passenger/148708/5 "2008-09-16T14:52:43Z")

</div>

Make sure you kill the Rails .htaccess in /public. This works for me  
with  
passenger:  
\<VirtualHost \*:80\>  
ServerName [server.com](http://server.com)  
ServerAlias [www.server.com](http://www.server.com)  
DocumentRoot  
/home/user/public\_html/server.com/radiant/current/public

```
ErrorLog /var/log/apache2/error.log

# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn

CustomLog /var/log/apache2/access.log combined

```

On Tue, Sep 16, 2008 at 7:49 AM, Bhupendra Chaudhari

---

<div class="post-metadata">

**Author:** ![bhupsi1982](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/6a8cbe/32.png) [@bhupsi1982](https://www.ruby-forum.com/u/bhupsi1982)\
**Post date:** [September 18, 2008, 2:47pm UTC](https://www.ruby-forum.com/t/configuring-radiant-with-apache-phusion-passenger/148708/6 "2008-09-18T14:47:42Z")

</div>

Giovanni I. wrote:

> I was going to post a message about a problem I’m having with radiant  
> on passenger on a vps, but I guess I’ll just reply in this thread.

Actually, I suspect this thread might get a little confusing, so I  
forked  
the subject line…

> When I start the site it works fine, until radiant tries to regenerate  
> the cache. When the cache expires I get a 500 error and the only  
> solution is to clean by hand the cache directory. The ownership is ok  
> (www-data:www-data) and the permissions are 0777.

What errors do you see in the Apache logs when this happens? I’ve never  
looked at Radiant’s caching, since it Just Works for me; is there a way  
to  
force the cache to expire, so I can see what happens on my (working)  
setup?

Jay L.

---

<div class="post-metadata">

**Author:** ![bhupsi1982](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/6a8cbe/32.png) [@bhupsi1982](https://www.ruby-forum.com/u/bhupsi1982)\
**Post date:** [September 18, 2008, 2:45pm UTC](https://www.ruby-forum.com/t/configuring-radiant-with-apache-phusion-passenger/148708/7 "2008-09-18T14:45:55Z")

</div>

Josh S. wrote:

> Make sure you kill the Rails .htaccess in /public. This works for me with  
> passenger:

Like the others, I’ve had no problems with passenger 2.0.3. In fact, I  
don’t even have to do anything to the config; it “just works”:

\<VirtualHost \*:80\>

ServerName [www.wellesleycarriagehouse.com](http://www.wellesleycarriagehouse.com)  
DocumentRoot /srv/www/sites/wellesleycarriagehouse.com/public  
CustomLog /var/log/httpd/wellesleycarriagehouse.com.access.log  
combined

Bhupi, what sort of errors are you seeing in the browser? What do the  
logs  
say? (Depending on your Linux distro, Apache might be writing its logs  
to  
/etc/httpd/logs or someplace equally odd, so be sure to look around.)
