503

Apache mod_rewrite && mod_proxy

1. Apache care e front-end ruleaza pe :802. Zope care e back-end ruleaza pe localhost:6080httpd.conf :#Aici doar am un script care e VAR de la Apache.#-------------------Catching / Vorname.Nachname---------RewriteEngine OnRewriteCond %{REQUEST_URI} ^/(([a-zA-Z]+)[.]([a-zA-Z]+))(.*)RewriteCond %{REQUEST_URI} !^/index[_](.*)RewriteRule ^/([a-zA-Z]+)[.]([a-zA-Z]+)(.*) /s.php?n=$1.$2&u=$3Aici e un virtual host : proxes de pe 80 la 6080.#-----------------VirtualHost http://ServerName/site---------ServerName SERVERProxyPass / http://localhost:6080/VirtualHostBase/http/SERVER:80/apache-test/VirtualHostRoot/ProxyPassReverse / http://localhost:6080/VirtualHostBase/http/SERVER:80/apache-test/VirtualHostRoot/ Intrebare: Cum sa nu proxes s.php ?!? Cine e mai bun aici cu Apache-le ?Problema e in aceea ca pe Zope al 2-lea server (:6080) nu e PHP ENV, si nici nu are cum sa fie..10x:)
0