When accessing our sharepoint site via HTTPS, users inside our network receive a prompt stating "Display nonsecure items?".
When accessing the site from outside our network via HTTPS, some images do not display at all. Some links do not function correctly as well.
We have found that this occurs when site administrators create images an...
var url = relativeURI+'/rest/PPS/Prod/'+encodeURIComponent(prod)+'/Section/'+encodeURIComponent(section);
$j.ajax({
url: url,
type: 'POST',
error: function(){
alert('Error');
},
success: function(){
alert('ItWorks');
}
});
}
In this ajax call, if I have '/' in the parameters prod or sec, then there is an erro...
I'm making a bookmarklet and I want to do the next, figure,
I have the url
http :// mydomain.com/http :// otherdomain.com
the url internal redirect to:
http :// mydomain.com/?url=http :// otherdomain.com
but the url will still http :// mydomain.com/http :// otherdomain.com
I was trying a lot but I cant do ir I get an 500 error all ...
Hey Guys,
Just a quick question about JQuery's Ajax function, more specifically, the url parameter.
My directory structure is like so:
contact.html
process.php
- elements
- js
- jquery.js
- library.js
Code below
...
// Post with Ajax
$.ajax
({
type : 'POST',
url : '../../process.php',
data : fulldata,
...
Hi I am wondering if there is a way to regenerate the URL when any page is loaded in coldbox/CF9 when using event.buildLink ?
Currently I get http://cawksd05.codandev.local:8080/entries/editor when using event.buildlink.
But the correct url should have /index.cfm added to it as shown below:
/index.cfm/entries/editor
Is there a way to...
What is the simplest way to redirect a web request to an ASP.NET application to a subdomain?
If a request comes into the URL http://somesite.com/foo.aspx, the new destination URL should be
http://www.somesite.com/foo.aspx or
http://blog.somesite.com/foo.aspx
How can you programmatically redirect the request to the subdomain, keepin...
(1)
a={'b':'bbbb','c':'ccc',....}
(2)
self.redirect('/tribes/view?b=' + a['b'] + '&c=' + a['c'])
so i want to get
b=' + a['b'] + '&c=' + a['c'] ...
from dict a
hae any easy way to do this ?
thanks
...
So basically what I want to do is have my routes.php setup so that if the route is defined then it uses that routing rule else it does something like this:
domain.com/VAR/controller/method/(vars) to domain.com/controller/method/var/(vars)
I think it can be done with a regex, but my regex-fu is very weak. Any tips would be greatly appre...
I am developing a web analytics kind of system which needs to log referring URL, landing page URL and search keywords for every visitor on the website. What I want to do with this collected data is to allow end-user to query the data such as "Show me all visitors who came from Bing.com searching for phrase that contains 'red shoes'" or "...
I have some pages organised like this:
http://localhost/index.html
http://localhost/download.html
http://localhost/contact.html
And I need them changed to suit the following URL structure:
http://localhost/
http://localhost/download
http://localhost/contact
Without making sub directories and putting in pages as index.html. As far a...
Can I use htaccess to capture requests from a certain subdirectory and make that directory use itself as the root directory for any root relative path requests? For example if I have...
http://www.example.com/subFIXED/subANY/restofpath
...where subFIXED is always the same directory, subANY is any immediate subdirectory of subFIXED, an...
I have this in my .htaccess file...
RewriteEngine on
RewriteRule ^/invite$ /invite.html
It's meant to let a user access this url:
http://mysite.com/invite
and display the invite.html page. I don't want to redirect the user, but just show them the invite.html page from a better looking URL.
When I browse to http://mysite.com/invite...
In java I need to read a binary file from a site and write it to a disk file. This example http://java.sun.com/docs/books/tutorial/networking/urls/readingURL.html could read webpages succesfully, but when I try to read a binary file from my localhost server and write it to a disk file the contents change, corrupting the binary file. Usin...
What are the valid characters that can be used in a URL query variable?
I'm asking because I would like to create GUIDs of minimal string length by using the largest character set so long as they can be passed as a URL query variable (www.StackOverflow.com?query=guiddaf09834fasnv)
Edit
If you want to encode a UUID/GUID or any other in...
How can convert the below youtube urls
$url1 = http://www.youtube.com/watch?v=136pEZcb1Y0&feature=fvhl
$url2 = http://www.youtube.com/watch?feature=fvhl&v=136pEZcb1Y0
into
$url_embedded = http://www.youtube.com/v/136pEZcb1Y0
using Regular Expressions?
...
I'm coming at Lift from a Django point of view, so in Django parlence, I'm trying to find the Lift equivalent of reverse.
In generic terms, I have an instance of a model and I would like to get the URL that that model can be accessed at according to the SiteMap.
I've tried extending Loc, but that doesn't seem to have brought me further...
Hey, I have a program that needs to tell if an online image exists, but the only way that I've gotten this to work is by loading the image in a NSData pointer and checking if the pointer exists.
- (BOOL)exists {
NSString *filePath = @"http://couleeapps.hostei.com/BottomBox.png";
NSURL *url = [NSURL URLWithString:filePath];
...
In PHP, I need to be able to figure out if a string contains a URL. If there is a URL, I need to isolate it as another separate string.
For example: "SESAC showin the Love! http://twitpic.com/1uk7fi"
I need to be able to isolate the URL in that string into a new string. At the same time the URL needs to be kept intact in the original ...
I've been working with a new installation of the "MoinMoin" wiki software. As I was playing with it, typing in mostly random test pages, I created a link with a fragment
blah blah see also [[SomeStuff#whatever|some other stuff about whatever]]
Then I needed to figure out how to create the anchor for that "whatever" fragment identifier...
I want to have a robot fetch a URL every hour, but if the site's operator is malicious he could have his server send me a 1 GB file. Is there a good way to limit downloading to, say, 100 KB and stop after that limit?
I can imagine writing my own connection handler from scratch, but I'd like to use urllib2 if at all possible, just specif...