The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
1answer
94 views

.htaccess redirect doens't work correctly

I'm using a .htaccess to get all documents from an old site to the new one. The old site doesn't support PHP or mod_rewrite. I tried the following code: Redirect 301 / http://www.new.com/archive/ I ...
1
vote
1answer
867 views

Powershell; pipe stdout to commandline

As an example, I would like the following commands to put a dir listing with all subdirectories to StdOut @' >> -R >> '@ > .\test >> dir `test` So, after the first four lines, ...
1
vote
1answer
230 views

Windows XP, pipe StdOut to Commandline

As an example, I would like the following commands to put a dir listing with all subdirectories to StdOut copy con test /s^Z dir `test` So, after lines one and two, there's a file in the current ...
0
votes
1answer
735 views

mod_rewrite: redirect from subdomain to main domain

I have two domains - domain.com and forum.domain.com that points to the same directory. I'd like redirect all request from forum.domain.com to domain.com (for example: forum.domain.com/foo to ...
0
votes
2answers
312 views

Configuring domain to direct email and web traffic to different IP addresses

I'm totally fine with setting up sub-domains etc when managing my domain but I've recently been asked to direct all mail for a domain to a particular exchange so people can retrieve email for the ...
1
vote
1answer
867 views

Non-blocking bash redirection

Does anyone know how to redirect the output of a program, running from a bash script, to a named pipe IN NON BLOCKING MODE (having 'O_NONBLOCK' flag set)?
0
votes
2answers
4k views

How to tell wget to use the name of the target file behind the HTTP redirect?

Let's a consider link such as htttp://www.mysite.net/download.php?id=267 that redirects to htttp://www.mysite.net/downloads/myfile.tar.gz If I execute 'wget ...
0
votes
1answer
173 views

How should I setup apatch for proper subdomain redirection

I've got a domain lets say it's domain.com. This domain goes to a server with apache on this server I'm running three sites for that domain which are: domain.com (default) dev.domain.com ...
0
votes
1answer
222 views

How does Apache handle port forwarding?

I setup a localhost portforwarding configuration in the coLinux .conf file, forwarding port 8090 to port 80 in the VM. When http://localhost:8090 is entered in the browser, I get the correct response ...
1
vote
2answers
6k views

Apache2 multiple hostnames redirected to one

I'm trying to redirect multiple hostnames to only one, for example, if you enter any of: foo.example.com www.example.com bar.example.com eample.com you must be redirected to www.example.com I have ...
2
votes
1answer
194 views

Redirect subdomain.xyz.com to subdomain.abc.com

Hey all, I'm trying to move to another domain, but have many subdomains under the existing domain. All the subdomains will be the same but just mapped with the new domain. [subdomain].xyz.com => ...
0
votes
7answers
779 views

How to redirect domain.net to www.domain.net

How do I redirect visitors from https://domain.net to https://www.domain.net ? Using an A record or some other DNS settings? I am asking because I made the mistake of purchasing an SSL certificate ...
0
votes
1answer
444 views

Redirect domains with lighttpd?

I'm working on getting a Wordpress MU install running on my VPS. I enabled the 'simple-vhost' mod and can access the site fine. The problem is I can only get to it from domain.com. If I try ...
0
votes
1answer
120 views

Avoid access to www subdomain on secure server

I have an SSL certificate that is valid for mysite.co.uk but not www.mysite.co.uk it seems. If I use mod_rewrite or .htaccess to redirect from one to the other will this prevent browsers from ...
0
votes
1answer
2k views

Nginx redirect one domain to another

I have two domain's set up on my server. Domain 1 is configured with google apps so that mail.domain1.com goes to google's mail. However, I would like domain1.com to redirect to domain2.com. ...
1
vote
1answer
2k views

Is it possible to write an htpasswd file that redirects certain users to certain directories?

Assuming that I have a domain, say, mydomain.com and three directories under it call them dir1, dir2 and dir3, then is it possible to put an htpasswd file at the web root and have it redirect ...
1
vote
3answers
1k views

Run FTP session from bash script

I'm trying to write a BASH script to test if an FTP site that I own is running. I therefore want the bash script to connect to the FTP site, log in with a dummy account and redirect the output to a ...
0
votes
2answers
244 views

Mapping Wordpress.com to subdomain or path

According to this and this, Wordpress.com blogs can be mapped to a custom domain (e.g.: example.com). However, I don't see anything that says it can be mapped to a subdomain (e.g.: blog.example.com) ...
0
votes
2answers
157 views

How to Redirect from One URL to Another Showing the New URL

I have an old domain www.olddomain.com, and now I have shifted my content to www.newdomain.com. Both of the domains are residing in the same root folder on a sharehost. I use CPanel to manage them. ...
3
votes
4answers
1k views

Providing DNS redirection to honeypot server for known bad domains

Currently running BIND on RHEL 5.4 and am looking for a more efficient manner of providing DNS redirection to a honeypot server for a large (30,000+) list of forbidden domains. Our current solution ...
2
votes
1answer
1k views

Apache Redirect to Jboss SSL

I'm trying to have an SSL Connection to an Apache server on port 443 which I want to use to proxy connections to a JBoss server on a different port. The SSL certificates sit on the Jboss server not ...
1
vote
3answers
337 views

Urgent SSH Local Port Redirection

everyone. I have a shell account but the admin has restricted ssh access to the server. The server is listening on 0.0.0.0:22 but the firewall blocks any incoming attempts to this port. He says he is ...
0
votes
1answer
2k views

How can I reroute IP addresses for my router?

I want to do something similar to what the hosts file does. I just want to set it so that certain IP's always go to the IP I want it to go to... eg. Have... 158.204.281.222 always go to ...
1
vote
1answer
780 views

how to redirect http request to another internal machine based on URL

I have a windows 2008 server at home (on a vmware server) along with other virtual machines, I want to open port 80 in my firewall, but I want to redirect the request to the correct vm. for example if ...
2
votes
4answers
280 views

How to write to a file and, while the file is still being written, read and parse its contents using a shell script?

I'm actually trying to write a shell script that logs the output of a command to a file, but since the command takes a long time to complete (about 15 minutes), I would like to start parsing the ...
1
vote
2answers
5k views

Redirecting all WiFi requests to my server (like captive portal)

I'm actually trying to develop a public wireless network (not business, just for educational purposes, I am studying computer science...). But I am lacking the required knowledge to acheive this goal ...
0
votes
3answers
231 views

Subdomain redirection

I have a subdomain like www.product.example.com for the domain www.example.com. Can I redirect the subdomain to another website without showing the url of other website for users, when they click on ...
2
votes
2answers
1k views

How do I redirect multiple domains to a single domain in lighttpd

If I have the following domains in lighttpd: domain1.com domain1.co.uk domain2.com domain2.co.uk How do i redirect all these to to 'domain.com'? ie: domain1.co.uk/some-path/ redirects to ...
0
votes
1answer
595 views

Setting IIS to redirect all requests to another server

My company currently added a new IIS server called server2 to replace server1. I would like all traffic that tries to access server1 to be redirected to server2. Is there a quick way to do this in ...
0
votes
4answers
273 views

domain redirection without changing DNS

we have a backup of our site www.site.com in another linux hosting. the backup is setup as wwwt.site.com from the cpanel. but there is no domain name assigned to it.we access the backup site by adding ...
0
votes
2answers
2k views

SSH not redirecting stdout to local terminal

I have the following relevant lines in a csh script: #!/bin/csh -xv set dvar = `date +"^%m\/%d\/%y"` set filedate = `date +%b%d%Y` set grepstring = "grep "\"$dvar\"" </home/user/log/logfile" set ...
1
vote
2answers
2k views

All Desktop Icons Missing on Redirected Desktop

I'm running Windows 7 with a desktop location that is redirected to a Windows Server 2003 UNC location. The rest of the machines in our environment are Windows XP and the icons show up fine. On my ...
0
votes
2answers
261 views

Search-engine friendly DNS redirection

Is it possible to redirect one domain to another using DNS protocol (and not HTTP prococol), and that redirection being friendly to search engines?? i.e. such that search engines know that the two ...
0
votes
2answers
203 views

Question about google Apps and MX records

i have just signed up with google apps and have successfully re-routed my mx records to google. I also have a second domain that i occasionally use and would like to know if i can route the mx ...
1
vote
2answers
1k views

Simplest way to redirect from a page on one domain's URL to another domain?

Background: I redirect my web site's email to a Google Apps account, since Google was giving me much higher uptime and much better spam filtering. But it's a pain to log in from a new PC. You have ...
2
votes
1answer
1k views

Moving Group Policy Folder Redirection root path

I have all my users on my domain enabled for Folder Redirection and they all point to the same root path (Basic Redirection). Here are the settings. I want to move only a subset of those users out to ...
1
vote
4answers
272 views

htaccess mod rewrite problem

Let me start immediately with my problem: Options +FollowSymLinks RewriteEngine On RewriteBase / RewriteRule ^([a-zA-Z0-9_-]+)$ sinj.com.hr/index.php?var1=$1 [L] RewriteRule ...
10
votes
7answers
6k views

create 'virtual file' from bash command output?

I wonder if there is a way to create a 'virtual file' from a bash output. Example: Let's say I want to email the output of mysqldump as an attachment to an external email address. I can use Mutt to ...
2
votes
6answers
875 views

Printer Redirection Tool

I have two machines (A & B), machine A has to be able print to a local printer. The issue is that the problem it can't have any printers connected to it (network or local) - so what I want to do ...