I have a VPC set up and working on Amazon and one EC2 instance talks to another via its private IP. Will this IP remain constant to that EC2 instance through out multiple reboots? Is there anyway to hard code or reserve a private IP to an EC2 instance in a Virtual Private Cloud?
Shane Stillwell's questions
I have an Nginx server this is returning a 403 when a client uses the HTTP OPTIONS method. It sounds like Nginx does not support the OPTIONS method, but I couldn't find conclusive evidence of this on the Interwebs.
Right now Nginx is running on Centos5. Is it true that Nginx does not support this and is there a module that could be enabled for Nginx to support OPTIONS?
Thanks.
In my Apache httpd.conf
file I have this declaration inside a VirtualHost
tag.
RewriteEngine On
RewriteCond %{HTTP_HOST} !^www.shanestillwell.com$ [NC]
RewriteRule ^(.*)$ http://www.shanestillwell.com/$1 [L,R=301]
And this inside my .htaccess
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !=/favicon.ico
RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]
The rule in my httpd.conf
seems to be ignored. Are the rules in .htaccess
wiping out the httpd.conf
rewrite rule?
To get my public key onto a server I normal copy the contents of my public key, then SSH
into the server, then I run vi .ssh/authorized_keys
, then paste my key into the file and save.
There has got to be an easier, one step way using SCP or something like that. Of course I want to append my key to authorized_keys
, not overwrite it and the permissions of authorized_keys
needs to remain at 600
I've installed Zend Server and Zend Framework is bundled with it. I've noticed that my new application uses the Zend Server version of Zend Framework (1.10), not the one I've pointed the /library/Zend to (1.9.6).
How can I override this default behavior? I'm afraid that if I upgrade Zend Server in the future it will automatically update Zend Framework and could break my application.
In summary, I have two versions of Zend Framework on the server the default one that is bundled with Zend Server (/usr/local/zend/share/ZendFramework) and another version that resides next to my appliation in (./library/Zend).