httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Buddhi Eashwarage <buddhie...@gmail.com>
Subject Re: [users@httpd] Apache Proxy Module Help
Date Sun, 11 May 2014 23:59:24 GMT
I didn't got your point.I can see the same code.

Kind Regards,
Buddhi Eashwarage


On Sun, May 11, 2014 at 11:15 AM, Varun Bhuvanendran <
varun.bhuvanendran@gmail.com> wrote:

> ProxyPass /application_directory/ http://localhost/application/directory/
> ProxyPassReverse /application_directory/
> http://localhost/application/directory/
>
> varun
> On May 11, 2014 11:00 AM, "Buddhi Eashwarage" <buddhieash@gmail.com>
> wrote:
>
>> I want to redirect a url to an application on same apache server.My
>> development environment is Ubuntu 12.04 LTS.I enables the mod_proxy.But my
>> url isn't redirecting to the desired application.Following is the code i
>> put inside the /etc/apache2/sites-available/default file.I put this bottom
>> of the file but before the "VirtualHost" tag.
>>
>> Code
>> -------------------------------------
>>
>> ProxyRequests OnProxyVia On<Proxy *>
>>   Order deny,allow
>>   Deny from all
>>   Allow from localhost</Proxy>ProxyPass /application_directory/ http://localhost/application/directoryProxyPassReverse
/application_directory/ http://localhost/application/directory
>>
>>
>>
>> Kind Regards,
>> Buddhi Eashwarage
>>
>

Mime
View raw message