whew!
i got the site deployed..
i will blog about the things i had to do to get it set up, but suffice
it to say, it wasn't impossible...
bear in mind that it's not public yet.. and not complete.. but it will
be in a day or so..
but you can see it here:
http://www.thoseoptimizeguys.com
my question..
if you go to a page, you will see there is an extra '/' in the url... ie
http://www.thoseoptimizeguys.com//ContactUs?_s=7leixyWenK8hmr6j&_k=oJw5…
i am not sure if i need to change that in my image, or in my apache config..
that section of the apache config looks like:
<VirtualHost *:80>
# set serer name
ProxyPreserveHost On
ServerName
thoseoptimizeguys.com
ServerAlias
www.thoseoptimizeguys.com
# connfigure static file serving
DocumentRoot /home/optimizeguys/optimizeImage/files
<Directory codingforhire/vmImage/files>
Order deny,allow
Allow from all
</Directory>
# rewrite incoming requests
RewriteEngine On
RewriteRule ^/pier(.*)$
http://www.thoseoptimizeguys.com/$1 [redirect,last]
RewriteRule ^/files/(.*)$
http://localhost:8085/files/$1 [proxy,last]
RewriteCond /home/optimizeguys/optimizeImage/files/%{REQUEST_FILENAME} !-f
RewriteRule ^/(.*)$
http://localhost:8085/pier/$1 [proxy,last]
</VirtualHost>
--
----
peace,
sergio
photographer, journalist, visionary
http://www.CodingForHire.com
http://www.coffee-black.com
http://www.painlessfrugality.com
http://www.twitter.com/sergio_101
http://www.facebook.com/sergio101