09-24-2013
Httpd with mod_proxy redirect
Hi team,
I was like unable to solve this interview question, Any help from them experts here please..
"Your supervisor requires that all web requests for "http://dev.example.net" be passed to "http://newdev.example.net". She states that upon redirect, the URL in the web browser must remain "http://dev.example.net". Please configure Apache using mod_proxy so that her proxy requirements are met. Note: The newdev.example.net landing page is stored at /var/www/index.html"
The question is consist on mod_proxy!
Last edited by leo_ultra_leo; 09-24-2013 at 03:07 AM..
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I installed FreeBSD6.x and apache2.x using gzip the tar files.i then gave ./configure command.It is know that by default apache2 will be created in /usr/local/apache2 but when i give ./configure command apache2 is not created and iam not able to execute apachectl start it says command not... (2 Replies)
Discussion started by: kumarangopi
2 Replies
2. UNIX for Advanced & Expert Users
Double question here ... Running on Debian Etch and Apache 2.0
1) Using mod_proxy and/or mod_proxy_http in apache 2.0.
The basics of using mod_proxy are pretty simple so long as you're using a static config. I'm trying to figure out how to do it dynamically - that is, allow the entry of a... (4 Replies)
Discussion started by: Halfwalker
4 Replies
3. IP Networking
My company has a private network, including a Apache web server (Linux) and some WinXP machines. The web server had been configured to use mod_proxy to connect to window update site via another company proxy server. It works for few years.
Recently, some parties had setup a DNS server on the... (2 Replies)
Discussion started by: donaldfung
2 Replies
4. UNIX and Linux Applications
I am using Apache 2.2.3 on RHEL5 and having problems to get mod_deflate work with mod_proxy. mod_deflate will compress files by mime-type just fine as long as those files are served statically from the local server. However, files served via dynamic php application (ie, MediaWiki) or via... (2 Replies)
Discussion started by: otheus
2 Replies
5. Red Hat
Hi there
I have installed httpd and telnet-server on RHEL5 standalone machine.
Normally when i install these services they work once i
edit /etc/xinetd.d/telnet
disable = no
start httpd and xinetd services ..
#chkconfig --level 345 httpd on
#chkconfig --level 345 xinetd on
... (4 Replies)
Discussion started by: dplinux
4 Replies
6. Red Hat
Hi to all member's forum.
I have an httpd server with mod_proxy that forward any request to an another server.
the flow is: client --> requesto proxy https://miosito.it --> forward to server https://192.168.0.10:8443/
I'm reading this error in my httpd log in LogLevel debug (after some... (0 Replies)
Discussion started by: lain
0 Replies
7. UNIX for Advanced & Expert Users
Hi,
I have a proxy with SSL that forward any request to a backend platform.
In this moment I have a problem if I'm trying to execute an activex on the backend platform.
I'm reading that the mod_proxy blocks any activex request because it don't trust for the system.
How I can do? I'm reading... (0 Replies)
Discussion started by: lain
0 Replies
8. Web Development
I compiled apache 2.2.15 from source and installed it. When I try to start it, its not coming up.
# ./httpd -k start
# echo $?
1
# ps -ef | grep httpd | grep -v grep
#
# ./httpd -v
Server version: Apache/2.2.15 (Unix)
Server built: Dec 13 2013 04:31:41When I run it in gdb I am... (4 Replies)
Discussion started by: chacko193
4 Replies
9. Web Development
I have the following setup in my apache vhost:
ProxyPass /abc http://www.newest.com/
ProxyPassReverse /abc http://www.newest.com/
I want to setup a failover approach in which if after a particular timeout say 10secs the load shifts to some other website like Refer.com | The world. The timeout... (0 Replies)
Discussion started by: ankur328
0 Replies
Mason(3pm) User Contributed Perl Documentation Mason(3pm)
NAME
Mason - Powerful, high-performance templating for the web and beyond
SYNOPSIS
foo.mc:
% my $name = "Mason";
Hello world! Welcome to <% $name %>.
#!/usr/local/bin/perl
use Mason;
my $mason = Mason->new(comp_root => '...');
print $mason->run('/foo')->output;
DESCRIPTION
Mason is a powerful Perl-based templating system, designed to generate dynamic content of all kinds.
Unlike many templating systems, Mason does not attempt to invent an alternate, "easier" syntax for templates. It provides a set of syntax
and features specific to template creation, but underneath it is still clearly and proudly recognizable as Perl.
Mason is most often used for generating web pages. It has a companion web framework, Poet, designed to take maximum advantage of its
routing and content generation features. It can also be used as the templating layer for web frameworks such as Catalyst and Dancer.
All documentation is indexed at Mason::Manual.
The previous major version of Mason (1.x) is available under the name HTML::Mason.
SUPPORT
The mailing list is "mason-users@lists.sourceforge.net". You must be subscribed to send a message. To subscribe, visit
https://lists.sourceforge.net/lists/listinfo/mason-users <https://lists.sourceforge.net/lists/listinfo/mason-users>.
You can also visit us at "#mason" on <irc://irc.perl.org/#mason>.
Bugs and feature requests will be tracked at RT:
http://rt.cpan.org/NoAuth/Bugs.html?Dist=Mason
bug-mason@rt.cpan.org
The latest source code can be browsed and fetched at:
http://github.com/jonswar/perl-mason
git clone git://github.com/jonswar/perl-mason.git
The official Mason website is <http://www.masonhq.com/>, however it contains mostly information about Mason 1. We're not sure what the
future of the website will be wrt Mason 2.
ACKNOWLEDGEMENTS
Thanks to Stevan Little and the Moose team for the awesomeness of Moose, which motivated me to create a second version of Mason years after
I thought I was done.
Thanks to Tatsuhiko Miyagawa and the PSGI/Plack <http://plackperl.org/> team, who freed me from ever worrying about server backends again.
SEE ALSO
HTML::Mason
AUTHOR
Jonathan Swartz <swartz@pobox.com>
COPYRIGHT AND LICENSE
This software is copyright (c) 2011 by Jonathan Swartz.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
perl v5.14.2 2012-05-02 Mason(3pm)