Sponsored Content
Operating Systems HP-UX Apache Redirect Transparently Post 302179181 by grial on Thursday 27th of March 2008 07:24:38 AM
Old 03-27-2008
Helo alfredo.
For that purposes, I usually use mod_proxy and configure Apache as a reverse proxy like this, on your serverA (for Apache 1.3):
Code:
ProxyRequests Off

<Directory proxy:*>
   Order Deny,Allow
   #Deny from all
   Allow from all
</Directory>

ProxyPass /application http://serverB/application
ProxyPassReverse /application http://serverB/application

Regards.
 

10 More Discussions You Might Find Interesting

1. Cybersecurity

APACHE rewrite / redirect URL

Hello. I have scenario where a Client send request to Server1. Server1 send request to Server2. Request are xmlHTTPRequest - need to get data (XML) from Server2 back to client. Trying to use APACHE proxy... Anyone can help? What to download / configure / ...? Thank you for your help. (1 Reply)
Discussion started by: ampo
1 Replies

2. Web Development

APACHE rewrite / redirect URL

Hello. I have scenario where a Client send request to Server1. Server1 send request to Server2. Request are xmlHTTPRequest - need to get data (XML) from Server2 back to client. Trying to use APACHE proxy... Anyone can help? What to download / configure / ...? Thank you for your... (2 Replies)
Discussion started by: ampo
2 Replies

3. Web Development

why do apache redirect me to the same path ?

Hi, everything is working perfectly. I have one more question. Is it possible to specify a file instead of a directory in DocumentRoot ? (see phpinfo.php in the example). Is it a correct procedure ? <VirtualHost www.patrick.dev:80> ServerAdmin patrick.diviacco@gmail.com ... (1 Reply)
Discussion started by: aneuryzma
1 Replies

4. Web Development

Apache vhost redirect to a cgi file

Hi guys, I've been trying to figure this out all day however havent managed to as of yet. I have a server called netmon (network monitoring) which runs a multitude of programs to monitor the network. I also have a cname pointing to netmon called smokeping. At the moment to access smokeping... (0 Replies)
Discussion started by: JayC89
0 Replies

5. Web Development

Redirect to diff port on apache

Hi, I'm running both mail (webmail port = 8080) and web (http = 80) on same box. i am able to redirect as below without any problem. From: http://mail.abc.com To: http://www.abc.com:8080 I did the above with a simple virtualhost and redirect directive. But my requirement is to have same... (1 Reply)
Discussion started by: reddyr
1 Replies

6. Web Development

redirect http to https in apache

i read thru a few article how to do it, but i could not get it to work the way i want it. vi ../httpd.conf Redirect permanent /dev https://servername/portal/ when i type servername, works fine. my goal is to type dev, and it takes me to https://servername/portal/ (4 Replies)
Discussion started by: lawsongeek
4 Replies

7. Shell Programming and Scripting

Apache redirect file exceptions

Hi, I am currently redirecting all mobile devices to my mobile site in apache. I need to exempt the following file types from redirecting even if the request is made from a mobile device. *.css *.jpg *.jpeg *.gif *.js Does anyone know where and what I need to do for this? Thanks in... (1 Reply)
Discussion started by: kmaq7621
1 Replies

8. Web Development

Apache Redirect

Hi All, I have my URL as http://mysite.com/shop/maternity/tops_30116 Now I want to append "?No=0&Nrpp=100" and then redirect to http://mysite.com/shop/maternity/tops_30116?No=0&Nrpp=100 This is for many URL which have "maternity" inside them. Can there be a single Redirect... (0 Replies)
Discussion started by: ankur328
0 Replies

9. Web Development

How to redirect URLs in Apache?

I am a total newbie to Apache. I need to do this only for this weekend during an upgrade from old system to new system We have different URLs http://domain.name/xxx (xxx varies to any length and words - it can be /home, /login, /home/daily, /daily/report, etc). How do i redirect all those to... (0 Replies)
Discussion started by: GosarJunk
0 Replies

10. Web Development

Apache rewrite/redirect parameters explanation

hi what is the meaning of the below code, please explain in details RewriteRule '^/(.*)$1$2/?' (1 Reply)
Discussion started by: raghur77
1 Replies
install::TempContent::Objects::mod_perl-2.0.9::docs::apiUseraContributinstall::TempContent::Objects::mod_perl-2.0.9::docs::api::Apache2::Status(3)

