RewriteCond %{HTTP_HOST} !^www.example.co.uk$ [NC]
RewriteRule ^(.*)$ https://www.example.co.uk/$1 [R=301,QSA,L]
thats for the www, but I cannot figure out in a one-pass way how to force the https too?
...
Hello everyone
I wonder if there is a way to recognize the visit from user's iphone and automatically adjust web page to fit iPhone screen size?
...
Hi,
I'm installing a product developped in ASP .NET 3.5 SP1
I made a setup using ASP .NET Web Deployment Project. The Setup runs without any problems on one server, and fails on a freshly installed one.
The .NET 3.5 SP1 framework is installed on a fresh W2k8 Server.
Anyone knows what I should install to get the Setup running?
...
I'm developing a web application, and facing some security problems.
In my app users can send messages and see other's (a bulletin board like app). I'm validating all the form fields that users can send to my app.
There are some very easy fields, like "nick name", that can be 6-10 alpabetical characters, or message sending time, which ...
I am trying to invoke a web service that I have just hosted on out linux redhat server but it throws the error {http://xml.apache.org/axis/}stackTrace:Exception occurred while trying to invoke service method + "methodname"
I host the service in apache tomcat webserver
The same service works fine when i host it in the windows xp environm...
Hi everyone.
I'm having a problem where the WCF service hangs after 13-14 asynchronous process calls from the client. This occurs all the time. The client is a mobile JavaFX app. There is no specific error outputted in the server as well as in client. Someone suggested that it might be a throttling issue.
I've set the service side .co...
I am setting background color of an li element by the code below :
$('#li123').animate({ backgroundColor: color}, 'slow');
It works fine but the color spans whole length of li. What do I do if I want it to span the text contained in the li only.
...
Hello,
I need to implement an autodetect feature for a simple, plain html website I am working on.
It has two languages and the client wants it to automatically select the language.
This could be done either via the browser's language or geolocalization, both options are good.
Can someone point me to a good script or solution to do th...
Hello,
Sending username and password as plaintext, but trough HTTPS; then on server hash(salt+password) and compare that with the hash in the DB. (salt is per-user)
Doin' it right? :)
Cheers
PS: I'm using Ruby/Sinatra, gonna serve via lighttpd, I think.
...
So were loading a a report from a saved file (this seems to not be the general way to do things), but the report viewer refuses to initialise the parameters popup. WTF!!!
Here's the code:
protected void Page_Load(object sender, EventArgs e)
{
string ReportName = Request["ReportName"];
XtraReport newReport = CreateReportFromFile(Rep...
I have a web application developed with Spring 2.5. The application has numerous controllers, containing GET and POST request methods, which are marked with RequestMapping annotations, like this:
@RequestMapping(method = RequestMethod.GET)
I would want to execute some code before each such request, without modifying the existing cont...
Hello,
The title is self explanatory I guess.
How can I develop a C# application to open a page in a web browser, given the URL, and refresh it continuously (always the same URL).
Thanks!
...
We have a little situation thats kinda got out of hand latly.
Our web application is built upon several ASCX user controls. All of them
is available to customize (pointing to another ASCX-path). What we do
when we customize is to make a copy of the source ASCX and make some
changes.
Now the problem, when there have been much commits to ...
I am currently developing a web application to be run in iPad. How do I control which keyboard is displayed when a user touches a text field?
input type="text" pattern="[0-9]*"
I have tried the above html codes which tested working in ITouch but in the Apple iPad SDK emulator, it imply brings up the normal keyboard.
Any idea?
Thank...
I am consuming an external C# Web Service method which returns a simple calculation result object like this:
[Serializable]
public class CalculationResult
{
public string Name { get; set; }
public string Unit { get; set; }
public decimal? Value { get; set; }
}
When I add a Web Reference to this service in my ASP .NET proje...
I'm wondering if I should use OpenId for my website. My first exposure to OpenId was StackOverflow, and I found it confusing that they only had a login link, yet no register link. Now that I've learned about OpenId though I prefer it over the regular way of registration.
I have a feeling that only a small percentage of the internet us...
Hi,
I need your opinion about this one. Which browsers (well, the best, at least) do you recommend for web developers to use?
...
I need to show a webpage (a complex page with script and stuff, no static html) in a frame or something. It's for a desktop application, I'm using python 2.6 + wxPython 2.8.10.1. I need to catch some events too (mostly about changing page). I've found some samples using the webview module in a gtk application, but I couldn't have it work...
I am wrting an article on web developers. It seems to me there are some problems on the definition of "what is a web developer".
It looks like a web developer title is a bit misunderstood, and people with this title often do not get the recognition they deserve.
While most people in IT have some well defined job defitinitions, a web de...
Hello,
I was wondering the best way to upload file to a web server in cocoa. I cant seem to get my curl code to work even though it works when run from terminal.
curl code:
system(@"curl -T /file.txt http://webserevertouploadto.com")
Thanks for any help
...