Re[Grok-dev] writeRule for my website

swank craig_swank at nrel.gov
Wed May 14 19:48:27 EDT 2008


Hello,
I have built a grok app for my sister, and it is hosted by a hosting
service.  My grok app is called pets, and I want its url to be
fcpetsitting.com and not fcpetsitting.com/pets.  My hosting service
suggested I add a static/cgi/php app called pets_proxy and have the url
point to that.  Then, in the main directory of pets_proxy make a file called
.htaccess an put a rewrite rule there.  I did, and it looks like this:

RewriteEngine On 
RewriteRule ^(.*)
http://localhost:6571/pets/++vh++http:fcpetsitting.com:80/++$1 [P,L]

It looks pretty much like what one of the grok tutorials said to do.  The
problem is that now, when you go to fcpetsitting.com, the images and css are
not coming through.  I have no formatting and no images.  When I click on
the links, the browser says "A system error occurred."

Does anyone have an idea for me?

Thanks,

Craig

PS.  I love using grok.  Thank you grok people.
-- 
View this message in context: http://www.nabble.com/RewriteRule-for-my-website-tp17243213p17243213.html
Sent from the Grok mailing list archive at Nabble.com.



More information about the Grok-dev mailing list