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
2 answers

URL redirect using Windows DNS

I have a website say xyzuniversity.com/north. I want to redirect college.com to be redirected to xyzuniversity.com/north using Windows DNS entries. Is there a process to do this? Also what are the possible ways to do this. Thanks in advance!!
Dragan Kidovic
  • 147
  • 1
  • 2
  • 10
2
votes
3 answers

URL Query String Causes Layout to Break

I have an Apache server based Wordpress site that rewrites URLs to be "pretty". When I include a query parameter in the url the site breaks. So: http://mysite.com works fine but: http://mysite.com/?anything Does not... loading the page contents…
Lothar_Grimpsenbacher
  • 1,677
  • 3
  • 19
  • 29
2
votes
1 answer

Asterisk IVR - input variable and go to an outbound URL

I have an Asterisk outbound IVR system set up, and I'd like it to talk to my LAMP stack on a different server. I've set up the PHP end to receive data from the IVR server and record it in MySQL, but I can't figure out how to get the Asterisk end to…
Chad
  • 123
  • 1
  • 4
2
votes
1 answer

Reverse proxy in IIS to local TomCat

IIS has several websites: domain1.com a.domain2.com b.domain2.com There is also a TomCat running on localhost:8087 The challenge is how to expose the TomCat externally as b.domain2.com What I did: Enabled Proxy in ARR in IIS Added Reverse…
Alex Kazansky
  • 21
  • 1
  • 3
2
votes
0 answers

nginx proxy_pass to different backends based on location / passing rewrited url

What the quickest and cleanest solution if you want to proxy URL request to two different backends via proxypass based on location. location /app1/ { alias /var/www/ruby/public; proxy_set_header X-Real-IP $remote_addr; …
lowk3y
  • 39
  • 2
2
votes
4 answers

Change the prefix of a website? (IE: www.example.com/bob_11 -> bob_11.example.com)

Some websites have variable prefixes. For example: www.example.com/bob_11 is presented as bob_11.example.com. How do I do that? I assume its a sub-directory, but can't find anything explaining how to treat it as such. I recently set up an apache…
tavoe
2
votes
2 answers

Hebrew filenames in the URL

We have a CMS that enables users to upload images and flashes to their site. Sometimes the filenames are in Hebrew. In our development server there is no problem, but in our production server we get a 404 error when the filename ends with Hebrew…
Lea Cohen
  • 137
  • 1
  • 10
2
votes
1 answer

Access all websites on a server via a shared domain

My setup is: Nginx(80) as a transparent proxy Apache(81) as back-end web server The paths to each domain on the server are like this: /var/www/$username/data/www/$domainname Of course to access the files you need to use the domain name of each…
Jim
  • 410
  • 4
  • 14
2
votes
1 answer

nginx short urls for mediawiki

I am trying to do short URLs for a MediaWiki site. The wiki is in a subdirectory mydir (http://www.example.com/mywiki). I've already set up rewrites in /etc/nginx/sites-available so that example.com redirects to example.com/mywiki. Currently the URL…
William
  • 125
  • 1
  • 3
2
votes
3 answers

Redirect user if URL contains a specific keyword with htaccess?

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 maybe show a 404 page. Clarifying a bit more: If someone tries to access this URL…
Johan Larsson
  • 117
  • 3
  • 13
2
votes
2 answers

How to get a custom Amazon s3 url?

Right now when I upload a file to my Amazon s3 buckert the url to the file looks like this: https://s3.amazonaws.com//filename.extension I would like to use something like this: cdn.mysite.com/filename.extension How can this be…
JakeRow123
  • 135
  • 1
  • 2
  • 4
2
votes
2 answers

Should my web server add trailing slashes to URLs or remove them?

I've read in several places that you should decide whether you want trailing slashes or no trailing slashes in your site URLs and stick to your choice consistently. This makes sense, but which should I pick? Is there a convention I ought to follow,…
jnm2
  • 217
  • 2
  • 3
  • 11
2
votes
1 answer

How to redirect an specific url with specific variables in iis

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…
Saikios
  • 133
  • 1
  • 6
2
votes
1 answer

htaccess: how to rewrite to clean urls and redirect old urls to the new clean ones?

With htaccess I'm trying to make my sites urls clean. I use very basic urls like: www.mysite.com/pagename.php ("pagename" is variable). I want www.mysite.com/pagename to display the content of /pagename.php So this is in my htaccess-file…
Sebastian
  • 21
  • 4
2
votes
8 answers

Small domain names

I'm want to register a small domain name. I want it to be easy to use from a mobile phone. The '.com' extension is hard to use because you have to press 'o' then 'm'. Does anyone has any suggestions of small domain extension names and where to buy?
Daniel Moura
  • 215
  • 2
  • 11