Rafael GarcĂ­a wrote:
> DocumentRoot directive must be in virtual host configuration file. 
> Example:
> 
> <VirtualHost *:80>
>   ServerAdmin [EMAIL PROTECTED]
>   ServerName foo.com
>   ServerAlias www.foo.com bar.com www.bar.com
>   DocumentRoot /absolute_path_to/public
>   ...
> </VirtualHost>
> 
> Regards


Is it possible to do it using the .htaccess file? Because I don't have 
any access to the virtual host configuration, but only to the .htaccess 
(and I can't change hosting for now :( )
-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Deploying Rails" group.
To post to this group, send email to rubyonrails-deployment@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-deployment?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to