I resolved it, I copied the app directory to /var/www and chmod it
Is it safe to do like that?

On Wednesday, April 16, 2014 11:32:09 PM UTC+2, Melb01 wrote:
>
> I already did that and I myapp file in both directories but I am not able 
> to access the app remotely
> I used the gem speedy to deploy the app
>
> On Wednesday, April 16, 2014 11:16:44 PM UTC+2, Walter Lee Davis wrote:
>>
>> In the apache2 folder, you should see a pair of folders named 
>> sites-available and sites-enabled. Inside sites-available, you will find 
>> one or more text files, each of which contains the configuration for a 
>> single name-based virtual host. If you see default and default-ssl (or 
>> similar) in there, then edit the default file. 
>>
>> sites-enabled contains symbolic links to the files in sites-available, 
>> which allows you to disable a site without removing its configuration file. 
>> If you add more sites to this server, you're going to want to create new 
>> config files based on default. Once you do, be sure to add a link to the 
>> file (original is in -available, link goes in -enabled). 
>>
>> Walter 
>>
>> On Apr 16, 2014, at 3:51 PM, Melb01 wrote: 
>>
>> > I am using ubuntu 10.04 
>> > 
>> > On Wednesday, April 16, 2014 10:32:48 PM UTC+3, Walter Lee Davis wrote: 
>> > What server are you using? Ubuntu? Some other Linux? The only thing I 
>> can tell you for certain is that it depends... 
>> > 
>> > Walter 
>> > 
>> > On Apr 16, 2014, at 3:23 PM, Melb01 wrote: 
>> > 
>> > > it is the file in the directory: /etc/apache2 
>> > > is there any other directory? 
>> > > 
>> > > On Wednesday, April 16, 2014 9:10:51 PM UTC+2, Walter Lee Davis 
>> wrote: 
>> > > On Apr 16, 2014, at 2:39 PM, Melb01 wrote: 
>> > > 
>> > > > I found it, but it is an empty file, what line I have to add it? 
>> > > 
>> > > Then you haven't found the right file. 
>> > > 
>> > > Walter 
>> > > 
>> > > > 
>> > > > On Wednesday, April 16, 2014 8:16:51 PM UTC+2, Walter Lee Davis 
>> wrote: 
>> > > > 
>> > > > On Apr 16, 2014, at 2:09 PM, Melb01 wrote: 
>> > > > 
>> > > > > Thank you answering me 
>> > > > > I open the logs and I found this error: 
>> > > > > File does not exist: /var/www/myapp 
>> > > > > 
>> > > > > How to add it? 
>> > > > > 
>> > > > 
>> > > > I'm going to take a WAG here, and say that this was boilerplate in 
>> the Passenger configuration code that you got when you installed the 
>> Passenger application server. Try opening your httpd.conf file, locate that 
>> line there, and replace it (two places, in a normal Apache config file) 
>> with the actual root-relative path to your application's public folder on 
>> the server disk. 
>> > > > 
>> > > > Or better, tell us which app server and which Web server you are 
>> using. 
>> > > > 
>> > > > Walter 
>> > > > 
>> > > > > 
>> > > > > rgds 
>> > > > > 
>> > > > > -- 
>> > > > > You received this message because you are subscribed to the 
>> Google Groups "Ruby on Rails: Talk" group. 
>> > > > > To unsubscribe from this group and stop receiving emails from it, 
>> send an email to [email protected]. 
>> > > > > To post to this group, send email to [email protected]. 
>>
>> > > > > To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/rubyonrails-talk/56fbed1d-90e4-421a-bbfa-db6d8147a87f%40googlegroups.com.
>>  
>>
>> > > > > For more options, visit https://groups.google.com/d/optout. 
>> > > > 
>> > > > 
>> > > > -- 
>> > > > You received this message because you are subscribed to the Google 
>> Groups "Ruby on Rails: Talk" group. 
>> > > > To unsubscribe from this group and stop receiving emails from it, 
>> send an email to [email protected]. 
>> > > > To post to this group, send email to [email protected]. 
>> > > > To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/rubyonrails-talk/1168c685-e82c-4ec0-9c1e-e2fdc09da5b7%40googlegroups.com.
>>  
>>
>> > > > For more options, visit https://groups.google.com/d/optout. 
>> > > 
>> > > 
>> > > -- 
>> > > You received this message because you are subscribed to the Google 
>> Groups "Ruby on Rails: Talk" group. 
>> > > To unsubscribe from this group and stop receiving emails from it, 
>> send an email to [email protected]. 
>> > > To post to this group, send email to [email protected]. 
>> > > To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/rubyonrails-talk/7ef676d5-c45d-4c47-9015-06e20b836ce6%40googlegroups.com.
>>  
>>
>> > > For more options, visit https://groups.google.com/d/optout. 
>> > 
>> > 
>> > -- 
>> > You received this message because you are subscribed to the Google 
>> Groups "Ruby on Rails: Talk" group. 
>> > To unsubscribe from this group and stop receiving emails from it, send 
>> an email to [email protected]. 
>> > To post to this group, send email to [email protected]. 
>> > To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/rubyonrails-talk/cd42710a-0ebc-4a0f-b93d-a9b976d00b53%40googlegroups.com.
>>  
>>
>> > For more options, visit https://groups.google.com/d/optout. 
>>
>>

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/e36498ee-ff1e-4871-8c5d-835d526897cf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to