url

google search result URL error

In google search result URL is showing wrong that is https: rather than http: How to rectify this error? In yahoo and other search engine its showing right URL ...

Find Blog url and latets post like hubspot website grader

Have you come across the grader site developed by Hubspot. In there, if you run the reports in the first section it reports if a blog url is found. I am at my wits end as to how they determine the url and the latest 3 pots. for e.g. http://websitegrader.com/site/www.mashable.com The blog url are the respective domain names, which i thin...

Generating a non-sequential ID/PK for a Django Model

I'm on the cusp of starting work on a new webapp. Part of this will give users pages that they can customise in a one to many relationship. These pages naturally need to have unique URLs. Left to its own devices, Django would normally assign a standard AUTOINCREMENT ID to a model. While this works fantastically, it doesn't look great an...

getting URL before unloading in IE

Can I get the updated URL before the page unloads. I'd like to check if this URL is still the URL being used by the user during a refresh.I'd like to do something before the user changes to another page. usecase: [Normal] browser address bar: www.mypage.com/page1.html user clicks reload NO popup notification display Page reloads [Abn...

iphone SDK:How use URL to post data back ?

I read a plist data at LightTableViewController.m and I load a data like this : LOG RESULT: The Plist Data Is : ( { category = 11; id = 1; name = "LIVING RM"; status = 0; }, { category = 11; id = 2; name = "BEDROOM RM"; status = 0; } ) I ne...

redirecting several domains to one in .htaccess

I would like to add some code to my .htaccess to redirect several different domains to a single domain. I have seen code that will do this for one domain such as: RewriteCond %{HTTP_HOST} ^www\.example\.net RewriteRule (.*) http://www.example.com/$1 [R=permanent,QSA,L] But what is the best approach to have multiple domains redirecte...

How do I parse and rebuild a URL in ASP.Net?

I'm devloping a C#/ASP.Net app and I'm trying to find a means of breaking down a URL into its component parts, then swapping out, or deleting these parts and creating a new URL. For example if I have the following URL: https://www.site.com/page.aspx?parm1=value1&parm2=value2 I'd like to split the URL down into: Protocol (http...

Sneaking behind China's Great Firewall : DNS issues

Hi there, I have a website hosted on appengine, and I use my own domain name on it. It appears that mysite.appspot.com can be accessed (I checked on http://just-ping.com) but that mysite.com is blocked. How can I manage that? Edit: I use google apps on my domain, for mail, blogging on subdomain, and redirecting to appengine. These 3 ...

JDBC URL for Oracle XA client.

Using the JDBC driver oracle.jdbc.xa.client.OracleXADataSource, what is the correct format of the JDBC URL? The thin format of jdbc:oracle:thin:@host:port:sid does not work. WebSphere is reporting that the given url (which is otherwise correct) is invalid. The test connection operation failed for data source Oracle MyDB (XA) on se...

Can we use Opencv to get live video stream over the internet? How to do that?

I tried giving cvCreateCameraCapture an URL of the camera viewing on internet. However, I can't get any video playing. I am writing in C language. ...

On a LAMP server, I want the URL http://example.com/index.php to be rewritten to http://example.com. How do I do that?

On a LAMP server, I want the URL http://example.com/index.php to be rewritten to simply http://example.com My current .htaccess file is as follows... IndexIgnore * ErrorDocument 400 /index.php?module=error&action=error ErrorDocument 401 /index.php?module=error&action=error ErrorDocument 403 /index.php?module=error&action=error ErrorDo...

Proper way to check for URL equality

I have the following scenario: URL u1 = new URL("http://www.yahoo.com/"); URL u2 = new URL("http://www.yahoo.com"); if (u1.equals(u2)) { System.out.println("yes"); } if (u1.toURI().equals(u2.toURI())) { System.out.println("uri equality"); } if (u1.toExternalForm().equals(u2.toExternalForm())) { System.out.println("external ...

.htaccess php progress.

Thanks to the people that've helped me so far with this, I'm ready for the last step, I think. I've got my URLs looking like this. /brochure.php?cat_path=35&name=concrete-intermediate-posts This is great and finally I just need to know how to turn that URL into this desired URL: /brochure/35/concrete-intermediate-posts Just like t...

jQuery ajax url problem

Ok a have an script for submiting input data. There is an url of my site going like this : http://www.<!mywebsite!>.com. This ajax request works perfectly when user is viewing my iste on http://www.<!mywebsite!>.com, but when he visits my site without www. e.g. http://<!mywebsite!>.com than the request doesn't works. I ...

tomcat 6: accessing web app without war name in the URL and without overwriting ROOT?

in my war's META-INF/context.xml I have: <?xml version="1.0" encoding="UTF-8"?> <Context path="/foobar" docBase="my-long-war-name"/> I deploy my war to the webapps/ directory and I confirm that my contex.xml is in %CATALINA_HOME%\conf\Catalina\localhost with the name my-long-war-name.xml Now, instead of accessing my REST service thr...

how to remove "public/" from http://localhost/myscript/public/ in Zend Framework

By default my script is accessible by using this url http://localhost/myscript/public/. But i need to access it by this url http://localhost/myscript/. How can i do this in Zend Framework. ...

Change the url of asp.net page from code behind.

Hi All, I am trying to change change the url of current aspx page to the other url on a click of button. Using Request.Url.AbsoluteUri i can get the url but is it possible to modify?. If yes, what actions will it take i mean will it be a new request or a post back. Please let me know your views. Thanks, Mehul makwana ...

passing parameters to a jquery javscript function?

i have this jquery function that i want to pass topic parameter to, i just dont know how to pass it lol :)). the jquery function: function loadPage(url) //the function that loads pages via AJAX { url=url.replace('#page',''); //strip the #page part of the hash and leave only the page number $('#loading').css('visibility','v...

Is there a way to AJAX load a page and change URL in URL bar without hashing?

This is probably going to get a resounding no, but I am wondering if it possible to have the URl change dynamically with using hashing, and without invoking a http request from the browser? My client is keen on using AJAX for main navigation. This is fine, when the end user goes to the front page first, but when they want to use the dee...

Flex 3, component Ids and URLS -- Hyphens vs. Underscores

Hi, I'm using deeplinking in a Flex 3 application. I've got a ViewStack and I'd like to use the id's of the canvases in the url. I've read that search engines prefer hyphens over underscores as word separators. So, the search engine sees "big-book" as a separate word, but "big_book" as possibly one word. Also, underscores are obscured...