I just installed an SSL certificate on my site to protect a registration page that I have, but I’m trying to figure out how to get the “https” in my URL. I have created a template in Dreamweaver with my header and footer, and a space for my body content. Each of the links on the template are relative paths: /home.html, /register.html, etc. So how do I get the https on my registration page? Furthermore, [...]Continue Reading »
I’ve been looking at the Heroku custom domain feature, which enables to change a url from subdomain.heroku.com to www.whatever.com. Is something like this possible with mod_rewrite or how is this done? It can’t be a simple re-direct, can it? Asked by frequent No rewriting is necessary. They achieve this by adding your domain to the list of HTTP Host headers that will be mapped to the handler that also handles your subdomain under their own [...]Continue Reading »
I need help with setting up a rule inside htaccess that does the following, Whenever the requested URL contains keyword love then redirect the user to another URL or maby show a 404 page. Clarifying a bit more: If someone tries to access this URL –> www.domain.com/love or www.domain.com/?love or any URL that contains the word love should be redirected to a 404 page. Asked by Johan Larsson You need to deal with matching something [...]Continue Reading »
The idea is to add a rule to my iis (version 7) to redirect this http://www.mydomain.com/folder/Default.aspx?&variable1=eeee&variable2=aaa to: http://www.mydomain.com/folder/Default.aspx?&variable1=ffff&variable2=gggg But it have to be only with this specific url and all the urls must mantain the same thing I read this article http://blogs.iis.net/bills/archive/2008/05/31/urlrewrite-module-for-iis7.aspx but is for patterns and all url and this is an specific url Thanks! Asked by Saikios Try this: <configuration> <system.webServer> <rewrite> <rules> <rule name=”MyRule” patternSyntax=”ECMAScript” stopProcessing=”true”> <match url=”^folder/Default.aspx$” /> <action type=”Redirect” url=”folder/Default.aspx?&variable1=ffff&variable2=gggg” [...]Continue Reading »
I have two webservers installed on one machine: Apache running on port 8080 IIS on port 80 I want to define a rule in IIS that whenever someone wants to access my server in the form of apache.myserver.org the visitor should be redirected to myserver.org:8080. In any other cases the IIS on port 80 should be used as webserver. Is that possible with the IIS? Asked by xsl You’re looking for a reverse proxy. This [...]Continue Reading »
I have an image gallery on a IIS7 server. I would like to have a button to force download the currently visible image. Maybe something like setting an url parameter: http://website.com/images/img.jpg?download Globally detect this parameter and then set the Content-Disposition header to attachment. My question is, how would I do that? Can I set it in the web.config file somehow? I’m more of a frontend guy. Asked by Sindre Sorhus Yes you can, but only [...]Continue Reading »
This seems straightforward, but I can’t make it work. I have a pretty trivial webserver that only needs to do two things: example.com/status.html returns a local file (this works) example.com/atom redirects the contents of the firewalled server running on the same machine on port 4000 This didn’t work: RewriteRule ^$ http://localhost:4000 That redirected traffic back to localhost:4000 from the requestor’s point of view (ie, on the client’s machine). My limited understanding of VirtualHost indicates that [...]Continue Reading »
We have an Exchange 2010 SP2 system consisting of a single Mailbox/Hub/CAS server and a single Edge server. The MHC server is exposed to Internet users via a TMG 2010 reverse proxy. All Exchange web services use a public FQDN in an old DNS domain that we are replacing with a new one; let’s call the current public FQDN of the server webmail.olddomain.com and the new one webmail.newdomain.com. We already bought a new certificate for [...]Continue Reading »
I have the following URL which displays a normal static website: www.example.com. This site is hoted on Amazon. I want to make all urls starting with www.example.com/redirect to redirect to another hosting account that I have. Note that I also want the host to be at the above domain (i.e., it is not a re-direct to another url here). If this account is located at 1.23.345.678. What do I need to change in the .htaccess [...]Continue Reading »
I’m writing a Backbone.js application that makes use of the HTML5 history API. I would like users to be able to create URLs of the form: domain.com/any domain.com/random domain.com/paththattheuserlikes and have all these URLs routed to my index.html page, where the Backbone router will take the path and process the request appropriately. My question is this: how can I set up Apache to route all requests to that domain to index.html, while keeping the path [...]Continue Reading »
- Cron expression that runs every 5 minutes from 1:30 am – 6:00 am [duplicate]
- Understanding redundant power supplies
- Is there a way for administrators to disable users from installing Firefox extensions?
- Is there research material on NTP accuracy available?
- How to create a limited “domain admin” that does not have access to domain controllers?