The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
1answer
47 views

Postfix Email redirection

Let's say i have a postfix setup on my domain , abc.com i want to redirect all emails coming from *@dfc.com to user1@abc.com. If original email contains user2@abc.com as TO , after redirection , i ...
0
votes
1answer
113 views

How to efficiently permanently redirect 150.000 images?

For SEO purposes I need to rename around 150.000 images, then I'd like to permanently redirect the previous url locations requests to the new locations. The current url to every image is something ...
2
votes
1answer
202 views

nginx - get parsed server_name

I have created virtual hosts for my websites and then i have created an other virtual host with server_name -> default_server in order to catch everything else and show a specific page in that case ...
0
votes
1answer
229 views

Nginx redirect and geolocalization

I've the following problem with Nginx and GeoIP and will be nice if you can give me some pointers about the solution. Note: I know this can be solved on DNS side, but that won't be possible by now so ...
1
vote
2answers
130 views

Forward 192.168.1.x to 95.211.x.x

I want to forward an internal IP address to an external one. So here's what I do: echo 1 > /proc/sys/net/ipv4/ip_forward Then I use iptables: iptables -t nat -A PREROUTING -s 192.168.1.x -j ...
0
votes
1answer
158 views

Switch console output to RS232

How can I switch temporally Linux ASCII console to RS232 port build-in computer. I mean about Linux system working as server, without running any graphical tools on it (X11, bootsplash etc). But I ...
0
votes
2answers
144 views

Point Subdomain to another application on another domain

I'm not a very experienced Server Administrator and I'm trying to set up a new one I just got. I'm Using IIS7 and DNS Server What I need is that a url such as: mail.domainA.com points to ...
1
vote
1answer
504 views

Nginx: Redirect all traffic to Coming Soon page except own IP

I have a folder called "coming-soon" that I would like to redirect all traffic to when the site is down for maintenance. Currently, this is what I did: ----- START ----- location / { allow ...
0
votes
1answer
65 views

Redirection using A record from .com.to .com.au

I have a client who has a .com site and a .com.au site. I host the .com.au site and for reasons that I cannot control she has another company managing the .com and her mail which goes to the ...
0
votes
0answers
145 views

Display only the last line of a windows command line executable

I'm trying to write a batch script that manages simple software deployments. One of the steps in the script compresses a file structure into a 7zip archive. During the compression process, the z7ip ...
-1
votes
1answer
111 views

How can email be redirected from a domain host without mx records to google apps? [closed]

My new domain host (Zymic) doesn't provide email and no mx records, either. Is there a way to direct the email coming in to my domain to google apps (or another domain) without mx records?
0
votes
2answers
130 views

IP:PORT redirection software?

i'm looking for a way to redirect traffic to an other ip on a certain port. Been able to do this with iptables on linux and netsh on windows but in both cases the client gets the ip address of the ...
0
votes
1answer
390 views

Asterisk / Voip phone redirects to last called number

I experience a very strange problem with our PBX (Asterisk 1.8, FreePBX, Grandstream GXP1200 phones) If I call an internal number (1020 in this case) the asterisk server redirects me to the last ...
0
votes
1answer
256 views

URL Rewrite and Masked Redirection

I have a site that is actually a tumblr account for a client. I need to set it to that: blog.foo.net actually redirects to blah.tumblr.com, while still using blog.foo.net. This would be simple using ...
0
votes
1answer
111 views

What could block the output of a command?

Sometimes I'll attempt a (2>&1) redirection and some/all of the resulting output appears to be silenced. e.g. wget -O- http://localhost/test.txt 2>&1 I would expect to see a merge of ...
0
votes
2answers
164 views

Htacces mobile redirect loop

im need to change the template of my site if mobile is detected but im getting a redirect loop. this is my htacces code. Anny help will be much appreciated. Thank you! RewriteCond %{HTTP_USER_AGENT} ...
0
votes
2answers
426 views

Redirect without changing url htaccess [duplicate]

I want to create a file .htaccess for a invisible redirection. The goal is when i input www.site1.com i have to redirect to www.site2.com without changing url in address bar. Thanks in advance.
1
vote
2answers
462 views

Websockets and Firewall

I asked this question on Stack Overflow first, but then I thought Server Fault could be a better place to post it. I have two WebSocket servers both running on different ports than 80 and 443. ...
2
votes
0answers
311 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 ...
1
vote
0answers
643 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
1answer
74 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
1answer
203 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
1answer
1k 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) ...
2
votes
0answers
75 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
1answer
248 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
2answers
550 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
1answer
294 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
1answer
243 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
1answer
160 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 ...
0
votes
3answers
367 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
0answers
197 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 ...
5
votes
2answers
1k 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
1answer
250 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
1answer
252 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 ...
1
vote
3answers
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 ...
1
vote
1answer
1k 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
1answer
114 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 ...
-1
votes
2answers
180 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
1answer
250 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
3answers
432 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 ...
0
votes
2answers
2k 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
1answer
2k 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
1answer
407 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
1answer
254 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 ...
3
votes
1answer
3k views

.htaccess - redirect non www to www and retain subdomains from redirecting

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
1answer
421 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
2answers
52 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
1answer
220 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
2answers
353 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
1answer
1k 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 ...