I solved that.

<LocationMatch /blog>
          SetHandler None
          ProxyPass  http://127.0.0.1:82/
          ProxyPassReverse http://127.0.0.1:82/
</LocationMatch>

Thanks,
Muhammad Iqbal


On Apr 28, 5:34 am, "Shannon -jj Behrens" <[EMAIL PROTECTED]> wrote:
> On 4/24/07, Muhammad <[EMAIL PROTECTED]> wrote:
>
>
>
>
>
> > Hi,
>
> > I am running pylons web application using apache. i.e
> > <VirtualHost *:80>
> >         ServerSignature serversignature
> >         ServerName sname.com
> >         ProxyPass /http://localhost:50/
> >         ProxyPassReverse /http://localhost:50/
> > </VirtualHost>
>
> > How can i run wordpress with this setup?
>
> > I tried this two setups but both are not working not working.
>
> > 1:
> > <VirtualHost *:80>
> >         ServerSignature serversignature
> >         ServerName sname.com
> >         <Directory "/usr/local/www/wordpress">
> >                DirectoryIndex index.php index.pl index.cgi index.htm
> > index.html
> >                AllowOverride All
> >                Allow from all
> >                Order allow,deny
> >         </Directory>
> >         ProxyPass /http://localhost:50/
> >         ProxyPassReverse /http://localhost:50/
> > </VirtualHost>
> > 2:
> > <VirtualHost *:80>
> >         ServerSignature serversignature
> >         ServerName sname.com
> >         DirectoryIndex index.php index.pl index.cgi index.htm
> > index.html
> >         Alias /blog "/usr/local/www/wordpress"
> >         <LocationMatch /(blog|weblog).*>
> >           ProxyPass  http://127.0.0.1:82/
> >           ProxyPassReversehttp://127.0.0.1:82/
> >         </LocationMatch>
> >         ProxyPass /http://localhost:50/
> >         ProxyPassReverse /http://localhost:50/
> > </VirtualHost>
>
> > Please can any body advice some good solution on this.
>
> I can't talk about wordpress because I've never used it.  However, I
> do run several Pylons applications each on their own server behind
> Apache.  Each of them has the following stuff:
>
> <VirtualHost 69.80.213.130:80>
>   ServerName myapp.mycompany.com  # Different for each app.
>
>   <Proxy *>
>     allow from all
>   </Proxy>
>
>   RewriteEngine on
>   RewriteRule ^(.*)http://localhost:5001$1[P]   # Different for each app.
>
>   ErrorLog /var/log/apache2/myapp.error.log  # Different for each app.
>   CustomLog /var/log/apache2/myapp.access.log combined
> </VirtualHost>
>
> I'm using separate domain names for each of the apps, which isn't what
> you want.  Hmm, hopefully this is at least a little useful.
>
> Best Regards,
> -jj
>
> --http://jjinux.blogspot.com/


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to