Hi all I know that this topic was several times mentioned bevor.
I have read all the information I could found about it. But I can not solve my problem. I would like to recode a cgi-app to mojolicious. But I have only a shared webspace to do it. If I login into my shared webspace with ssh and I enter *mojo version* I can see the following information: *core perl v5.24.3, freebsd Mojolicious 7.58, DoughnutOptional EV 4.0+ / 4.22 IO::Socket::Socks 0.64+ / n.a. IO::Socket::SSL 1.94+ / 2.051 Net::DNS::Native 0.15+ / n/a Role::Tiny 2.000001+ / 2.000006* Then* I have read* all the pages like *a.) http://mojolicious.org/perldoc/Mojolicious/Guides/Cookbook#Apache-CGIb.) https://github.com/kraih/mojo/wiki/Apache-deployment* and I put following into my .htaccess AddHandler cgi-script .pl Options +ExecCGI IndexIgnore * RewriteEngine on RewriteCond %{DOCUMENT_ROOT}/public/%{REQUEST_URI} -f RewriteRule ^(.*) public/$1 [L] RewriteCond %{DOCUMENT_ROOT}/%{REQUEST_URI} !-f RewriteRule ^(.*) script/premium_career_scout.pl [L] On my shared webspace I have the projects in a www directory. For this case it's in: www/mojo/premium_career_scout and the document-root for the project is also set on www/mojo/premium_career_scout If I call https://mojo.premiumcareerscout.ch/ I get the correct page. I also checked if the css and js files are reachable... everything seems to be ok! But on the right upper side of the page I have three links 1.) /faq 2.) /contacts 3.) /jobsuchmaschinen If I click on such a link, nothing happens. If I do the same on the developing computer with morbo, everything is working. Here is the content of PremiumCareerScout.pm package PremiumCareerScout; use Mojo::Base 'Mojolicious'; # This method will run once at server start sub startup { my $self = shift; # Documentation browser under "/perldoc" $self->plugin('PODRenderer'); # Router my $r = $self->routes; # Normal route to controller $r->get('/')->to('Portal#main'); $r->get('/faq')->to('Portal#faq'); $r->get('/contacts')->to('Portal#contacts'); $r->get('/jobsuchmaschinen')->to('Portal#jobsuchmaschinen'); } 1; What I'm doing wrong? Can someone help my? Thank you very much Michael -- You received this message because you are subscribed to the Google Groups "Mojolicious" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/mojolicious. For more options, visit https://groups.google.com/d/optout.
