I want create a task on my Capistrano deploy to put my public IP on geo module configuration of my NGINX server without restart NGINX, is it possible?
Example, my /etc/nginx/nginx.conf:
geo $geo {
default no;
include /home/deploy_user/appname/shared/ip_list;
}
The file /home/deploy_user/appname/shared/ip_list I will provide during deploy.
I need this because my public IP can change many times.
Regards, João
It is well known that it is possible to configure a DNS server to do a "catch-all" resolving on a single subdomain level, such as *.example.com. IN A x.x.x.x, so that anything.example.com maps to a single IP/CNAME.
However, I need to set up an at least "level-2" wildcard sub-subdomain catch-all wildcard system so that any.thing.example.com or better, item.of.any.level.under.example.com will be resolved to a single IP.
Has anyone got this working?
How do I add an IP address to a users dial in tab within powershell.
I want to do it about a 100 times so I was hoping to use the ad cmdlets to perform the task reading from a csv file the account name and the ip address.
Does anybody know the property to set this?
Thanks
Paul
I'm on an EC2 instance and have a domain domain.com linked to the EC2 nameservers and it happily is serving my pages if I type domain.com in the URL.
However when the page is served it resolves the url to: 1.1.1.10/directory/page.php.
Using apache I've set up the following VirtualHost, following examples provided at http://httpd.apache.org/docs/2.0/dns-caveats.html
Listen 80
NameVirtualHost 1.1.1.10:80
<VirtualHost 1.1.1.10:80>
DocumentRoot /var/www/html/directory
ServerName domain.com
# Other directives here ...
<FilesMatch "\.(ico|pdf|flv|jpg|jpeg|png|gif|js|css|swf)$">
Header set Cache-Control "max-age=290304000, public"
</FilesMatch>
</VirtualHost>
However I'm not getting any changes to how the URL is displayed.
This is the only VirtualHost configured on this site and I've confirmed its the one being used as I've managed to break it a number of times whilst experimenting with the configuration.
The route53 entries I have are:
domain.com A 1.1.1.10
domain.com NS ns-11.awsdns-11.com
ns-111.awsdns-11.net
ns-1111.awsdns-11.org
ns-1111.awsdns-11.co.uk
domain.com SOA ns-11.awsdns-11.com. awsdns-hostmaster.amazon.com. 1 1100 100 1101100 11100
It's possible to treat a text file as a data table, and use the standard approaches to dealing with tables, which is a major advantage in that you can use SQL to filter the text in the file. Doug Steele shows you how.
I use PeerBlock (former PeerGuardian) and, as a consequence, Yahoo Messenger (actually Pidgin) fails to connect every once in a while; PeerBlock reports the access being blocked because the destination IP is in one of the block lists.
Where can I get a list of all IP ranges belonging to Yahoo Messenger so I can configure an "allow" rule in PeerBlock?
Your laptop’s got a trackpad, you use a mouse for gaming, and you’re tired of manually switching settings constantly. Here’s how to separate both devices and how to set up a hotkey to switch between two settings on one device.
Latest Features
How-To Geek ETC
How to Get Amazing Color from Photos in Photoshop, GIMP, and Paint.NET
Learn To Adjust Contrast Like a Pro in Photoshop, GIMP, and Paint.NET
Have You Ever Wondered How Your Operating System Got Its Name?
Should You Delete Windows 7 Service Pack Backup Files to Save Space?
What Can Super Mario Teach Us About Graphics Technology?
Windows 7 Service Pack 1 is Released: But Should You Install It?
Peaceful Alpine River on a Sunny Day [Wallpaper]
Fast Society Creates Mini and Mobile Temporary Social Networks
Page Zipper Unpacks Multi-Page Articles for Single-Page Display
Minty Bug: Build an FM Bug Inside a Mint Container
Get the MakeUseOf eBook Guide to Hacker Proofing Your PC
Sync Your Windows Computer with Your Ubuntu One Account [Desktop Client]
Is is possible to use the following PCI-E card with a HP DL180 server (specifically the 487507-371 model) - HP 4x Internal/4x External SAS PCI-E Adapter (416096-B2).
If not what are the options for attaching an external SAS tape drive?
I need to config one SMTP server (sendmail) to send mail with 2 interfaces with different ip's depending server.
For example: In same machine with to ip: 1.1.1.1 and 2.2.2.2 i need to send email [email protected] by 1.1.1.1 and [email protected] by 2.2.2.2
I don't now if i can configure it on sendmail, or use iptables, some idea ?
Thx.
Ubuntu 12.04 has problem with Intel GM45 Chipset, featuring the the Mobile Intel® Graphics Media Accelerator (GMA) 4500MHD
I have a COMPAQ Presario CQ70 laptop with an Intel GM45 chipset that features the Mobile Intel® Graphics Media Accelerator (GMA) 4500MHD. I was using the second HDMI video port to drive both a projector or a second monitor. Everything was working fine under Ubuntu 8.04, 9.04, 10.04 and 11.04, however, when I upgraded to 12.04 the second monitor stopped working.
What I mean when I say stopped working is:
boot with monitor plugged in.
Blank screen!
Power off, unplug monitor and power on everything works.
Plug in monitor (only mode that works in Mirror mode) two monitors that look same.
Close laptop lid. screen goes blank only option for useful system
is power off and unplug monitor.
If I attempt to Adjust the monitor to maximum resolution that the monitor will handle and turn off mirror mode nothing can be moved onto that screen.
This all worked fine with earlier versions of Ubuntu, is there a notes about the changes to the graphics management system in 12.04, like there is for the resolver change?
I just installed Mac OS X 10.7 "Lion" and Ubuntu 11.10 on my MacBook Pro. Using these instructions: tuxation.com/creating-home-partition-mac-linux.html . After changing the location of my home folder to the new location, it gives me the error in the title, and my username no longer appears in the login screen. Using the "Other" option with my username seems to make it try to log in, but the screen quickly flashes between blank and a shell before kicking me back to the login screen without notice.
I'm trying to share my home folder between Mac OS X and Ubuntu, using an hfsplus partition (unjournaled) between the two. The home partition seems to mount fine as /home, and I am able to modify it under Ubuntu.
Below is the line I've added to fstab:
/dev/sda3 /home hfsplus defaults 0 1
I should also note that I changed my account's username and home directory location to match this, though I've double checked that and everything seems in order there...
Thank you in advance for any assistance.
Edit: It seems that the /etc/passwd file didn't have my new home directory's location in it, so I changed that, and I am now able to log into my account, although I am still not listed in the login screen, and my username in the menu on the top right shows up as "[Invalid UTF-8]"...
How do you setup a single Apache2 config to host multiple HTTPS sites each on their own IP address? There will also be multiple HTTP sites on just a single IP address.
I do not want to use Server Name Indication (SNI) as described here, and I'm only concerned with the important top-level Apache directives. That is, I just need to know the skeleton of how my config should look.
The basic setup looks like this:
Hosted on 1.1.1.1:80 (HTTP)
- example.com
- example.net
- example.org
Hosted on 2.2.2.2:443 (HTTPS)
- secure.com
Hosted on 3.3.3.3:443 (HTTPS)
- secure.net
Hosted on 4.4.4.4:443 (HTTPS)
- secure.org
And here are the important config directives I have so far, which is the closest I've come to a working iteration, but still no dice. I know I'm close, just need a little push in the right direction.
Listen 1.1.1.1:80
Listen 2.2.2.2:443
Listen 3.3.3.3:443
Listen 4.4.4.4:443
NameVirtualHost 1.1.1.1:80
NameVirtualHost 2.2.2.2:443
NameVirtualHost 3.3.3.3:443
NameVirtualHost 4.4.4.4:443
# HTTP VIRTUAL HOSTS:
<VirtualHost 1.1.1.1:80>
ServerName example.com
DocumentRoot /home/foo/example.com
</VirtualHost>
<VirtualHost 1.1.1.1:80>
ServerName example.net
DocumentRoot /home/foo/example.net
</VirtualHost>
<VirtualHost 1.1.1.1:80>
ServerName example.org
DocumentRoot /home/foo/example.org
</VirtualHost>
# HTTPS VIRTUAL HOSTS:
<VirtualHost 2.2.2.2:443>
ServerName secure.com
DocumentRoot /home/foo/secure.com
SSLEngine on
SSLCertificateFile /home/foo/ssl/secure.com.crt
SSLCertificateKeyFile /home/foo/ssl/secure.com.key
SSLCACertificateFile /home/foo/ssl/ca.txt
</VirtualHost>
<VirtualHost 3.3.3.3:443>
ServerName secure.net
DocumentRoot /home/foo/secure.net
SSLEngine on
SSLCertificateFile /home/foo/ssl/secure.net.crt
SSLCertificateKeyFile /home/foo/ssl/secure.net.key
SSLCACertificateFile /home/foo/ssl/ca.txt
</VirtualHost>
<VirtualHost 4.4.4.4:443>
ServerName secure.org
DocumentRoot /home/foo/secure.org
SSLEngine on
SSLCertificateFile /home/foo/ssl/secure.org.crt
SSLCertificateKeyFile /home/foo/ssl/secure.org.key
SSLCACertificateFile /home/foo/ssl/ca.txt
</VirtualHost>
For what it's worth, I prefer to have each of my SSL sites on their own IP instead of including one of them on the primary VHOST IP. Any links which show a standard setup would be more than welcome!
Use two separate configuration files to represent settings for development and production environments....Did you know that DotNetSlackers also publishes .net articles written by top known .net Authors? We already have over 80 articles in several categories including Silverlight. Take a look: here.
Does SuSEfirewall in OpenSuSE 11 provide an easy way to block all traffic from a list of IP addresses? Ideally just a textfile into which I can put all IP addresses I want blocked, otherwise some configuration option. I've looked through /etc/sysconfig/SuSEfirewall2, but haven't been able to find anything like that.
I came across an issue where I saw some xyz.com is pointing to mydomain.com.
How do I avoid spam domains pointing to my domain? I read some posts about setting my virtual hosts and such, but nothing specific about how to avoid it in the first place.
I searched on Google but most answers are for HTTP servers and there are no exact answers for Tomcat 7. I am not using Apache or IIS, but Tomcat directly.
In Flash, for example, I can place an xml file along with the binary, then if I modify some variable the game will change for everyone.
How to achieve something like that in Android? I know that for every change I make to the game, the player would need to download a new update.
But the main goal I'm looking for, is modifying a game stats without the need for recompile the entire APK.
I'm working with Haxe+OpenFL.
Is it possible to have root shell access from one particular ip only
I am using centOS. i want that only one user can log in via shell from one ip only
Using Mac OS on multiple monitor is great, but after removing external monitor (2nd monitor) usually windows position originally on the external monitor doesn't get re-positioned to default monitor. Is there any shortcut key or utilities that can reset window position for this kind of usage?
This is why it is essential that you choose a reputed SEO company that has had many years of experience in the industry in ensuring that your website can rank well in a search engine. Hence, there is the need to ensure that your website can do very well in a particular website.
I have been batting with this issue for a bit and cannot find the answer to it.
So the Dmesg see's the device, being Symwave WDC WD64....
media@Media-pc:~$ dmesg | tail -n 20
[78678.719497] scsi 10:0:0:0: Direct-Access Generic- USB3.0 CRW -0 1.00 PQ: 0 ANSI: 0 CCS
[78678.725621] scsi 10:0:0:1: Direct-Access Generic- USB3.0 CRW -1 1.00 PQ: 0 ANSI: 0 CCS
[78684.073837] scsi 11:0:0:0: Direct-Access SYMWAVE WDC WD6400AAKS-0 3B01 PQ: 0 ANSI: 4
[78691.008126] scsi 11:0:0:0: uas_eh_abort_handler tag 0
[78691.008139] scsi 11:0:0:0: uas_eh_device_reset_handler tag 0
[78691.008147] scsi 11:0:0:0: uas_eh_target_reset_handler tag 0
[78691.008154] scsi 11:0:0:0: uas_eh_bus_reset_handler tag 0
[78691.080307] usb 2-2.4: reset high speed USB device number 9 using ehci_hcd
[78691.221427] scsi 11:0:0:0: Device offlined - not ready after error recovery
[78691.221498] scsi 11:0:0:0: rejecting I/O to offline device
[78691.221519] scsi 11:0:0:0: rejecting I/O to offline device
[78691.222952] scsi 11:0:0:1: Enclosure SYMWAVE SES 3B01 PQ: 0 ANSI: 4
[78691.223156] scsi 11:0:0:2: uas_sense_old: urb length 26 disagrees with IU sense data length 510, using 18 bytes of sense data
[78691.225061] sd 11:0:0:0: Attached scsi generic sg3 type 0
[78691.225344] ses 11:0:0:1: Attached Enclosure device
[78691.225495] ses 11:0:0:1: Attached scsi generic sg4 type 13
[78691.226266] sd 10:0:0:0: Attached scsi generic sg5 type 0
[78691.226653] sd 10:0:0:1: Attached scsi generic sg6 type 0
[78691.241647] sd 10:0:0:0: [sdd] Attached SCSI removable disk
[78691.243832] sd 10:0:0:1: [sde] Attached SCSI removable disk
It looks like it attaches sdd and sde. Now when i look in the disk utility it shows "Hard disk Symwave WD6400AAKS-0 device /dev/sdc doesn't show any other info then that, if i format, it says that it cannot open /dev/sdc no device or address error.
Underneeth the device it does show two general usb3.0 CRW that are sdd and sde.
Now if I do a fdisk -l it doesn't show the device:
media@Media-pc:~$ sudo fdisk -l
Disk /dev/sda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders, total 156301488 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000247de
Device Boot Start End Blocks Id System
/dev/sda1 * 2048 152176639 76087296 83 Linux
/dev/sda2 152178686 156301311 2061313 5 Extended
/dev/sda5 152178688 156301311 2061312 82 Linux swap / Solaris
Disk /dev/sdb: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x948fc822
Device Boot Start End Blocks Id System
/dev/sdb1 63 1953520064 976760001 7 HPFS/NTFS/exFAT
So now I am confused. Any ideas how I get fdisk to see the device?
Afternoon all!
Currently I have a website with a list of audio products (essentially a search engine for audio deals). http://www.soundplaza.co.uk
Once you go to the details page, you can then press the 'view deal' button to go to providers site e.g. = http://www.soundplaza.co.uk/all-deals/113/bookshelf-speakers/acoustic-energy-1
This jump between two sites is a bit harsh and I would like to show a transition page, to simply ease them into another site and not scare them off.
Within this tradition page I will have a simple loading gif and some graphics showing that your transferring.
QUESTION:
What is the best way to send the details (link, product name etc) to this transfer page, to then wait 5 seconds, to then move on to the desired link... this can in NO WAY damage my SEO, if anything rel="nofollow" would be great if possible.
Currently I have seen that you can submit form to the transition page, then you can use php sleep and then php header to transfer... however I am not sure if php header will transfer SEO value tot he provider?
Any opinions would be great!
Thanks