Questions tagged [redirection]
The redirection tag has no usage guidance.
328
questions
2
votes
0
answers
584
views
Nginx multiple server blocks
Im having an issue trying to configure Nginx to work with gitlab and some other sites I have.
I have foo.com that points to my server. bar.foo.com also points to my server.
I'm trying to have ...
2
votes
0
answers
3k
views
Linux: serial port forwarding via RDP to Windows machine
I'm trying to redirect serial device on /dev/ttyUSB0 to RDP session with Windows (XP or server 2003) through FreeRDP or rdesktop.
Like this for example:
xfrerdp /a:serial,COM3,/dev/ttyUSB0 /v:server
...
0
votes
1
answer
85
views
SBS 2008 Redirection visibility issues - want to move off SBS 2008
I inherited an SBS2008 server which had a corrupt or otherwise lost userid which was used to setup redirects, etc.
I was able to break in by enabling the Administrator ID and resetting the password.
...
0
votes
1
answer
764
views
Redirect all dynamic links served using https to http
So, here is the situation:
We are running a website which is powered by Drupal. Sometime ago, it was decided that the website should be served as SSL. The settings to redirect the site from http to ...
0
votes
1
answer
2k
views
iptables redirect UDP packet to multiple destinations [duplicate]
Possible Duplicate:
How to Tee udp packets onto a different host
I'm running some instances in Amazon's Virtual Private Cloud. One instance is inside a VPN only subnet (10.128.1.0/24) connected ...
2
votes
0
answers
98
views
Flipping between databases
I have inherited a tomcat application running on RHEL that connects to a local postgres database. We have a total of 8 servers in multiple states running this. Each server actually has two different ...
0
votes
1
answer
321
views
nginx redirect to another host with params?
i need to redirect
http://auth.foo.bar/verify/:id/:name/:domain
to
http://auth2.foo.bar/api/verify/:id/:name/:domain
where :id, :name and :domain are variables. any advice on this?
thanks!
1
vote
2
answers
2k
views
HAPROXY per domain redirection
I'm trying to redirect requests to my load balancer by domain name with acl and hdr_dom, to a separate backend.
The redirection works ok with the first request - 'GET /' (the destination server is a ...
0
votes
1
answer
807
views
Setting Up nginx Site Down That Responds Differently to Ajax?
I am trying to set up an automatic site-down page for nginx. So far I have this:
location / {
try_files /sitedown.html @myapp;
}
location @myapp {
...
}
...
0
votes
1
answer
332
views
nginx - another rewrite or internal redirection cycle - drupal
While migrating a site from another server, some strange problem occured.
I use the default configuration for all my drupal sites, but this one doesnt seem to work.
Some image files cause an internal ...
-1
votes
1
answer
498
views
Bash Redirection Encoding [closed]
I'm trying to use the command base64 somefile.ext to covert files to text. The only problem is that the file size increases by 35%, and that becomes unacceptable for my larger files. I suspect that ...
3
votes
3
answers
1k
views
SH conditional redirection [closed]
I want to be able to redirect some output of my script to /dev/null based on a command line switch.
I don't know how should I do it.
In a silly way, it would be something like this (in a too ...
2
votes
0
answers
580
views
URL Rewrite in Apache + Tomcat set up with change in web application context
How to make URL
http:/hostname:8080/abc?func=ll point to the URL
http:/hostname:8080/xyz?func=ll automatically.
Set up is Apache behind which Tomcat is present.
Application "xyz" is deployed on ...
8
votes
2
answers
8k
views
Access D-Bus remotely using socat
Description:
I'd like to access a D-Bus system service from another machine, knowing only machine's IP address and the service to connect to.
What I have recently found is Gabriel (D-Bus over SSH). ...
0
votes
1
answer
501
views
GP Preferences vs folder redirection. Start menu
We are looking at creating set start menus but unsure if we should use GPP or folder redirection.
We have laptops that are taken off site so folder redirection would have to be to the C drive on the ...
1
vote
1
answer
295
views
Varnish Port Rediecting to 80
Running varnish on port 8888 for testing, apache on port 80 but when i type in [url]:8888, it keeps redirecting to [url] only. varnishlog shows the redirection as well. I'm thinking wordpress might be ...
0
votes
3
answers
2k
views
Using port 80 for web server adds weird query string
When my web server is using port 80, a weird query string is appended to any page my visitors go to and breaks some of my services. I changed nginx to use port 81 and it works fine, without the ...
2
votes
2
answers
6k
views
Windows cmd stderr redirection to stdout while keeping output to stderr?
Is there a way in Windows 7 cmd shell to redirect the stderr to stdout while keeping the stderr stream intact?
For example, I have a program that outputs to stderr and stdout the following message
...
0
votes
1
answer
447
views
Reverse a .htaccess redirection rule
Let me explain by example. Say, I have this redirection rule in my .htaccess file:
RedirectMatch 301 ^/([^/]+)/([^/]+)/$ http://www.example.com/$2
What it basically does is, redirect http://www....
-1
votes
2
answers
210
views
DNS redirection when external website is down (Server 2008)
Is it possible to set up a failover system such that when a website (external to our organisation) goes down (can't be reached) that the DNS redirects to an internal site?
0
votes
1
answer
287
views
Public DNS redirect subdomain to Windows Server 2003 DNS
I'm a programmer by trade but often dabble in sysadmin tasks and responsibilities. I have recently been tasked with setting up a Windows Server 2003 networking environment for a small business with ...
-4
votes
3
answers
1k
views
.htaccess and PHP redirect hack on GoDaddy Website [duplicate]
Possible Duplicate:
My server's been hacked EMERGENCY
A friend is experiencing a random redirect to an RU domain for two of her websites, along with a malicious cookie attack, as per a Norton ...
1
vote
2
answers
5k
views
cdrom redirection fails on ILOM for Sun x4600 M2
We have been able to successfully redirect the ILOM on this x4600 M2 in the past, but for some reason now we are getting an error that says "CD-ROM image redirection failed to start":
We have also ...
0
votes
1
answer
3k
views
Eliminating Duplicate Printers on Print Server 2008 R2
I added a print server role to our new 2008 R2 server and started adding printers to it that will be available to Remote Desktop sessions. When I added the Remote Desktop services role, I specified ...
0
votes
1
answer
812
views
Tomcat 5.5 IP redirect to Hostname
How to setup Tomcat if my user entered "http://192.168.0.1:8080/axis2", it will redirect to http://servername.com:8080/axis2? I want the url/hostname appeared on user's web browser instead of ip ...
0
votes
1
answer
646
views
Redirect Incoming mail to another servers
I do not know what are the options are and how to google them and I am little far from the subject, so I am asking it here:
We are a student club and we have a virtual Ubuntu server by our school, it ...
4
votes
2
answers
17k
views
.htaccess - redirect non www to www and retain subdomains from redirecting [duplicate]
So, on my main domain 'domain.com' I created several subdomains from cPanel, like 'sub1.domain.com' and 'sub2.domain.com'. Their real location on server is in 'domain.com/sub1' and 'domain.com/sub2'.
...
1
vote
1
answer
1k
views
Use OpenVPN gateway only on selected destinations?
Is it possible to set up OpenVPN on the client so that the gateway is used only on chosen destinations?
I have read this answer OpenVPN make redirect-gateway optional on making the use of the gateway ...
0
votes
2
answers
64
views
I want to setup a dedicated server with an IP address, all traffic to that IP will need to be forwarded to a domain name
using IPtables in Linux DNAT, I can redirect all traffic to an IP address but that is not what I want. Instead of redirecting to an IP address I want to redirect all traffic to a domain name, i.e. all ...
1
vote
1
answer
256
views
Google anaylics and multiple domain problems
The problem is that we apparently don't receive any tracking of google analytics. We have X domain for that particular site. Google analytics only appear to support one domain unless you setup links ...
0
votes
2
answers
2k
views
Redirect not found pages
In apache,
How I can redirected the pages not found to / ?
Not Found
The requested URL /dsadsa was not found on this server.
3
votes
1
answer
2k
views
Forcing command on ssh's authorized_keys merges STDOUT and STDERR
I've been working to have a script in a centralized server to do some things and output a .tar.gz file (see redirect temporarily STDOUT to another file descriptor, but still to screen). I also have ...
2
votes
3
answers
3k
views
redirect temporarily STDOUT to another file descriptor, but still to screen
I'm making a script that executes some commands inside, and these commands show some output on STDOUT (and STDERR as well, but that's no problem). I need that my script generates a .tar.gz file to ...
1
vote
3
answers
232
views
Redirecting specific traffic to amazon AWS
My server has recieved sudden increase in the (read) web traffic, requesting many map image tiles, and apache cannot handle it.
Apache cannot even handle the redirections! The average load I get in ...
2
votes
1
answer
3k
views
Nginx - Redirect any Subdomain to File without Rewriting
Recently I have switched from Apache to Nginx to increase performance on a web server running Ubuntu 11.10. I have been having issues trying to figure out how certain things work in Nginx compared to ...
2
votes
1
answer
397
views
mirror STDOUT and STDERR to file by default
How I can accomplish STDOUT to be to logged in a file (appending), but preserving the flow (leave STDOUT to STDOUT) ?
STDOUT should work transparently, but should be logged also into a file, without ...
0
votes
2
answers
2k
views
Redirect to port based on requested (sub)domain (1 IP, non-HTTP request) [duplicate]
Possible Duplicate:
How to use DNS to redirect domain to specific port on my server
So I've been trying to figure out how to redirect a subdomain to a specific port.
Let's assume the application ...
1
vote
1
answer
2k
views
Squid Transparent Proxy with port 80 redirection: blank page for some sites
I have a squid transparent proxy that's working great.
To save time on client configurations I've decided to redirect port 80 to 3128 so I can configure for all clients the new proxy just changing ...
1
vote
1
answer
267
views
Apache redirect to external site with directory
I have some requests like
blogs.bobvilapaint.com/11/11/2011/title
which I would like to redirect to
staging.bobvila.com/blogs/title
I've written
RewriteRule ^[0-9/]+/[0-9]+/[0-9]+/(.*)$ http://...
1
vote
2
answers
7k
views
I can access my site via ports 8443 and 8080 but not via 443 and 80 (Tomcat)
I am using Tomcat7 on Windows Server 2008
My Server.xml is set up as follows:
<Connector port="80" protocol="HTTP/1.1" connectionTimeout="20000"
redirectPort="443"
compression="on" ...
0
votes
1
answer
64
views
Need help regarding htaccess stuff
I have my site at www.example.com and have several sub-domains city wise. Suppose i have subdomain with name say "subdomain.example.com" then i want to redirect the subdomain homepage to directory in ...
0
votes
2
answers
739
views
How can I tell Apache to stop redirecting a user to my mobile site if a certain URL parameter is called?
I'd like to redirect users to the mobile version of my website using apache based on UserAgent
However if a user chooses to view the full version of the site by clicking on a URL that was the ?ver=...
1
vote
1
answer
622
views
IIS 7 Redirect To SSL
I have an intranet site, which is running on IIS 7. The site is accessible using both the FQDN (mysite.mydomain.mycompany) and by just "mysite".
The SSL certificate is signed for FQDN. It's installed ...
0
votes
1
answer
889
views
How to make a subdomain permanent redirect?
I have a new vps CentOS 5.3 with Webmin, BIND, Apache installed. I want install Shoucast 2 server on port 8000. Can i create subdomain (ex: radio.mystation.com) and redirect it to mystation.com:8000/...
1
vote
2
answers
1k
views
tar to tape and file with encryption
I am trying to encrypt our tape backups, using tar and openssl but also write to a local file, so far I have :
tar --total -czp ./tmp ./home | tee /tmp/Archive.tar.gz | tee > /dev/nst0
I'm not ...
1
vote
1
answer
210
views
Why doesn't this redirect work?
I have some URIs which have been published or shared which I now need to redirect. The old urls take the form:
http://www.mysite.com/!#story/45 and I want to redirect them to http://www.mysite.com/#!...
0
votes
2
answers
252
views
6001 Redirected outside allowed domains
I have noticed that visits on my clients site have lowered much in last 2 weeks, so i checked all scripts Java, php, .htaccess all posibilities, pinged from worldwide, using 100 tools for pings ...
0
votes
1
answer
197
views
redirecting to the originating server
The following is working as expected. The only problem is that it does not return the source server command prompt unless I hit Ctrl + c
[abc@server]$ 0</dev/null echo "ls" | ssh -t -t [email protected]....
1
vote
2
answers
3k
views
When I type localhost in IE8 only I get redirected to our public website
The other day I posted this question https://stackoverflow.com/questions/7519360/urls-are-inconsistently-being-redirected-using-isapi-urlrewrite-3-0
I was doing some local development testing on my ...
0
votes
1
answer
2k
views
Redirect "/" to "/web" using IIS7
I'm hosting a site where I would like for various reasons to have http://mydomain.com automatically redirect to http://mydomain.com/web while at the same time still allowing http://mydomain.com/foo....