NAME
Apache2::Status - Embedded interpreter status information Synopsis <Location /perl-status> # disallow public access Order Deny, Allow Deny from all Allow from 127.0.0.1 SetHandler modperl PerlOptions +GlobalRequest PerlResponseHandler Apache2::Status </Location> or <Location /perl-status> # disallow public access Order Deny, Allow Deny from all Allow from 127.0.0.1 SetHandler perl-script PerlResponseHandler Apache2::Status </Location> Description The "Apache2::Status" module provides some information about the status of the Perl interpreter embedded in the server. Configure like so: <Location /perl-status> # disallow public access Order Deny, Allow Deny from all Allow from 127.0.0.1 SetHandler modperl PerlOptions +GlobalRequest PerlResponseHandler Apache2::Status </Location> Notice that under the "modperl" core handler the Environment menu option will show only the environment under that handler. To see the environment seen by handlers running under the "perl-script" core handler, configure "Apache2::Status" as: <Location /perl-status> # disallow public access Order Deny, Allow Deny from all Allow from 127.0.0.1 SetHandler perl-script PerlResponseHandler Apache2::Status </Location> Other modules can "plugin" a menu item like so: require Apache2::Module; Apache2::Status->menu_item( 'DBI' => "DBI connections", #item for Apache::DBI module sub { my ($r, $q) = @_; #request and CGI objects my (@strings); push @strings, "blobs of html"; return @strings; #return an array ref } ) if Apache2::Module::loaded('Apache2::Status'); WARNING: "Apache2::Status" must be loaded before these modules via the "PerlModule" or "PerlRequire" directives (or from startup.pl). A very common setup might be: Perl Module B::TerseSize <Location /perl-status> SetHandler perl-script PerlResponseHandler Apache2::Status PerlSetVar StatusOptionsAll On PerlSetVar StatusDeparseOptions "-p -sC" </Location> due to the implementation of Apache2::Status::noh_fileline in B::TerseSize, you must load B::TerseSize first. Options "StatusOptionsAll" This single directive will enable all of the options described below. PerlSetVar StatusOptionsAll On "StatusDumper" When browsing symbol tables, the values of arrays, hashes and scalars can be viewed via "Data::Dumper" if this configuration variable is set to "On": PerlSetVar StatusDumper On "StatusPeek" With this option "On" and the "Apache::Peek" module installed, functions and variables can be viewed ala "Devel::Peek" style: PerlSetVar StatusPeek On "StatusLexInfo" With this option "On" and the "B::LexInfo" module installed, subroutine lexical variable information can be viewed. PerlSetVar StatusLexInfo On "StatusDeparse" With this option "On" subroutines can be "deparsed". PerlSetVar StatusDeparse On Options can be passed to "B::Deparse::new" like so: PerlSetVar StatusDeparseOptions "-p -sC" See the "B::Deparse" manpage for details. "StatusTerse" With this option "On", text-based op tree graphs of subroutines can be displayed, thanks to "B::Terse". PerlSetVar StatusTerse On "StatusTerseSize" With this option "On" and the "B::TerseSize" module installed, text-based op tree graphs of subroutines and their size can be displayed. See the "B::TerseSize" docs for more info. PerlSetVar StatusTerseSize On "StatusTerseSizeMainSummary" With this option "On" and the "B::TerseSize" module installed, a "Memory Usage" will be added to the "Apache2::Status" main menu. This option is disabled by default, as it can be rather cpu intensive to summarize memory usage for the entire server. It is strongly suggested that this option only be used with a development server running in "-X" mode, as the results will be cached. PerlSetVar StatusTerseSizeMainSummary On "StatusGraph" When "StatusDumper" is enabled, another link "OP Tree Graph" will be present with the dump if this configuration variable is set to "On": PerlSetVar StatusGraph This requires the B module (part of the Perl compiler kit) and "B::Graph" (version 0.03 or higher) module to be installed along with the "dot" program. Dot is part of the graph visualization toolkit from AT&T: http://www.graphviz.org/. WARNING: Some graphs may produce very large images, some graphs may produce no image if "B::Graph"'s output is incorrect. "Dot" Location of the dot program for "StatusGraph", if other than /usr/bin or /usr/local/bin "GraphDir" Directory where "StatusGraph" should write it's temporary image files. Default is "$ServerRoot/logs/b_graphs". Prerequisites The "Devel::Symdump" module, version 2.00 or higher. Other optional functionality requirements: "B::Deparse" - 0.59, "B::Fathom" - 0.05, ""B::Graph"" - 0.03. Copyright mod_perl 2.0 and its core modules are copyrighted under The Apache Software License, Version 2.0. See Also perl(1), Apache(3), Devel::Symdump(3), Data::Dumper(3), B(3), "B::Graph"(3), mod_perl 2.0 documentation. Authors Doug MacEachern with contributions from Stas Bekman perl v5.18.2 20install::TempContent::Objects::mod_perl-2.0.9::docs::api::Apache2::Status(3)
All times are GMT -4. The time now is 11:37 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy