Page not found, want to go <a href="/~user_id//cgi-bin/path/to/app/script/app_name/">home</a>?
Unfortunately I'm not able to use ScriptAlias directive in .htaccess file. I only have mod_rewrite.
When I try to use mod_rewrite rule, I always get wrong redirects to that
"/~user_id//cgi-bin/path/to/app/script/app_name/" path.
Have anyone set up Mojo on shared hosting and has working solution?
Please, I really don't want to write that in php :(
> I'm trying to start Mojo app as CGI on shared hosting, put everything in
> cgi-bin directory.
> And I'm able to open page.
>
> With my set of controllers I get smth like:
>
> Page not found, want to go <a
> href="/~user_id//cgi-bin/path/to/app/script/app_name/">home</a>?
Try:
<a href="">home</a>
Or use url_for.
[...]
Guys! This is awesome stuff! Thanks for clarifying the usage for .htaccess
files for Mojo! Very cool! We do have some documentation on our growing
wiki about this:
https://github.com/kraih/mojo/wiki/Apache-deployment
@kberov, @Sergey: Could you verify it and merge your configuration parts
and include them inside the wiki? That would be great! I've added a
section about shared environments. Maybe we can mangle the information
together.
Thanks
Uli
--
You received this message because you are subscribed to the Google Groups "Mojolicious" group.
To post to this group, send email to mojol...@googlegroups.com.
To unsubscribe from this group, send email to mojolicious...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/mojolicious?hl=en.