# Problema con Rails e Apache

**URL:** <https://www.ruby-forum.com/t/problema-con-rails-e-apache/110224>\
**Category:** IT\
**Created:** [July 24, 2007, 1:27pm UTC](https://www.ruby-forum.com/t/problema-con-rails-e-apache/110224 "2007-07-24T13:27:28Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lucea](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/ea5d25/32.png) [@Lucea](https://www.ruby-forum.com/u/Lucea)\
**Post date:** [July 24, 2007, 1:27pm UTC](https://www.ruby-forum.com/t/problema-con-rails-e-apache/110224/1 "2007-07-24T13:27:28Z")

</div>

Salve a tutti, dopo aver finalmente terminato la mia applicazione  
è arrivato  
il momento del deployment. 🙂  
Con webrick nessun problema.  
Con apache invece non riesco a farla funzionare.  
Ho un’applicazione che devo integrare all’interno di un sito più grande, ho  
seguito quindi questa guida:  
[http://wiki.rubyonrails.com/rails/pages/HowtoUseSymLinksToGraftRailsOntoYourWebsite](http://wiki.rubyonrails.com/rails/pages/HowtoUseSymLinksToGraftRailsOntoYourWebsite)

Ho quindi creato un link in questo modo

```
           ln -s /usr/rails/miaapplicazione/public/

```

/var/www/miaapplicazione

Ora, se accedo a

```
           http://localhost/miaapplicazione

```

vedo la pagina iniziale di ruby (Welcome aboard your riding the rails!)  
ma  
nel momento in cui accedo all’applicazione vera a propria (quindi ai  
controller)

```
           http://localhost/miaapplicazione/controller

```

mi dà errore

```
          Not Found
          The requested URL /miaapplicazione/controller was not 

```

found on  
this server.

Sapreste dirmi per quale motivo?  
Grazie a tutti  
Silvia

PS: La guida che ho seguito dice

If by doing this gets you to the welcome page but not to any controller  
and  
action look at your apache configuration (httpd.conf)for a line

AllowOverride None

and change it to

AllowOverride All

this will allow the .htaccess file on public to load. Or else, you could  
edit your httpd.conf file (if you have access). The guys at Apache  
recomend  
you not to use the .htaccess files.

Ma questo non risolve il problema!
