Google Groups Home
Help | Sign in
Message from discussion rails plus cgi/php?
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
 
Ken Collins  
View profile  
 More options Apr 23 2008, 6:33 pm
From: Ken Collins <k...@metaskills.net>
Date: Wed, 23 Apr 2008 18:33:47 -0400
Local: Wed, Apr 23 2008 6:33 pm
Subject: Re: rails plus cgi/php?

I dont know about cgi-bin dir, but I use mint (php stats) in my  
mephisto blog. My vhost looks something like this:

<VirtualHost *:80>
   ServerName metaskills.net
   ServerAlias www.metaskills.net
   DocumentRoot "/Library/WebServer/hosts/metaskills.net/public"
   <Directory "/Library/WebServer/hosts/metaskills.net/public">
     Include conf/common/default_options.conf
     Include conf/common/expires.conf
   </Directory>
   <Directory "/Library/WebServer/hosts/metaskills.net/public/mint">
     <IfModule mod_php5.c>
       AddType  application/x-httpd-php         .php
       AddType  application/x-httpd-php-source  .phps
     </IfModule>
     DirectoryIndex index.php
   </Directory>
   RewriteEngine On
   # Make sure to stop processing redirects for mint.
   RewriteCond %{REQUEST_URI} ^/mint/$
   RewriteRule ^/(.*)$ /mint/index.php [L]
   RewriteCond %{REQUEST_URI} ^/mint.*
   RewriteRule ^/(.*)$ %{REQUEST_URI} [L]
   Include conf/common/deflates.conf
</VirtualHost>

On Apr 23, 2008, at 4:32 PM, Danimal wrote:

> If I use mod_rails, can I still define and use a cgi-bin directory for
> perl stuff and/or PHP stuff?

> Maybe these should be two separate questions. Ultimately, though, I
> can't tell from the docs if a virtual host has to be set for rails
> only or if it can run rails in the documentroot but also define a cgi-
> bin scriptdir?

> -Danimal
> --~--~---------~--~----~------------~-------~--~----~
> You received this message because you are subscribed to the Google  
> Groups "Phusion Passenger Discussions" group.
> To post to this group, send email to phusion-
> passenger@googlegroups.com
> To unsubscribe from this group, send email to phusion-passenger-unsubscribe@googlegroups.com
> For more options, visit this group at http://groups.google.com/group/phusion-passenger?hl=en
> -~----------~----~----~----~------~----~------~--~---

  smime.p7s
3K Download

    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.

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