10-13-2008
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.
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
I am trying to write RewriteRule on Apache_1.3.26 to get users web page from another server.
for example if users tries to get web page on
www.somedomain.com/~usersname
it will get the web page from www.testdomain.com/~username without redirect and users will not be aware of any redirect... (1 Reply)
Discussion started by: hassan2
1 Replies
2. Cybersecurity
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
3. Web Development
Hi,
I am new to Apache but I have requirement as follows.
if the url is http://images/data1/templates/ it should redirect to http:/172.20.224.23/templates/
if the url doesn't have "data1/templates" (mean http://images/) it should redirect to http://images:8080/.
I tried as below
... (3 Replies)
Discussion started by: sambadamerla
3 Replies
4. Web Development
I am trying to find a way to test some code, but I need to rewrite a specific URL only from a specific HTTP_HOST
The call goes out to
http://SUB.DOMAIN.COM/showAssignment/7bde10b45efdd7a97629ef2fe01f7303/jsmodule/Nevow.Athena
The ID in the middle is always random due to the cookie.
I... (5 Replies)
Discussion started by: EXT3FSCK
5 Replies
5. Red Hat
I am trying to remove the context name from the url of my server.
Current URL - http://www.domainname.com/MyApp/
What I need to make is to make it avaialble at -
http://www.domainname.com/
I have already tried couple of things like below -
RewriteEngine On
RewriteCond... (0 Replies)
Discussion started by: rockf1bull
0 Replies
6. UNIX for Advanced & Expert Users
Hi All,
I want to redirect from http://localhost/abc/xyz/def?cc=dk&lc=da
to http://localhost/abc/mnc/pdf?cc=dk&lc=da.
Please suggest a rewrite rule. (0 Replies)
Discussion started by: jagnikam
0 Replies
7. Web Development
Hi,
Googled around but I couldn't find anything similar. I'm looking to do the following in apache..
if a user comes into the following URL.
http://www.example.com/some/thing.cid?wholebunch_of_stuff_here
keep the URL exactly as is BUT add &something at the very end of it.
thanks in... (1 Reply)
Discussion started by: kmaq7621
1 Replies
8. Web Development
Hello,
I have added following rewrite cond and rewrite rules but it does not work.
RewriteCond %{HTTP_REFERER} ^http://192\.168\.1\.150/categories/.*$
RewriteRule ^(.*)$ http://www.blahblah.com/
When I hit url : http://192.168.1.150/categories/881-Goes?page=7 in my browser - it... (2 Replies)
Discussion started by: ashokvpp
2 Replies
9. Web Development
hi
what is the meaning of the below code, please explain in details
RewriteRule '^/(.*)$1$2/?' (1 Reply)
Discussion started by: raghur77
1 Replies
10. Web Development
I have a Rewrite Rule that helps me redirect a page with no hindrance.
I am rewriting
mydomain.com/best
to
mydomain.com/#!/
using
RewriteRule ^\/best\/? /#!/
Now I want to Rewrite
mydomain.com/#!/best
to (0 Replies)
Discussion started by: Junaid Subhani
0 Replies
LEARN ABOUT DEBIAN
xml::atom::client
XML::Atom::Client(3pm) User Contributed Perl Documentation XML::Atom::Client(3pm)
NAME
XML::Atom::Client - A client for the Atom API
SYNOPSIS
use XML::Atom::Client;
use XML::Atom::Entry;
my $api = XML::Atom::Client->new;
$api->username('Melody');
$api->password('Nelson');
my $entry = XML::Atom::Entry->new;
$entry->title('New Post');
$entry->content('Content of my post.');
my $EditURI = $api->createEntry($PostURI, $entry);
my $feed = $api->getFeed($FeedURI);
my @entries = $feed->entries;
my $entry = $api->getEntry($EditURI);
DESCRIPTION
XML::Atom::Client implements a client for the Atom API described at http://bitworking.org/projects/atom/draft-gregorio-09.html, with the
authentication scheme described at http://www.intertwingly.net/wiki/pie/DifferentlyAbledClients.
NOTE: the API, and particularly the authentication scheme, are still in flux.
USAGE
XML::Atom::Client->new(%param)
$api->use_soap([ 0 | 1 ])
XML::Atom::Client supports both the REST and SOAP-wrapper versions of the Atom API. By default, the REST version of the API will be used,
but you can turn on the SOAP wrapper--for example, if you need to connect to a server that supports only the SOAP wrapper--by calling
use_soap with a value of 1:
$api->use_soap(1);
If called without arguments, returns the current value of the flag.
$api->username([ $username ])
If called with an argument, sets the username for login to $username.
Returns the current username that will be used when logging in to the Atom server.
$api->password([ $password ])
If called with an argument, sets the password for login to $password.
Returns the current password that will be used when logging in to the Atom server.
$api->createEntry($PostURI, $entry)
Creates a new entry.
$entry must be an XML::Atom::Entry object.
$api->getEntry($EditURI)
Retrieves the entry with the given URL $EditURI.
Returns an XML::Atom::Entry object.
$api->updateEntry($EditURI, $entry)
Updates the entry at URL $EditURI with the entry $entry, which must be an XML::Atom::Entry object.
Returns true on success, false otherwise.
$api->deleteEntry($EditURI)
Deletes the entry at URL $EditURI.
$api->getFeed($FeedURI)
Retrieves the feed at $FeedURI.
Returns an XML::Atom::Feed object representing the feed returned from the server.
ERROR HANDLING
Methods return "undef" on error, and the error message can be retrieved using the errstr method.
AUTHOR & COPYRIGHT
Please see the XML::Atom manpage for author, copyright, and license information.
perl v5.12.4 2011-09-27 XML::Atom::Client(3pm)