Hi,

The wp-admin page of wordpress is a 302 redirecting to "wp-login.php".

Have you tried to browse the backend directly?
I guess it should not work.

There are some parameters on Wordpress to tell him on which URL it
will be hosted.
By default, it may be "/", in your case you should turn this parameter
to "/blog" :)

cheers


On Sun, Jul 31, 2011 at 11:46 PM, Gabriel Sosa <sosagabr...@gmail.com> wrote:
> Hello folks
>
> I'm trying to send all the traffic that starts with /blog to a
> specific backend and I'm using *path_beg* for that. here is a snip of
> my config file:
>
> defaults
>        log             global
>        timeout client  60000
>        timeout server  3m
>        timeout connect 15000
>        retries         3
>        option          redispatch
>
>
> frontend  http
>        mode            http
>        log             global
>        option          httplog
>                                option                                  
> forceclose
>                                option                                  
> httpclose
>
>        bind            XXX.XXX.XXX.XXX:80        # com 80
>
>                                acl blog_acl path_beg /blog
>                                use_backend blog_backend if blog_acl
>                                default_backend farm80
>
>
>
>
> For some reason, if I browse http://www.example.com/blog everything
> works just fine, but if I browse http://www.example.com/blog/wp-admin/
> (as you can guess I'm using wordpress) I get a 404 status.
>
> AFAIK, the acl path_beg /blog should match /blog/ or  /blog/wp-admin
> basically anything after /blog/ should be sent to that backend.
>
> do you have any idea why that could be not working as expected?
>
> Best regards
>
> --
> Gabriel Sosa
> Si buscas resultados distintos, no hagas siempre lo mismo. - Einstein
>
>

Reply via email to