Query on Public IP Usage with URL
Hi,
I would like to know that if I host a site, like www.abc.com, should the 'abc.com' and 'www.abc.com' have the same public IP.
'abc.com' and 'www.abc.com' shows the same web page.
Regards.
there is no specific rules here.
But it is common to us the same ip for both.
This is also what Cisco does :
C:\>ping cisco.com
Pinging cisco.com [198.133.219.25] with 32 bytes of data:
Control-C
^C
C:\>ping www.cisco.com
Pinging www.cisco.com [198.133.219.25] with 32 bytes of data:
Control-C
^C
C:\>
Same ip address for both www.cisco.com and cisco.com
Gilles.
Similar Messages
-
CiscoIPPhoneExecute with URL query strings
Has anyone successfully used the CiscoIPPhoneExecute xml object with URLs that contain query strings? Specifically, I'm wondering how to pass query string values that include spaces.
I'm able to successfully execute a URL such as:
http://<webaddress>/PushPage.asp?Field1=Value1&Field2=Value2
However, when I try to execute a URL like:
http://<webaddress>/PushPage.asp?Field1=Value with space&Field2=Value2
The phone displays an error message that says "Not Available", and the url that is pushed never gets executed.
I have tried representing spaces in the query string values using both the conventional "+" symbol, and I have also tried using "%20". Neither of these escape sequences seems to work.
Thanks for any advice.
-MikeThanks for the response. As I stated above, I know that ampersand (&) must be escaped, and I am properly escaping that character in the XML packets. I'm not having any problems pushing URLs that contain ampersand.
What I can't figure out is how to push URLs with *SPACES* included in the query string values. Please see the example URLs I posted in my original message, specifically the second URL. Again, I omitted the necessary ampersand escape sequence there for clarity.
-Mike -
Problem with URL File download
Hi every one i am facing a problem with URL File read Technique
import java.awt.Color;
import java.io.DataOutputStream;
import java.io.File;
import java.io.FileOutputStream;
import java.io.InputStream;
import java.net.URL;
import java.net.URLConnection;
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.JProgressBar;
public class JarDownloader
boolean isSuccess = false;
public JarDownloader(String url)
downloadJar(url);
public boolean isDownloadingSuccess()
return isSuccess;
private File deleteExistingFile(String filename)
File jarf = new File(filename);
if(jarf.exists())
jarf.delete();
return jarf;
public static void main(String args[]){
new JarDownloader("url/filename.extension");
private void downloadJar(String url)
try
URL jarurl = new URL(url);
URLConnection urlc = jarurl.openConnection();
urlc.setUseCaches(false);
urlc.setDefaultUseCaches(false);
InputStream inst = urlc.getInputStream();
int totlength = urlc.getContentLength();
System.out.println("Total length "+totlength);
// If the size is less than 10 kb that means the linkis wrong
if(totlength<=10*1024)throw new Exception("Wrong Link");
JFrame jw =new JFrame("Livehelp-Download");
JPanel jp =new JPanel();
jp.setLayout(null);
JLabel jl = new JLabel("Downloading required file(s)...",JLabel.CENTER);
jl.setBounds(10,10,200,50);
jp.add(jl);
JProgressBar jpbar = new JProgressBar(0,totlength);
jpbar.setBorderPainted(true);
jpbar.setStringPainted(true);
jpbar.setBounds(10,70,200,30);
jpbar.setBackground(Color.BLUE);
jp.add(jpbar);
jw.setContentPane(jp);
jw.pack();
jw.setResizable(false);
jw.setDefaultCloseOperation(JFrame.DO_NOTHING_ON_CLOSE);
jw.setLocationRelativeTo(null);
jw.setSize(220,150);
jw.setVisible(true);
int readlngth=0;
int position=0;
byte[] readbytes = new byte[totlength];
while(totlength-position > 0)
readlngth = inst.read(readbytes,position,totlength-position);
position+=readlngth;
jpbar.setValue(position);
File jarf = deleteExistingFile(filename);
jarf.createNewFile();
//FileWriter fwriter=new FileWriter(jarf,true);
FileOutputStream fout = new FileOutputStream(jarf,true);
DataOutputStream dout = new DataOutputStream(fout);
dout.write(readbytes);
dout.flush();
dout.close();
inst.close();
jw.setVisible(false);
jw.dispose();
isSuccess=true;
}catch(Exception ex)
isSuccess=false;
}From the above code i received the total length of the PAGE content (i.e here url is a file) when i tried to find the size of that file it return -1.
please help meI think the real problem is that you don't check the return value from read (it's probably less than data.length indicating an incomplete read). Isn't there a readFully somewhere?
-
Filter Web Template with URL Cmd: doesn't work with compound infoobject ?
Hello all,
I've to filter the query contained on a web template with URL command, but it doesn't work.
The web template contains only one query, and on the free chars I have 0PLANT.
I call the web template adding to the normal url the following command:
&FILTER_IOBJNM=0PLANT&FILTER_VALUE=33
where 33 is the code of the plant I want to filter.
The command is executed, I think, because the result is "NO APPLICABLE DATA FOUND". The fact is that when I execute this query on the Bex filtering 0PLANT by value 33 the data exists.
May be because 0PLANT on our system is in compound with 0SOURSYSTEM ? In this case, what's the value I can use as filter ?
Thank's in advance,
MaxHi,
please see http://help.sap.com/saphelp_nw04/helpdata/en/59/edfe395dd76846e10000000a114084/frameset.htm
especially:
If the variant with ending 'EXT' is selected, the fully compounded value has to be entered in the external format, for example, 24.12.2000.
If the ending 'EXT' is not used, the fully compounded value has to be entered in the internal format, for example, 20001224 for 24.12.2000.
and
In the internal display (see table below) you can easily determine the name of the characteristic and the filter value using the URL parameter &snippet_operations=%20 (see also Object Tag for the Properties of Web Templates). Call the Web application with this URL parameter. If you filter using the context menu, the parameters FILTER_IOBJNM and FILTER_VALUE are automatically added to the URL in the Web browser. You can then use the desired values with Command URLs in hyperlinks.
Heike -
Call service with url /sap/opu/odata/SAP/GBAPP_POAPROVAL is intermittent
Hello,
I have problem: call service with url /sap/opu/odata/SAP/GBAPP_POAPROVAL is intermittent, same times it works and same times not work to any type the Approve Orders.
We are Fiori SAP NetWeaver 7.40 and mobile client is version 1.2.4.
I used in IOS.
We are SAML2 using ADFS with Fiori. 'Using SAML 2.0 Authentication to Access Fiori Apps from the Public Internet' in
SCN:http://scn.sap.com/docs/DOC-42915.
I try to run like example and the same 1797736 - Troubleshooting Guidefor SAP NetWeaver Gateway,
and I tested this URL in the SAP Netweaver Gateway Client (http://scn.sap.com/docs/DOC-47626), but appears "HTTP Open falied: INTERNAL_ERROR"
How to solve this problem?
Thanks,
Sandrahi,
if you got 2004s preview from this page
https://www.sdn.sap.com/irj/sdn/downloaditem?rid=/library/uuid/cfc19866-0401-0010-35b2-dc8158247fb6
then it does not contain XI
REgards,
michal -
Select list with URL redirect - not showing the same display value selected
Hi
I have several select lists with URL direct on my page similar to this
for p6_queries item the LOV is
select QUERY_NAME display_value, 'f?p='
|| :APP_ID
|| ':'
|| 6
|| ':'
|| :APP_SESSION
|| '::::p6_queries:'||QUERY_ID||'#qtables' return_value from .....
I am assigning a return value to the item p6_queries. But when the page is redirected, I dont see the selected value as selected in the list. Instead it goes to the null display text. Can any one help me on this?The problem is that your setting the item value to value of query_id. But your select list has the value of each item as the URL so it will never match and show you what you selected.
The best thing to do may be to change your select list from a "redirect to URL" to "submit page", make it a normal query:
select QUERY_NAME display_value, QUERY_ID return_value ...
Then create an "On Submit: Before Computation" branch:
Target Type: URL
URL Target: f?p=&APP_ID.:6:&SESSION.::&DEBUG.::P6_QUERIES:&P6_QUERIES.#testing
Condition Type: Request = Expression 1
Expression 1: P6_QUERIES -
Usage: jinstall URL of configuration file
I am totally over my head and I hope someone can help.
I'm supposed to go to the usps.com website to print postage paid overnight delivery mailing labels. The usps website directs me to download a javascript before I can print. I downloaded http://java.sun.com/products/plugin/autodl/jinstall-1_4-windows-i586.cab and extracted the files to /mydocuments/mydownloads/javascriptfromusps (a folder I created).
When double-clicking on the jinstall icon (or when trying to use the 'run' function on the start button for windows xp, I receive the following error message:
Usage: jinstall <URL of configuration file>
If anyone is able to offer some insight it would be most appreciated. My supervisor is none too happy with me, & I've already missed the delivery deadline for today.
Thank you.Based on the link below, it is Java plugin that has to be installed and not javascript...
Try accessing this URL:
http://java.com/en/download/windows_automatic.jsp
You should get prompted to download and install Java plugin - accept the prompt and follow installer instructions. Then go back to USPS web site and try printing labels. -
Z10 - High CPU and Battery Usage with BBM
I recently updated my Z10 (UK and EE Carrier) to 10.2.1.3062 and every day or so I am getting very high CPU and Battery Usage with BBM running in the background.
I have never used BBM and have no active or past conversations or contacts.
This morning, it used around 60% battery in under 3 hours, with 95% of that time sat at 'idle' in my pocket.
Sometimes its after I have connected it to my car stereo (charging and streaming music via USB) on an Alpine CDA-117Ri, but I dont think thats a cause.
Some screen grabs:
[URL=http://s46.photobucket.com/user/hoopsontoast/media/IMG_20150126_095930_zpsj3haccgs.png.html][IMG]htt...
[URL=http://s46.photobucket.com/user/hoopsontoast/media/IMG_20150124_230003_zpshi2dpkfo.png.html][IMG]htt...You're not alone.
Please read this post here: http://supportforums.blackberry.com/t5/BBM-for-BlackBerry/BBM-is-draining-my-Battery/m-p/3039915#M52...
and contact BBM support as suggested to send logs. BBM Support is working to determine the cause of this.
Please post over in that thread so we can keep all related in one place.
1. If any post helps you please click the below the post(s) that helped you.
2. Please resolve your thread by marking the post "Solution?" which solved it for you!
3. Install free BlackBerry Protect today for backups of contacts and data.
4. Guide to Unlocking your BlackBerry & Unlock Codes
Join our BBM Channels (Beta)
BlackBerry Support Forums Channel
PIN: C0001B7B4 Display/Scan Bar Code
Knowledge Base Updates
PIN: C0005A9AA Display/Scan Bar Code -
IIS Reverse Proxy with URL rewrite.
Hi all, hoping to leverage the wealth of knowledge contained here.
Any assistance would be very welcome.
I'm having an issue getting a reverse proxy and URL rewrite working in IIS 7.0.
I need to redirect all requests with a specific virtual directory suffix only.
ie; https://domain.test.com/outbound/Content/query_etc
With /Outbound/ being the trigger.
This should be redirected to http://10.10.10.10/inbound/Content/query_etc
While at the same time, requests without the /outbound/ suffix should be handled locally.
I have configured the reverse proxy as described in a few articles, and have had no luck.
Here's a snippet from my (sanitized) web.config at the site level.
<rewrite>
<outboundRules>
<rule name="ReverseProxyOutboundRule1" preCondition="ResponseIsHtml1">
<match filterByTags="A" pattern="^http(s)?://10.10.10.10/inbound/(.*)" />
<action type="Rewrite" value="https://domain.test.com/outbound/{R:2}" />
</rule>
<preConditions>
<preCondition name="ResponseIsHtml1">
<add input="{RESPONSE_CONTENT_TYPE}" pattern="^text/html" />
</preCondition>
</preConditions>
</outboundRules>
<rules>
<rule name="ReverseProxyInboundRule1" stopProcessing="true">
<match url="^outbound/(.*)" />
<action type="Rewrite" url="http://10.10.10.10/inbound/{R:1}" appendQueryString="true" logRewrittenUrl="false" />
</rule>
</rules>
</rewrite>
To me, this looks correct, yet it doesn't work.
With this, I get the normal 404 - Error Code 0x80070002, with the text indicating the local directory doesn't exist, so.... not being picked up by the filter for redirection.Hi Andrew,
Looking at your requirements it appears you need Reverse Proxy To Another Site/Server.
By using URL Rewrite Module together with
Application Request Routing module you can have IIS 7 act as a
reverse proxy.
It seems like URL Rewrite can't re-route the request somewhere else out of the server.
Even when you rewrite the url the actual connection remains with the server. Hence if your original server doesn't have /inbound/Content/query_etc it will fail with 404.
Hosting multiple domain names under a single account using URL Rewrite.
It’s a common desire to have a single IIS website that handles multiple sites with different domain names.
References:
How to create a url alias using IIS URL Rewrite:
http://blogs.technet.com/b/mspfe/archive/2013/11/27/how-to-create-a-url-alias-using-iis-url-rewrite.aspx
Reverse Proxy with URL Rewrite v2 and Application Request Routing:
http://www.iis.net/learn/extensions/url-rewrite-module/reverse-proxy-with-url-rewrite-v2-and-application-request-routing
Regards,
Satyajit
Please“Vote As Helpful”
if you find my contribution useful or “MarkAs Answer” if it does answer your question. That will encourage me - and others - to take time out to help you. -
Comparing the BOM usage with the actual usage for materials.
Hi All
My client want to compare the BOM usage with the actual usage and have a report for this within a period? More specified they want to calculate the BOM usage, based on the requirement quantity from confirmation - but with out the scrap %. mulitplied with the confimed quantity of the header material.
The actual usage should be based on goods issuing from stock, either as goods issue to order (backflushing) or as goods issue to cost center.
I havent been able to indentiy a standard report for doing this - does some of you know a standard report?
- I was thinking of the following method:
Look at tabel RESB and compare it with MSEG, but I have some diferent problems with this.
- In resb there is no qty before scrap.
- The data amount from MSEG, is so huge so it is not possible to make a data search for a whole period (eg. month)
Br. MThere is one std report MCRX which gives a comparison of quanity in order and actual consumption,
if it doesnt meet your need, you may have to create a custom report.
logic can be find the quantites as per BOM for the produced quantities
issued quantities to the order
tables you may need are AUFK AUFM
AFKO, STAS STPO
MSEG, MKPO
JEST ( if you want to filter using order status) -
Powershell: There is no file with URL error during file upload.
I am trying to put together a PowerShell script that I could use to upload files from a local directory, into a Document Library in a Record Center Site. Here is what my script looks like...
#Open web and library
$web = Get-SPWeb $webUrl
$docLibrary = $web.Lists[$docLibraryName]
$files = ([System.IO.DirectoryInfo] (Get-Item $localFolderPath)).GetFiles()
Write-Host "Local Directory:" $localFolderPath
ForEach($file in $files)
Write-Host "Looping through files"
Write-Host "Current file:" $file
ElseIf ($contentType = "MyContentType")
#Open file
$fileStream = ([System.IO.FileInfo] (Get-Item $file.FullName)).OpenRead()
# Gather the file name
$FileName = $File.Name
#remove file extension
$NewName = [IO.Path]::GetFileNameWithoutExtension($FileName)
#split the file name by the "-" character
$FileNameArray = $NewName.split("_")
$check = $FileNameArray.Length
#Add file
$folder = $web.getfolder($docLibraryUrlName)
write-host "Copying file " $file.Name " to " $folder.ServerRelativeUrl "..."
$spFile = $folder.Files.Add($folder.Url + "/" + $file.Name, [System.IO.Stream]$fileStream, $true)
$spItem = $spFile.Item
write-host "Success"
#populate columns
$spItem["Application Number"] = $FileNameArray[0].ToString()
$spItem["Site Number"] = $FileNameArray[1].ToString()
$spItem.Update()
$fileStream.Close();
Each time I run my script, I get this error message
Exception calling "Add" with "3" argument(s): "<nativehr>0x80070003</nativehr><nativestack></nativestack>There is no file with URL 'http://myRecordLibrarySite/myRecord Library/12587_B2317.PDF' in this Web."
At C:\powershellscripts\Upload-FilesIntoSharePoint.ps1:72 char:6
+ $spFile = $folder.Files.Add($folder.Url + "/" + $file.Name, [System.IO.Stre ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [], MethodInvocationException
+ FullyQualifiedErrorId : DirectoryNotFoundException
I have not been able to nail down why the script is failing. Any ideas why? Thanks for the help.I just figured out the issue with adding the file. I went in this direction, and my code has progressed forward.
$folder = $web.getfolder($docLibrary.rootFolder.URL) -
hello, i have updated my iphone 5 black 16 gb to ios 7.0.2 (11a501) and my battery life of my iphone has become worse it gives 9 hours of usage with out doing anything, i have done everything every tip that is available online i had 3gs and 4s so i know how to save battry life,i even tried not using my iphone as well but still no change at all!. i have upadted to ios 7.0.3 then downgraded it , i thought battery may be an issue ,so i put brand new battery still no change , so what should i do ? , update to the latest version which is ios 7.0.4 or wait for the ios 7.1 , i was using iphone 4s running on ios 6.1 it gave me 3 days of battery timing , iphone 5 seemed to be very bad for me ,help ! ?
its facory unlocked btwTry to do a reset, if it doesn't work try remove recently added apps this may solve your problem ( like google app because it has happened with me)
Take a look at apps using your location service in privacy, it can cause battery draining. -
Combine two reports in query designer using key figure with sap exit
Hi experts,
i want to combine two reports in query designer using key figure with sap exit
in the report 1 key figure calculation based on the open on key date(0P_DATE_OPEN)
to calculate due and not due in two columns
in report 2 key figure calculate in the time zones using given in variable Grid Width (0DPM_BV0) like due in 1 to 30 days, 31 to 60 days...the due amount based on the open on key date(0P_DATE_OPEN)
to calculate in 1-30, 31-60, 61-90, 91-120, 121-150 and >150 days in 6 columns
now i have requirement like this
not due, 1-30, 31-60, >60, due,1-30, 31-60, >60 in 8 columns
or
not due, due, 1-30, 31-60, 61-90, 91-120, 121-150 and >150 in 8 col
thank youHi Dirk,
you perhaps know my requirement,
for the management to make used in one report,
we have in reporting finacials Ehp3.
Vendor Due Date Analysis - which show due, not due
Vendor Overdue Analysis - show only due and analysis in time grid frame
i want to combine in one report that show NOT DUE, DUE, DUE time frames in grid.
krish... -
Uploading document using Powershell is throwing error- There is no file with URL
Hi.
I am trying to upload multiple documents to a sub folder in a library using powershell.
I am getting the error as : ForEach-Object : Exception calling "Add" with "3" argument(s):
"<nativehr>0x80070003</nativehr><nativestack></nativestack>There is no file
with URL 'server/TestLibrary/User_image/ab_3f_wht_ist_small_gif.gif' in this Web."
I have used the below code:
function UploadImages($weburl)
$docLibraryName = "TestLibrary"
$localFolderPath = "C:\Users\Imgs\user_image"
Add-PsSnapin Microsoft.SharePoint.PowerShell -erroraction silentlycontinue
$web = Get-SPWeb -Identity $webUrl
$docLibrary = $web.Lists[$docLibraryName]
$subFolderName="user_image"
Add-PsSnapin Microsoft.SharePoint.PowerShell -erroraction silentlycontinue
$web = Get-SPWeb -Identity $webUrl
$docLibrary = $web.Lists[$docLibraryName]
#Attach to local folder and enumerate through all files
$files = ([System.IO.DirectoryInfo] (Get-Item $localFolderPath)).GetFiles() | ForEach-Object {
#Create file stream object from file
$fileStream = ([System.IO.FileInfo] (Get-Item $_.FullName)).OpenRead()
$contents = new-object byte[] $fileStream.Length
$fileStream.Read($contents, 0, [int]$fileStream.Length);
$fileStream.Close();
write-host "Copying" $_.Name "to" $docLibrary.Title "in" $web.Title "..."
#Add file
$folder = $web.getfolder($docLibrary.Title + "/" + $subFolderName)
write-host "folder is " $folder
$spFile = $folder.Files.Add($folder.Url + "/" + $_.Name, $contents, $true)
$spItem = $spFile.Item
Write-Host -f Green "Added Images to Library !!!"
$web.Dispose()
How to fix this?
ThanksHI,
Is the name of the image or the sub folder name the issue?
I have the images with the name as "ab_3f_wht_ist_small_gif.gif". folder name "User_image"
There are underscores on the file name, but there is no space. When I add the file from the library (using the UI), the image is getting added.
But adding through the powershell is giving the issue.
I have checked this:
http://social.msdn.microsoft.com/Forums/sharepoint/en-US/e810ad03-81ef-4fa6-aab8-ddc896a13ebf/getting-error-during-uploading-a-document-using-powershell?forum=sharepointdevelopmentprevious
but did not help.
Thanks -
Start IC WebClient with URL Parameters
Hi,
we are currently implementing IC WebClient 5.0. One of the customer needs is it, to start the IC WebClient with a service order ID, so that the order is displayed immediately without searching and confirming an account. Is it possible to start the IC WebClient with URL parameters to solve that issue?
Thank you for you help in advance!
Marcus WalenaHallo Marcus,
This is currently not possible.
However, you don't need to always confirm the customer. You can use the agent inbox to do the search and navigate directly to the service order. However, if you want to do any processing after that, then you will need to identify the customer. The other option is to implement this yourself.
BTW: It is possible to navigate via a URL to the service order directly using PC UI.
Regards,
Shiv
Maybe you are looking for
-
Multiple Transports for the Same Object.
I have ABAP program 123 and I make a change, create transport A and release the transport. I do not request transport A go to production. I then modify ABAP program 123 again, create transport B and release the transport. I do not request transport B
-
Finder folders stay open in list view
I am having a problem with the Finder. When looking at folders in list view, certain folders stay open every time I look at a certain directory. If I close the folders and re-open the surrounding folder, the triangles are back down again! These are f
-
Error while click on the accounts created in AD
Recently we have installed IDM 8.0 and mYsql as a idm repository.Started creating users in domain controller with default attributes after succesfull configuration of Active directory resource .It all works fine for creating the user.After created th
-
Hello, My Ipad 2 suddenly is requesting I enter a passcode which I never had and dont have. I have followed the instruction to connect to Itunes up to the point of Restoring the device. What do I do to restore the device and why did a passcode reques
-
Problem in opening of screen painter layout
When I am opening screen painter using SE51 it opens,but layout should not be opened in a desired format.