Filter ProxyPass

Discussion in 'Apache' started by RobinReumers, Jul 1, 2008.

  1. #1
    Hi,

    I'm running Apache on Mac OS X Server 10.4.11!
    I'm doing a ProxyPass and ProxyPassReverse from port 9001 to 80 (using a service called Rumpus).
    However, I would need to filter php files (.php).
    I want php request (files with ext .php) to be read from the documentroot and for all other files, I want it to do a ProxyPass, is this possible?

    Thanks

    Robin
     
    RobinReumers, Jul 1, 2008 IP
  2. RobinReumers

    RobinReumers Peon

    Messages:
    2
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    I think it could be done with a Rewrite:
    RewriteCond %{REQUEST_FILENAME}

    But I'm not sure about the syntax in my <VirtualHost>?

    Thanks
     
    RobinReumers, Jul 1, 2008 IP