Apache 2.0 en reverse proxy
Bonjour,
j'essaie de faire fonctionner mon apache 2.0 en
reverse proxy sur ma debian.
j'ai donc chargé dans mods-enabled le module
mod_proxy, et je crois que je l'ai bien configuré.
d'ailleurs de vous donne le proxy.conf à la fin du
mail.
Problème: quand je tape http://machine_visible/debia/,
j'obtiens bien la page de machine_cachee. donc
jusqu'ici tout baigne. sauf que voilà, si j'essaie de
descendre dans l'arborescence, ça foire.
genre si je tape http://machine_visible/debia/repert/,
ça me donne une erreur 404. alors que
machine_cachee/repert/ existe bel et bien...
des idées?
merci!!
----------------------------------------------------
proxy.conf
----------------------------------------------------
<IfModule mod_proxy.c>
ProxyRequests Off
<Proxy *>
Order deny,allow
Allow from all
</Proxy>
ProxyPass /debia/ http://machine_cachee/
ProxyPassReverse /debia/
http://machine_cachee/
# Enable/disable the handling of HTTP/1.1
"Via:" headers.
# ("Full" adds the server version; "Block"
removes all outgoing Via: headers)
# Set to one of: Off | On | Full | Block
ProxyVia On
# To enable the cache as well, edit and
uncomment the following lines:
# (no cacheing without CacheRoot)
CacheRoot "/var/cache/apache2/proxy"
CacheSize 5
CacheGcInterval 4
CacheMaxExpire 24
CacheLastModifiedFactor 0.1
CacheDefaultExpire 1
# Again, you probably should change this.
#NoCache a_domain.com another_domain.edu
joes.garage_sale.com
</IfModule>
-----------------------------------------------------
__________________________________________________________________
Découvrez le nouveau Yahoo! Mail : 250 Mo d'espace de stockage pour vos mails !
Créez votre Yahoo! Mail sur http://fr.mail.yahoo.com/
Reply to: