Walter Davis wrote in post #1021691: > Which Web server are you using? Apache/Passenger? You might be able to > get Apache to handle .php files in the Public folder, since Passenger > defers anything static (ish) within that folder directly to Apache. So > you would see the request at the Apache level, then Apache would send > it off to mod_php and the PHP interpreter, then serve it. Sounds like > a lot of fun. Why not use wiki-engine or similar?
The .php files do not have to be stored in the public folder when using Passenger. For example on my production server I'm running both PHPMyAdmin (PHP) and a Mailman (Python) mailing list all from the same Apache virtual host. Example: <Location /phpmyadmin> PassengerEnabled off </Location> Alias /phpmyadmin/ "/usr/share/phpmyadmin/" Alias /phpmyadmin "/usr/share/phpmyadmin/" <Directory "/usr/share/phpmyadmin/"> Options Indexes FollowSymLinks MultiViews AllowOverride None Order allow,deny Allow from all Deny from none </Directory> <Locagtion /mailman> PassengerEnabled off </Location> This would allow you to access your PHP Wiki service under whatever Location you want that is not going to conflict with your Rails application. Example: http://example.com/wiki As long as you don't have any Rails routes matching the above then it should all work fine. -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

