Most Popular
1500 questions
85
votes
11 answers
IIS 7.5 (Windows 7) - HTTP Error 401.3 - Unauthorized
I'm trying to test my ASP.Net website on localhost and I'm getting this error:
HTTP Error 401.3 - Unauthorized
You do not have permission to view this directory or page because of
the access control list (ACL) configuration or encryption settings…
Nathan Ridley
- 2,599
- 3
- 19
- 18
85
votes
7 answers
Amazon Linux vs. Ubuntu for Amazon EC2
I'm setting up my first website on Amazon EC2, and I'm trying to decide which distro to use. I've used Redhat and CentOS in the past, but I have no bias towards any system, I just want to use whatever is best (I also have had partially-managed…
James Simpson
- 1,651
- 2
- 15
- 31
85
votes
14 answers
How can I set a short timeout with the ping command?
I am trying to write a script that lists all the hosts on my LAN (there a about 20 of them) and writes the ping status next to each host. I have the DHCP leases file, so I have all the IPs (say, 10.0.0.1, 10.0.0.2, etc.), all I need is the ping…
MiniQuark
- 3,875
- 2
- 21
- 23
85
votes
5 answers
How do I redirect subdomains to a different port on the same server?
I have some subdomains I want to redirect to specific ports on the same server.
Say I have
dev.mydomain.com
I want dev.mydomain.com to transparently redirect to mydomain.com:8080 and I want to preserve the original sub-domain name the url of the…
user35861
84
votes
5 answers
Configuring Docker to not use the 172.17.0.0 range
Due to problems with captive portals and the default Docker IP range I am trying to make Docker use the 198.18.0.0 range, instead of 172.17.0.0, which clashes with the captive portals used on the trains where I live.
Following the docs, I created…
jrtapsell
- 1,176
- 1
- 10
- 15
84
votes
4 answers
How to reload default Mac OSX routing table without rebooting
Greetings,
I'm using vpnc for a VPN client. I'm also doing some tricky things with route to make sure I can still access my local network, etc. etc. (the particulars here are not very important).
Sometimes I get the routing table so jacked up I get…
Nate Murray
- 993
- 1
- 7
- 7
84
votes
9 answers
How to view connected users to open vpn server?
I'm developing a website for managing OpenVPN users with Django framework. But I need to know is there any way to extract active users from OpenVPN? My server is running Ubuntu 12.04.
hamidfzm
- 1,025
- 1
- 10
- 14
84
votes
8 answers
zcat/gzcat works in linux, not on osx. general linux/osx compatibility
First the specific problem:
In linux, I use zcat to list a .zip file. In osx, zcat seems to automatically append .Z to the file name. Various people suggest replacing zcat with gzcat; however, gzcat complains that the file is not in gzip format!…
user23398
- 1,191
- 3
- 9
- 14
84
votes
5 answers
Practical maximum open file descriptors (ulimit -n) for a high volume system
We recently began load testing our application and noticed that it ran out of file descriptors after about 24 hours.
We are running RHEL 5 on a Dell 1955:
CPU: 2 x Dual Core 2.66GHz 4MB 5150 / 1333FSB
RAM: 8GB RAM
HDD: 2 x 160GB 2.5" SATA Hard…
Kevin
- 943
- 1
- 7
- 5
84
votes
4 answers
Can IIS be configure to forward request to another web server?
I have several web site set up on one IIS 6 server distinguished by Host Header.
However, I wish to have one of the sites served by a Linux / Apache server on my network. Do I need to use a reverse proxy add-in for IIS, or is there a simple way to…
Daniel O
- 1,075
- 1
- 8
- 9
84
votes
4 answers
How to change the name and description of an AWS EC2 security group?
How do you change the name and description of a security group in AWS EC2?
My security group is named quick-start-1 (the default) and I want to change it to "HTTP, HTTPS and Limited SSH".
joshua.paling
- 1,225
- 2
- 11
- 13
84
votes
8 answers
How can I list my open ports on Debian?
What is the command to display a list of open ports on a Debian server?
I tried netstat -a | egrep 'Proto|LISTEN' but I would like something more specific that actually lists the port number.
leonel
- 979
- 2
- 7
- 8
84
votes
11 answers
protocol version mismatch -- is your shell clean?
When following the instructions to do rsync backups given here: http://troy.jdmz.net/rsync/index.html
I get the error "protocol version mismatch -- is your shell clean?"
I read somewhere that I needed to silence the prompt (PS1="") and motd…
rfreytag
- 1,195
- 1
- 10
- 11
84
votes
3 answers
logrotating files in a directories and its subdirectories
Is it possible to get logrotate to consider logfiles in a directory and all its subdirectories? (i.e. without explicitly listing the subdirectories.)
ithinkihaveacat
- 1,624
- 3
- 14
- 18
84
votes
9 answers
Command line program to test DHCP service
Is there a simple ping-like command to test whether a DHCP service is running on a network? ...on Linux
pufferfish
- 2,830
- 11
- 39
- 40