Forum: Typo Typo 404 in Subdirectory

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
737955fe66a7d91b374aec7c05715c5c?d=identicon&s=25 Shanif Dhanani (shaydog)
on 2008-12-18 14:16
Hello,

I've recently gotten the latest version of Typo from SVN and have
attempted to go through all of the install guides for how to get it up
and running in a subdirectory.

Unfortunately, every time I try to access it, I get the "Page not found"
404 error that's generated by the RedirectController.

Looking in the logs shows many of the following errors:

Processing RedirectController#redirect (for [IP] at 2008-12-17 20:26:34)
[GET]
  Parameters: {"from"=>["blog"], "action"=>"redirect",
"controller"=>"redirect"}
Completed in 223ms (View: 0, DB: 150) | 404 Not Found
[http://www.domain.com/blog/]

I've followed several tutorials on how to get this running as a
subdirectory, including the one on Typo's own wiki.  I've modified my
.htaccess files (no access to the main Apache config files), done all
the symlinking, set the Rails application root inside of environment.rb,
etc.  Still no luck.

Does anyone have any ideas on how I could get this up and running?

Thanks!
44d5033f854ba9246875c840f88ef0d3?d=identicon&s=25 Matt Rose (Guest)
on 2008-12-18 15:30
(Received via mailing list)
I'm not sure what your setup is, but I'm pretty sure that you need to
replace www.domain.com from the instructions, with your actual hostname.

Matt
737955fe66a7d91b374aec7c05715c5c?d=identicon&s=25 Shanif Dhanani (shaydog)
on 2008-12-18 15:36
Matt Rose wrote:
> I'm not sure what your setup is, but I'm pretty sure that you need to
> replace www.domain.com from the instructions, with your actual hostname.
>
> Matt

In my real set up, the domain is correct.  I merely posted that here to
show generically what it is I had done.

Thank you for the quick response.  Any suggestions?

-Shanif
28b51601f5824c847c1810b0ada10585?d=identicon&s=25 James Rissler (Guest)
on 2008-12-19 04:25
(Received via mailing list)
I always follow these instructions and works perfectly almost everytime

http://wiki.railsplayground.com/railsplayground/sh...

when you set your symlink, this is where you can say where typo will run
from blog.domain, domain/blog, etc

Then make sure you public folder in the app has the correct permission
aka
755

Hope this helps
James

----- Original Message -----
From: "Shanif Dhanani" <ruby-forum-incoming@andreas-s.net>
To: <typo-list@rubyforge.org>
Sent: Thursday, December 18, 2008 9:36 AM
Subject: Re: [typo] Typo 404 in Subdirectory


>
> -Shanif
> --
> Posted via http://www.ruby-forum.com/.
> _______________________________________________
> Typo-list mailing list
> Typo-list@rubyforge.org
> http://rubyforge.org/mailman/listinfo/typo-list


--------------------------------------------------------------------------------



No virus found in this incoming message.
Checked by AVG - http://www.avg.com
Version: 8.0.176 / Virus Database: 270.9.19/1855 - Release Date:
12/18/2008
10:16 AM
This topic is locked and can not be replied to.