Skatebowl to footpath traverse. Super awesome
Skatebowl to footpath traverse. Super awesome
My AT&T SIM card collection from the old jail break days.
Giant Apple logo found in space.
WareWolf dog - last dog photo for the month.
Tilda at 12 weeks, I dont think it gets much cuter than this.
This is really easy to run ruby. Follow this page.
http://www.editrocket.com/articles/ruby_apache_windows.html
The only extra information I had to do was add is my directory permissions on the virutal host.
…
<Directory “c:/webserver/yoursite/”>
Options FollowSymLinks ExecCGI
…
Now you ruby file should work, dont forget that it must have #!/ruby/bin/ruby at the top otherwise Apache doesn’t know how to execute this file on Windows.
To add different hosts so you can run more than 1 web site.
Install this. http://clickontyler.com/virtualhostx/
Vitualhostx will create the hosts file and reconfigure your builtin Apache.Then in VirtualHostx > file > Run setup wizard. Step 1, step 2. This configures your Apache install.
Create a new site. eg mysupertest.site and select the folder for this site.
You will need to allow access to the folder, so in the big blox add this. Make sure you change johnb to your name. Or just copy the text above and now you will not get 403 errors.
<Directory “/Users/johnb/Sites/mytest/”> AllowOverride all
Allow from all
Order allow,deny
</Directory>
Finally, File > Apply Changes to Server.
Now you can type in your browser mysupertest.site and it will work. Lovely.
If you are curious how it configures you vhost, then run this command from the terminal, it assumes you have textmate installed on your system.
mate /etc/apache2/extra/httpd-vhosts.conf
First enable PHP, from the terminal.
mate /etc/apache2/httpd.conf
Edit this line, remove the # at the front so it looks like this. PHP5 done.
LoadModule php5_module libexec/apache2/libphp5.so
John Bama
My Crazy Dog should not sleep in my shoes