# Mod\_ruby not executing scripts

**URL:** <https://rubytalk.org/t/mod-ruby-not-executing-scripts/196>\
**Category:** ruby-talk\
**Created:** [10 June 2002 19:15 UTC](https://rubytalk.org/t/mod-ruby-not-executing-scripts/196 "2002-06-10T19:15:59Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sean\_Chittenden2](https://avatars.discourse-cdn.com/v4/letter/s/94ad74/32.png) [@Sean\_Chittenden2](https://rubytalk.org/u/Sean_Chittenden2)\
**Post date:** [10 June 2002 19:15 UTC](https://rubytalk.org/t/mod-ruby-not-executing-scripts/196/1 "2002-06-10T19:15:59Z")

</div>

> \>\>Does anyone have any idea why my .rbx files won't execute?
> 
> I suspect it was a permissions problem...it magically started  
> working after playing around with them. It should have worked the  
> way I had the permissions set before, but who knows, I don't know  
> everything about Apache...it probably has some subtle requirement I  
> never noticed before.

I've been letting the mod\_ruby questions pile up, my appologies.

.rbx files must have several things going for them:

\*) The must be executable: chmod a+x \*.rbx

\*) .rbx files must be executable according to the httpd.conf options  
(ex:

&nbsp;&nbsp;&nbsp;\<Files '\*.rbx$'\>  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Options +ExecCGI  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;# Other Ruby directives  
&nbsp;&nbsp;&nbsp;\</Files\> in the

Eventually there I'm sure there will be something akin to  
Apache::RegistryBB for the speed freaks which won't stat and perform  
these checks. -sc

> **···**
>
> --  
> Sean Chittenden
