Search Results

Search found 19174 results on 767 pages for 'restful url'.

Page 30/767 | < Previous Page | 26 27 28 29 30 31 32 33 34 35 36 37  | Next Page >

  • ASP.NET MVC Default URL View

    - by Moose Factory
    I'm trying to set the Default URL of my MVC application to a view within an area of my application. The area is called "Common", the controller "Home" and the view "Index". I've tried setting the defaultUrl in the forms section of web.config to "~/Common/Home/Index" with no success. I've also tried mapping a new route in global.asax, thus: routes.MapRoute( "Area", "{area}/{controller}/{action}/{id}", new { area = "Common", controller = "Home", action = "Index", id = "" } ); Again, to no avail.

    Read the article

  • Apache url rewrite problem

    - by Ankit
    requests ----- should be written to new url /institute/dps ----- /institute.php?slug=dps /institute/abc ----- /institute.php?slug=abc /institute/123 ----- /institute.php?slug=123 I am using following rule in .htaccess RewriteRule ^institute/(.*)$ /institute.php?slug=$1 However, it's not working. the page insitute.php get's execution, but the query string always comes empty. Any suggestions?

    Read the article

  • Get source of some http url with javascript

    - by neon
    Please, I have another simple question for experienced programmers. Is it possible to get source code of any webpage with javascript at client side? With AJAX maybe? But I need that the server I am downloading the url from does see the IP of the client.. with AJAX it will show my script server IP, right? Thank you in advance.

    Read the article

  • .htaccess | Adding A Second Vanity URL

    - by Necro.
    I want to take my .htaccess file and add a second rule for another vanity URL as I already have one declaring the page. So how would I write it so I can go to my page, and the next vanity being a variable for a profile? Ex:// mywebsite.com/page/profile Here is my current .htaccess file. RewriteEngine On RewriteBase / RewriteRule ^([a-zA-Z0-9-]+)$ index.php?p=$1 [L] RewriteRule ^([a-zA-Z0-9-]+)/$ index.php?p=$1 [L]

    Read the article

  • Removing a querystring from url in asp.net

    - by user279521
    HI, I need to remove a querystring when a user clicks a particular LinkButton. So for example if the querystring is http://UserProfileManager.com?UserID=1234 .... when the user clicks on the Linkbutton, I want the url to be http://UserProfileManager.com. The issue is that everything is on one page, and I am using Any ideas would be appreciated.

    Read the article

  • Web Service URL Problem

    - by user221330
    H!, I have a solution in which there is several other sub projects (windows application). in every project I have some web services added. Now the problem : how can i set the URL of each web service individually from the app.Config file?? is there a setting I missed to set ? can it be automatically done or I have to code for it ? Thank you friends.

    Read the article

  • Kohana 3 - Getting value from URL

    - by pigfox
    I have log in functionality that will check for a session, if it not there the user will be redirected via Request::instance()-redirect('managers/error/1'); In the error action in the managers controller I can't get the value 1 which represents a specific error msg. How can I capture the value "1" from the url, I'm only using standard routes.

    Read the article

  • Hide URL of PHP page

    - by manoj singhal
    I want to hide the URL of my PHP page; that is, I don't want to write /register.php directly in the href tag, I want to write /register/ and have it open the register.php page directly. I want to do that for all the webpages.

    Read the article

  • Whats the best way to send multiple variables in a query string within a URL

    - by Andy
    I have a client who is wanting to create a link which contains product codes so that his customers hit a page with just those products displayed in an attempt to increase conversion rates from affilliate sites. My question is whats the best way to send these multiple products in a single URL For example: http://www.mydomain.co.uk/bespoke-list.php?catNo=234-324-232-343 Obviously then the site would grab the codes from the string and display them... We're going to be using PHP! Thanks in advance.

    Read the article

  • Java convert JSONObject to URL parameter

    - by Alex Ivasyuv
    What is the elegant way to convert JSONObject to URL parameters. For example, JSONObject: {stat: {123456: {x: 1, y: 2}, 123457: {z: 5, y: 2}}}} this should be like: stat[123456][x]=1&stat[123456][y]=2&stat[123457][z]=5&stat[123457][y]=2 of course with escaped symbols, and of course JSON object could be more complicated.. Maybe there already exist some mechanisms for that? Thanks,

    Read the article

  • Remove hash (#) from url in Ajax navigation without refresh

    - by Email
    I have an ajax navigation similar like here. now if a menu is clicked window.location.hash is added like this #about i want to REmove the hash (#) so that people can easily copy and share the link naturally. How this can be done in april 2012 without a pagerefresh crossbrowserwise (IE7+,FF,Opera,Safari) ? For inspiration: Here is actually someone already doing this, click on "portfolio" or "features" and watch the url in your browser. thanks for tips

    Read the article

  • url redirection

    - by psdesai
    Hi, I need some help with regards to the url redirection. Here is the problem. We have a website with a section as http://www.site.com/sectionxxx/index.jsp we have another domain http://www.sectionxxx.com. The task is to forward any request comming for the http://www.sectionxxx.com; direct to http://www.site.com/sectionxxx/index.jsp. Any idea? P

    Read the article

  • Making views accessible through URL - Drupal

    - by RadiantHex
    Hi folks, I have configured the standard "frontpage" view in order to display a list of nodes, just by displaying a field (the banner image). Unfortunately the URL /frontapge does not return the previewed template, but the same page that would get displayed before the views module was installed. Help would be much appreciated.

    Read the article

  • What does this URL structure mean?

    - by SteD
    Does this mean that it will be looking for index.php and provide the GET variable y with /home/xxx/public_html/control/&x=shell? http://www.xxx.com/control/?y=/home/xxx/public_html/control/&x=shell Long story: Website got defaced, and found this b374k script when browsing to one of the page, I am trying to figure out where exactly they injected this script, thus trying to figure out a hint from this url where the scripts resides in.

    Read the article

  • Getting the URL of a model in Lift

    - by scompt.com
    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 towards my goal. I'm using the most recent 1.1 milestone (M8?).

    Read the article

  • Get the subdomain from a URL

    - by jb
    Getting the subdomain from a URL sounds easy at first. http://www.domain.example Scan for the first period then return whatever came after the "http://" ... Then you remember http://super.duper.domain.example Oh. So then you think, okay, find the last period, go back a word and get everything before! Then you remember http://super.duper.domain.co.uk And you're back to square one. Anyone have any great ideas besides storing a list of all TLDs? John

    Read the article

  • Url routing asp.net 4

    - by user510336
    Hello all , I am trying to create url routing like this http://msdn.microsoft.com/en-us/magazine/dd347546.aspx but I am having few questions , first why he is adding lines to the web.config , I tested it and it didnt appear that they're doing something as I commented them and nothing major appeared second I am having this line of code that is crashing var display = BuildManager.CreateInstanceFromVirtualPath(_virtualPath,typeof(Page)) as IProfileHandler; when casted as ihttphandler it's working , but when I am casting it to iprofilehandler(which is implemeting ihttphandler) it's giving null !

    Read the article

< Previous Page | 26 27 28 29 30 31 32 33 34 35 36 37  | Next Page >