hello,
i use shared hosting with apache and .htacces file for configuration.
.htaccess file is places in the rails project folder:
--------
RewriteEngine On
RewriteRule ^$ public/index.html [L]
RewriteCond %{REQUEST_URI} !^/project/public
RewriteRule ^(.*)$ public/$1 [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ public/dispatch.fcgi/$1 [QSA,L]
--------
Everything work fine except that, I can''t call the controller like
this:
http://xxxxxxxxx.net/project/controller
Error Message is:
----
The page you were looking for doesn''t exist.
You may have mistyped the address or the page may have moved.
----
But i can call the controller like this:
http://xxxxxxxxx.net/project/public/controller
how can i solve the problem?
thanx
otis
--
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-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---