Scoop -- the swiss army chainsaw of content management
Front Page · Everything · News · Code · Help! · Wishlist · Project · Scoop Sites · Dev Notes · Latest CVS changes · Development Activities
Scoop, mod_perl, and mod_php Bugs
By mcelroyj , Section Help! []
Posted on Sat Nov 15, 2003 at 12:00:00 PM PST

Through a good deal of chicanery and magic, I managed to compile mod_php and mod_perl on my RedHat box. I also managed to reconfigure scoop so that my stats software (awstats) would be correctly executed as a cgi application.

Of course, this would all be simple, but I am hosting a second site, through virtual hosting, and it needs to run php. For some reason, the site only serves static HTML files, I cannot get a cgi or php to serve data. The cgi files display as text, and the php files prompt for download.

Any help is greatly appreciated.

< Time for a New Release? | Scoop pre-1.0 Out -- Feature Freeze + Bug Fixes >

Menu
· create account
· faq
· search
· report bugs
· Scoop Administrators Guide
· Scoop Box Exchange

Login
Make a new account
Username:
Password:

Related Links
· Scoop
· More on Bugs
· Also by mcelroyj

Story Views
  42 Scoop users have viewed this story.

Display: Sort:
Scoop, mod_perl, and mod_php | 6 comments (6 topical, 0 hidden)
This can be done. (none / 0) (#1)
by sethadam1 on Sat Nov 15, 2003 at 10:04:57 AM PST

This can definitely be done. My site is all PHP, and has scoop running in a "subdirectory" over at xlan.



Solution (none / 0) (#2)
by mcelroyj on Sat Nov 15, 2003 at 06:36:00 PM PST

I solved this by placing the scoop configuration within a <VirtualHost> section. This prevented the scoop settings from taking over the entire web server.



Conf and Logs? (none / 0) (#4)
by chiggins on Thu Nov 20, 2003 at 11:51:14 AM PST

Can you post the relevant parts of your httpd.conf file? Also, if you can tail the logs (access and error) while trying to hit the urls that aren't working, that'd help too.



Bleh (none / 0) (#6)
by coryking on Fri Dec 05, 2003 at 04:38:22 PM PST

php & mod_perl have been the bane of my existance. When scoop is installed, and you want to run php under the directories that scoop controls (like /scoop/*) then your life gets very, very interesting. Even when php is used in any part of a <VirtualHost></VirtualHost> block my users have had troubles.

About the best solution i've come up with is to just create a subdomain untainted by scoop and let the user shove their php scripts in there.

--
Cory R. King
xlan.org (scoop hosting)
photographica (pictures)



Scoop, mod_perl, and mod_php | 6 comments (6 topical, 0 hidden)
Display: Sort:

Hosted by ScoopHost.com Powered by Scoop
All trademarks and copyrights on this page are owned by their respective companies. Comments are owned by the Poster. The Rest © 1999 The Management

create account | faq | search