Thanks for bearing with me.

That one didn't work - close but it gave me a double rendering of the 
apartment-marie.com bit, something like this... 
apartment-marie.com/apartment-marie.com/properties bla... so I edited 
like so (here's the real file and it's live if it helps)..

This is much better (ignore the silly google api key message, will sort 
in time)

<VirtualHost *:80>

  ServerName  chaletcordee.co.uk
  # ServerAlias www.chaletcordee.co.uk

  DocumentRoot /home/rupert/public_html/bookings/public

  AddOutputFilterByType DEFLATE text/html text/plain text/xml 
application/xml application/xhtml+xml text/javascript text/css
  AddOutputFilterByType DEFLATE application/javascript
  AddOutputFilterByType DEFLATE application/x-javascript

  Options +FollowSymLinks
  RewriteEngine on
  RewriteRule ^/$ /properties/1/$1 [R]

</VirtualHost>


=====

So I feel a bit less lost now... try chaletcordee.co.uk in a browser 
appears to work and sub links are working too, e.g. full_details.

does that look right to you so far?

-- 
Posted via http://www.ruby-forum.com/.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-t...@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to