Hello,
I need to redirect an existing URL, how can i do that?
There's a current web address to a GUI that I have to redirect to another webaddress. Does anyone know how to do this?
This is on Unix boxes Linux.
example:
https://m45.testing.address.net/host.php
make it so the... (3 Replies)
Dear Expert,
i have linux box that is running in the windows domain, BUT did not being a member of the domain. as I am not the System Administrator so I have no control on the server in the network, such as modify dns entry , add the linux box in AD and domain record and so on that relevant.
... (2 Replies)
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)
Here is what I have so far:
find . -name "*php*" -or -name "*htm*" | xargs grep -i iframe | awk -F'"' '/<iframe*/{gsub(/.\*iframe>/,"\"");print $2}'
Here is an example content of a PHP or HTM(HTML) file:
<iframe src="http://ADDRESS_1/?click=5BBB08\" width=1 height=1... (18 Replies)
Hi,
I have a problem where i have to hit multiple URL that are stored in a text file (input.txt) and save their output in different text file (output.txt) somewhat like :
cat input.txt
http://192.168.21.20:8080/PPUPS/international?NUmber=917875446856... (3 Replies)
Hello,
Am very new to perl , please help me here !!
I need help in reading a URL from command line using PERL:: Mechanize and needs all the contents from the URL to get into a file.
below is the script which i have written so far ,
#!/usr/bin/perl
use LWP::UserAgent;
use... (2 Replies)
I have a file like this:
http://hello.com www.examplecom computer Company
I wanted to keep dot (.) infront of com. to make the file like this
http://hello.com www.example.com computer Company
I applied this expression
sed -r 's/com/.com/g'but what I get is:
http://hello.com ... (4 Replies)
I have a file like this:
http://article.wn.com/view/2010/11/26/IV_drug_policy_feels_HIV_patients_Red_Cross/ http://aidsjournal.com/,www.cfpa.org.cn/page1/page2 , www.youtube.com
http://seattletimes.nwsource.com/html/jerrybrewer/2013517803_brewer25.html... (1 Reply)
Discussion started by: csim_mohan
1 Replies
LEARN ABOUT X11R4
xpgetpagedimensions
XpGetPageDimensions(3Xp) XPRINT FUNCTIONS XpGetPageDimensions(3Xp)NAME
XpGetPageDimensions - Gets the page dimensions for the current printer settings.
SYNOPSIS
cc [ flag... ] file... -lXp [ library... ]
#include <X11/extensions/Print.h>
Status XpGetPageDimensions ( display, print_context, width, height, reproducible_area )
Display *display;
XPContext print_context;
unsigned short *width;
unsigned short *height;
XRectangle *reproducible_area;
ARGUMENTS
display
Specifies a pointer to the Display structure; returned from XOpenDisplay.
print_context
A pre-existing print context.
width Returns the pixel width of the page currently selected in the print context.
height Returns the pixel height of the page currently selected in the print context.
reproducible_area
Returns the net reproducible area of the page currently selected in the print context, expressed in pixel offsets and dimensions.
DESCRIPTION
XpGetPageDimensions considers the medium currently selected in the print context (derived in part from default-medium, default-input-tray,
input-trays-medium, content-orientation, default-resolution), and returns the total width and height of the page in pixels, and the net
reproducible area within the total width and height. The net reproducible area is the portion of the page on which the printer is physi-
cally capable of placing ink.
XpGetPageDimensions returns a Status of 0 on failure, or 1 on success.
DIAGNOSTICS
XPBadContext A valid print context-id has not been set prior to making this call.
X Version 11 libXp 1.0.0 XpGetPageDimensions(3Xp)