Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I've defined the following config to proxy Apache traffic to Mongrel to run Redmine.

At this point all the php scripts are now downloaded by the browser instead of being parsed. Once I remove this config every thing goes back to normal.

Is there anything I might be missing or is there a miss configuration ? Unfortunately there are no errors in neither apache error_log nor in php_error.log.

#define mongrel cluster
<proxy balancer://mongrelcluster>
  BalancerMember http://127.0.0.1:81
</proxy>



#forward requests to mongrel cluster
<virtualhost *:80>
  ServerName domain.com
  ServerAlias  host.domain.com
  ServerAlias <server ip>  

  ProxyPreserveHost on
  ProxyPass / balancer://mongrelcluster/
  ProxyPassReverse / balancer://mongrelcluster/  
</virtualhost>
share|improve this question

1 Answer 1

If your backend is not parsing the PHP scripts, the problem lies in the backend.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.