I am building a site with JSPs and Servlets.
How do I map a URL like this example.com/12345 so that I get the response as if the request was example.com/content.jsp?id=12345?
Hi,
I am passing the email address as part of the url,
for ex. http://example.com/hello/[email protected]
but, when being passed to the application controller it is changed to " user%40hotmail.com ".
I can't seem to understand this special character escaping; confusion.
please help me explain the problem here, and also what can I do to fix it.
I am using python's "webapp" web application framework.
Hello all,
I have a website designed in ASP.2.0 (classical Asp) i wanted re-write my all urls using Microsoft url rewriting tool. my web website is hosted on shared server with ready hosting company.
Now the Readyhosting people said that they are not giving any support to these modules.
Can any please help me in this.
Thanks,
Rau
I'm reading about URL routing at How to: Define Routes for Web Forms Applications and there's something in the example I don't understand. If you look at the example provided below,
routes.MapPageRoute("", "SalesReport/{locale}/{year}/{*queryvalues}", "~/sales.aspx");
specifically at
"SalesReport/{locale}/{year}/{*queryvalues}"
Why does queryvalues have an asterisk in front of it and locale and year don't?
I was wondering if there is an option to change the debugger url when I initialize the debugger. I want it to start off at http://localhost:xxxx/controller/view rather than just http://localhost:xxxx/.
I want my intent to be launched when the user goes to a certain url: for example, the android market does this with http://market.android.com/ urls. so does youtube. I want mine to do that too. If anybody could explain this, thank you very much. Isaac Waller
Yesterday i got to know about one more URL shortening service Saf.li. I think there are hundreds of websites offering such service. I always wonder how do such sites earn? After all they need money to host their data and code.
Also, i really don't understand why techcrunch said this:-
http://techcrunch.com/2009/03/30/if-bitly-is-worth-8-million-tinyurl-is-worth-at-least-46-million/
Is there any one who can explain me this?
Yesterday i got to know about one more URL shortening service Saf.li. I think there are hundreds of websites offering such service. I always wonder how do such sites make money? After all they need money to host their data and code.
Also, i really don't understand why techcrunch said this:-
http://techcrunch.com/2009/03/30/if-bitly-is-worth-8-million-tinyurl-is-worth-at-least-46-million/
Is there any one who can explain me this?
Hi
When used at site level, the IIS7 URL Rewrite 2 module saves its configuration in the web.config file of that site. I'm using Sitecore CMS, and best practice is to store any web.config customisations in a separate config file for ease of upgrading, staging/production setups etc.
Is there any way to specify a different config file for IIS7 redirects?
I know that application-level rewrites are stored in ApplicationHost.config, but I have several sites running on the server and would like to keep them separated.
Thanks, Adam
Hey,
I'm trying to achieve URLs like this in Rails:
http://localhost/posts/1234/post-slug-name
with both ID and slug name instead of either
http://localhost/posts/1234
or
http://localhost/posts/post-slug-name
(right now I have just slug name in URL, so this part is over). How can I do this?
UPD
I found an article on this: http://augustl.heroku.com/blog/styling-rails-urls, instead of /id/slug it suggests to use /id-slug which works perfectly for me, so I'll go with this.
Does anyone have suggestions for detecting url's in a set of elements and converting them to links?
$$('#pad dl dd').each(function(s){
//detect urls and convert to a elements.
});
So a lot of web apps have the customer choose their own subdomain, ie mycompany.webapp.com
Presumably, every subdomain works off the same set of files and the unique subdomain is perhaps stored as a session object. So how does the URL rewriting work?
If someone goes to mycompany.webapp.com, you have to rewrite their unique address to a dynamic page to set the session variable, ie webapp.com/mypage.php?cusomer=mycompany
But then when you redirected, you'd be at webapp.com/theappdirectory/ and not mycompany.webapp.com/
So how do they do it?
I have a domain "test.com" and I want this domain to redirect to "mydomain.com/test". I'm with 1and1 for my domain test.com and with discountAsp for mydomain.com.
In the control panel of 1and1 you can set a redirection from a domain to another domain, so everything is fine.
But when i'm on the page mydomain.com/test I want my url to be rewritten as test.com
Is this possible to do that with IIS or in my asp.page (would prefer in my page)
I'm using iis7
Thanks
I am doing billing project.i am passing invoice number to another .aspx page.
/default.aspx?editid=5 its my url. if i changed my editid no=4 then the records also
changes.how to solve this issue??
page1:
LinkButton InvoiceEdit = sender as LinkButton;
string EditId = InvoiceEdit.CommandArgument.ToString();
Response.Redirect("edit invoice.aspx?EditId=" + EditId);
page2:
String invoiceId = Request.QueryString["InvoiceId"].ToString();
my developer is saying that it is not possible to rewrite url form
example.com/name/name/?lang=english to
example.com/en/name/name/
is it possible to do or not?
if yes, how should it be done?
if not, what could be the reasons?
we have windows based hosting from maddogdomains (godaddy)
Hello,
how to code HTTP URL blacklisting driver for both XP and Vista/7?
I need it for special software for schools
any ideas about HTTPS or VPN? I was thinking about firefox, IE,... extension. Not bulletproof, but better than nothing. It's just school.
Thanks
Is it possible to achieve this? For example I will have "website.com/index.php?skin=name" can I protect only this url? (with no php changing only htaccess)
P.S. "website.com/index.php" or "website.com/index.php?skin=other_name" should not be restricted..
Thanks!
Hi, i've bought a shared hosting on a windows hoster with IIS 6.
I would like to know how to rewrite url.
I can't modify anything on the server, the only thing i can do is to use ... my asp.net code !
some advice ?
Thanks!
Hi,
I have tried to work this regex to set up a goal in GA for 2 days, but I cannot get my head around it...
The url format is like this:
/purchase.php?cDd=1&transaction_id=xxxxxxx&verify=xxxxxxxxxxxxxxxx=&method=creditcard&type=purchase
transaction_id= is populated with a sept of numbers
verify= is populated by a string of numbers, letters in both caps and lower case
Basically I would like to only match URLs which finish by "&method=creditcard&type=purchase"
I have tried to just put &method=creditcard&type=purchase but it does retrieve other URLs too
Would anyone has any ideas
Hello,
I need to create an NSImage from a url and then set it to an image view in my application. I tried some code I found online but it didn't work. If anyone knows how to do this any help would be great.
Thanks
Hi anyone know how to url cloaking in web pages ? ive seen it on webpages and free redriction services before...but i dont know how to do it server side - do u use htaccess???? im totally clueless....
I am writing a tomcat app, and have a need to do authentication within the URL like this:
https://user:[email protected]
Except for the life of me i'm not sure how to set it up or able to find the docs to read up on it, clearly my google skills need work.
Can anyone tell me where i should be looking for this kind of info or where to start?
Cheers
Andy
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.