Forum: Typo Typo 404 in Subdirectory

Posted by 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!
Posted by 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
Posted by 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
Posted by 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
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.