From: Dick Davies Date: 2004-06-23T17:42:45+09:00 Subject: Re: mod_ruby and Apache ForceType Can't answer directly , but isn't this the same as SetHandler ruby-object RubyHandler Apache::ERubyRun.instance (for eruby) or Options +ExecCGI SetHandler ruby-object RubyHandler Apache::RubyRun.instance (for ruby cgi type scripts) I'd replace the above with a to exclude images etc. * George Moschovitis [0631 12:31]: > Hello everyone, > > I am trying to use the ForceType directive of apache > to get more readable urls, like this php based example: > > > ForceType application/x-httpd-php > > > Does anyone know what is the equivalent of > application/x-httpd-php for mod_ruby? > > I tried the following but failed: > > AddType application/x-httpd-ruby .sx > AddHandler ruby-object .sx > > ForceType application/x-httpd-ruby > > > Any help will be really appreciated! > > George Moschovitis > > -- Mosher's Law of Software Engineering: Don't worry if it doesn't work right. If everything did, you'd be out of a job. Rasputin :: Jack of All Trades - Master of Nuns