Questions tagged [url]

Uniform Resource Locators are a generic scheme for specifying the location of resources. They are most commonly used for identifying locations on the Internet (such as webpages and email addresses) but can be used to reference almost anything.

519 questions
2
votes
1 answer

How come I can only visit the subdomain if I include the index.php in the address?

How come I can only visit the subdomain, e.g. subdomain.domain.com, if I include index.php? subdomain.domain.com, doesn't work. subdomain.domain.com/index.php works. do I have to change something in the httpd.conf file? I'm sorry if that's a stupid…
user94142
2
votes
1 answer

Conditionally set Content-Disposition header

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…
Sindre Sorhus
  • 123
  • 1
  • 4
2
votes
2 answers

How to configure both apache and tomcat on same url?

Say I have a registered URL mywebsite.com pointing to my server with a public IP address. I want to run both tomcat and apache to serve pages (i.e., some static pages on apache and some dynamic pages on tomcat, like jsp etc...). For the sake of…
Jérôme Verstrynge
  • 4,787
  • 7
  • 24
  • 35
2
votes
2 answers

Django - Different URLs for Production and Development?

Is it possible to have two different urls.py files for one project, using one of them all the time, but then invoking the second for development purposes? What I want is this: For production (and is live 24/7) I want the following…
Garfonzo
  • 499
  • 2
  • 18
2
votes
2 answers

IIS Virtual directory/application name in upper case

In IIS I have web site with .Net application, accessible like this: http://site1.example.com/myapp The site requires authentication, so when I access it, it redirects as expected to http://site1.example.com/myapp/login.asx I exported the…
Sunny
  • 5,834
  • 3
  • 22
  • 24
2
votes
1 answer

Nginx url mapping

Right now I have my website running on tomcat, www.domain:11000/projectName, I am trying to map when the user enters www.domain:10000 (would do port 80 but my ISP blocks port 80 so I use port forwarding 10000-->80) I created a new site in my…
RMT
  • 125
  • 2
  • 7
2
votes
4 answers

URL Dash Disadvantage

Anyone know any hard facts about the disadvantage of having a dash in your URL? Heard some disparaging words about having dashes in your URL and it just so happens that our company has a dashes in the URL of our main site. We've got a dashless…
Peter Turner
  • 2,178
  • 9
  • 33
  • 45
2
votes
2 answers

Make shortened and long urls play together on the same domain (RewriteRule)

Long story short, I want to have both example.com/aJ5 and example.com/any-other-url working together. I'm using apache and not very good at writing regex. I have already a global RewriteRule which sends everything to the app entry point. What I need…
2
votes
3 answers

Using nginx and/or varnish to cache server-generated 301 redirects

I'm implementing a sort of url-shortener service. What happens is that I have some backend app server that takes in a request, does some computation and returns a 301 redirected url back upstream to an nginx frontend: request ---> nginx ----> …
rlotun
  • 196
  • 1
  • 6
2
votes
4 answers

Website Versioning Practices

I tried searching, but I couldn't really figure out the best search terms to find my answer. I have a Ubuntu 10.04 server with Apache. I want to set up a site that will be versioned, so my file structure will look…
Travesty3
  • 249
  • 1
  • 3
  • 13
2
votes
4 answers

Absolute urls not working with Apache2 AJP proxy Tomcat

I don't seem to get how to configure ReverseProxy correctly. The URLs returned are all for the root directory "/", not "/tomcat" and only the main "default" tomcat page is displayed. I use Apache2 as a frontend for Tomcat with the following Proxy…
Indrek
  • 73
  • 1
  • 6
2
votes
2 answers

Is it possible to alias a URL in apache without using hosts?

Hi all I am very new to this. I have a local intranet running an apache server. To access the web application, I am using the URL localhost:2130/app/. I would like to change it to something like www.app.com. Is this even possible? well, if I…
onesith
  • 123
  • 4
2
votes
1 answer

munin to monitor apache hits on particular URLs

We are having a problem with our web application, and are currently monitoring performance via munin. We have defined a list of URLs that are causing problems, and am hoping for munin to find out from the apache logs when those urls are being hit.…
bobinabottle
  • 579
  • 2
  • 7
  • 19
2
votes
2 answers

How to setup custom subdomain with Posterous blog

I want to setup my custom subdomain with my posterous blog: tahirakram.posterous.com. I am confused over setting up A record and CNAME. Do I need to set A record and CNAME both to run my posterous to this URL: blog.tahirakram.com? So far I set up…
Tahir
  • 237
  • 2
  • 6
2
votes
2 answers

How do I redirect a specific URL/ROUTE/PATH/LOCATION to another?

Say my client (current device) wants to connect to a URL, say foo.bar.com/spam/eggs/123, how do I serve or redirect to another specified URL, say 127.0.0.1:8080, and prevent the client from reaching foo.bar.com/spam/eggs/123? What software can I…
Anm
  • 181
  • 9