When news came that Microsoft recently released the LinuxIC code under GPL, I was suspecting something fishy. This wasn't typically Microsoft. How and why did they do it?
Hi everybody. Currently I has problem with my configuration Apache: setup 2 CA for 2 domain following VirtualHost, there not match
Apache 2.2.14
OpenSSL 0.9.8e-12.el5
Problem:
_https://site1.com browser notice SSL with info CA is site1.com
_https://site2.com browser does not match SSL CA site2.com, only show CA of site1.com
I want to run a bash command on output from Drupal's drush command-line interface. drush site-alias returns a list of webroots, first showing the name of the group, and then each site in that group. The site itself is aliased in the form group.site.
Hi,
I have a file that is 430K lines long.
Linux & Siblings(Android, WebOS, Maemo, etc)
0% (0 votes)
Microsoft Windows Mobile
0% (0 votes)
Symbian
0% (0 votes)
Apple iPhone OS
0% (0 votes)
BlackBerry OS
0% (0 votes)
Palm OS
0% (0 votes)
Other Propreitary OS
0% (0 votes)
Total votes: 0
Bookmark/Search this post with:
I'm trying to write a custom redirect rule for some testing purposes on 2 domains with exactly same site. The code Im useing is:
RewriteEngine on
RewriteCond %{REMOTE_ADDR} !^1\.2\.3\.4$
RewriteCond %{HTTP_HOST} ^.*site1.com [NC]
RewriteRule ^(.*)$ http://www.site2.com/$1 [R=301,L]
What I want is to redirect all requests except 1.2.3.4 IP from site1 to site2.
I have a list of domain names that I have pulled out of an httpd.conf file. These domain names are formated as:
tld.com
cname.tld.com
Very few of these domain names share a TLD.
I am trying to output a list of just the TLD for each domain name but can't seem to figure out how to manipulate the STDOUT to show just tld.com for each string given.
For example.
A friend of mine once shared a script to download 945 tux avtaars from the web. I found it today during a routine cleanup of my disk. I'm posting the script here to share with you all with permission from the writer. All credits for the script goes to Rohit aka "Stuntdawg"
Just a short Tutorial today. It’s surprising how many people do not know this. To change the hostname under Linux, open a terminal window. Type the following code.
sudo nano /etc/hosts
and change the text to your new hostname. Changes will take effect on Restart.