The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
2answers
109 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
378 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
354 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
270 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
473 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
62 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
154 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
762 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
72 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
218 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
411 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
236 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
197 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
138 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
276 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
171 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 ...
2
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
222 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
228 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
1k 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
99 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
171 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
237 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
365 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
325 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
222 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 ...
2
votes
1answer
2k 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
351 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
51 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
207 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
251 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
919 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
3answers
2k 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
3answers
203 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 ...
0
votes
1answer
944 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
1answer
170 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
2answers
401 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 ...
1
vote
1answer
909 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 ...
0
votes
1answer
78 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]+/(.*)$ ...
1
vote
2answers
2k 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
1answer
53 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
2answers
595 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 ...
0
votes
1answer
363 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
1answer
527 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 ...
1
vote
2answers
350 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
1answer
180 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 ...
0
votes
2answers
222 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 ...