Running Multiple Interpreters in a Single Page

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



List,

I have a piece of Ruby code and a piece of PHP code that I would like to serve as part of one web page.  My server has been setup such that it can serve Ruby and PHP pages individually, but I'm not sure if there exists the means to get Apache to interpret a block of Ruby code in the same page as a block of PHP code?  As I understand it, Apache determines which interpreter to used based on the extension of the page, so I would need to start by figuring out some way to circumvent this obstacle.

Various web research I've done suggests that I might be able to use proxying to get the two code modules served in one page, but I'm not sure what sort of performance penalties that would incur?  The page I would like to create will be performance-sensitive, so if proxying comes at a significant time cost, it will probably not be a viable solution to me.

Thanks for any help or ideas!
Bill







---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux