Hi again :)

I need that some url on my Portal get files on file system but no
through lenya. 

I have read documents in
http://lenya.apache.org/docu20/tutorials/proxy/proxying.html but I've
not found about it

I've tried adding the next rule in mi apache httpd config:

   RewriteRule ^/MyVideos/.*$  /usr/local/lenya/MyVideos/$1

So, My file (more o less) is some like this:

   <VirtualHost *:80>

        ServerName www.myexample.com

        CacheRoot /var/cache/apache2/mod_disk_cache
        CacheEnable disk /
        CacheDirLevels 5
        CacheDirLength 3
        
        ProxyRequests Off
        RewriteEngine On

        RewriteLog "/var/cache/apache2/rewrite.log"
        RewriteLogLevel 3

        # my own files
        RewriteRule ^/MyVideos/.*$  /usr/local/lenya/MyVideos/$1

        # live
        RewriteRule ^/([^/\.]+)$ $1/ [R]
        RewriteRule ^/(.*) http://www.myexample.com:8888/default/live/$1
[P,L]

        ProxyPass       / http://www.myexample.com:8888/default/live/ 
        ProxyPassReverse / http://www.myexample.com:8888/default/live/

   </VirtualHost>

But When I get the URL http://www.myexample.com/MyVideos/ It makes
tranformation but after pass this to lenya and no search it in
filesystem. And then get the lenya not found document message:

"El documento solicitado '/usr/local/lenya/MyVideos/test.flv' con
documento-id no existe."

Do you know how can I get this behaviour in my portal over a unique
domain, using apache httpd?

Many thanks in advance


-- 
María Jesús Turiel Martínez
Dpto. Desarrollo
Silice Tecnología y Servicios
Empresa Certificada ITMark
Telf. 902 888 264


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to