# Using adobe contribute on a rails project

**URL:** <https://www.ruby-forum.com/t/using-adobe-contribute-on-a-rails-project/167876>\
**Category:** Rails\
**Created:** [May 13, 2009, 3:36pm UTC](https://www.ruby-forum.com/t/using-adobe-contribute-on-a-rails-project/167876 "2009-05-13T15:36:34Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![spacechurro](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/d2c977/32.png) [@spacechurro](https://www.ruby-forum.com/u/spacechurro)\
**Post date:** [May 13, 2009, 3:36pm UTC](https://www.ruby-forum.com/t/using-adobe-contribute-on-a-rails-project/167876/1 "2009-05-13T15:36:34Z")

</div>

we are currently trying to allow one of our clients to access and edit  
some html files on their site via adobe’s contribute.

the files live in the public directory of the rails site, and it seems  
like there is a problem with contribute connecting to the site. it  
looks like contribute is attempting to find a direct http connection  
to the file as in:

[http://www.domain.com/filename.txt](http://www.domain.com/filename.txt)

it seems to want to find the file at the root of the site, but on a  
rails site, the files lives at:

site/public/filename.txt

i can’t think of any other problem the connection might be having…

anyone have any ideas?

---

<div class="post-metadata">

**Author:** ![spacechurro](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/d2c977/32.png) [@spacechurro](https://www.ruby-forum.com/u/spacechurro)\
**Post date:** [May 13, 2009, 4:51pm UTC](https://www.ruby-forum.com/t/using-adobe-contribute-on-a-rails-project/167876/2 "2009-05-13T16:51:02Z")

</div>

2009/5/13 Colin L. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)

> If the url of the root of your rails app is [www.domain.com](http://www.domain.com) then  
> [www.domain.com/filename.txt](http://www.domain.com/filename.txt) will look in the /public directory. Try  
> accessing a file there from your browser to check this is working.  
> Colin

On the other hand this may only be true when accessing from a browser, I  
don’t know how adobe contribute expects to read/write to a file.  
Colin

---

<div class="post-metadata">

**Author:** ![spacechurro](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/d2c977/32.png) [@spacechurro](https://www.ruby-forum.com/u/spacechurro)\
**Post date:** [May 13, 2009, 4:38pm UTC](https://www.ruby-forum.com/t/using-adobe-contribute-on-a-rails-project/167876/3 "2009-05-13T16:38:39Z")

</div>

If the url of the root of your rails app is [www.domain.com](http://www.domain.com) then  
[www.domain.com/filename.txt](http://www.domain.com/filename.txt) will look in the /public directory. Try  
accessing a file there from your browser to check this is working.  
Colin

2009/5/13 Sergio R. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)

---

<div class="post-metadata">

**Author:** ![spacechurro](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/d2c977/32.png) [@spacechurro](https://www.ruby-forum.com/u/spacechurro)\
**Post date:** [May 13, 2009, 4:58pm UTC](https://www.ruby-forum.com/t/using-adobe-contribute-on-a-rails-project/167876/4 "2009-05-13T16:58:19Z")

</div>

unfortunately, none of the files are accessible by the browser… since  
they all live outside the of the area served by apache…

the app is served via apache… through a proxy…

---

<div class="post-metadata">

**Author:** ![spacechurro](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/d2c977/32.png) [@spacechurro](https://www.ruby-forum.com/u/spacechurro)\
**Post date:** [May 13, 2009, 5:24pm UTC](https://www.ruby-forum.com/t/using-adobe-contribute-on-a-rails-project/167876/5 "2009-05-13T17:24:35Z")

</div>

Colin L. wrote:

> The rails project public folder must be accessible, that is where all  
> the  
> js, css files etc live

accessible as in correct permissions?

---

<div class="post-metadata">

**Author:** ![spacechurro](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/d2c977/32.png) [@spacechurro](https://www.ruby-forum.com/u/spacechurro)\
**Post date:** [May 13, 2009, 5:05pm UTC](https://www.ruby-forum.com/t/using-adobe-contribute-on-a-rails-project/167876/6 "2009-05-13T17:05:09Z")

</div>

The rails project public folder must be accessible, that is where all  
the  
js, css files etc live

2009/5/13 Sergio R. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)

---

<div class="post-metadata">

**Author:** ![spacechurro](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/d2c977/32.png) [@spacechurro](https://www.ruby-forum.com/u/spacechurro)\
**Post date:** [May 13, 2009, 5:29pm UTC](https://www.ruby-forum.com/t/using-adobe-contribute-on-a-rails-project/167876/7 "2009-05-13T17:29:49Z")

</div>

Accessible to the browser via http at the root of the domain for  
fetching  
javascript css etc. Also the 404.html and 500.html error pages are  
normally  
there. Also robots.txt etc. Look in your rails project /public folder  
and  
you will see what I mean.

All of this may have no relevance to adobe contribute however.  
Colin

2009/5/13 Sergio R. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)
