Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6698227
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T06:33:12+00:00 2026-05-26T06:33:12+00:00

That is from the apache error_log: [Mon Oct 17 17:55:42 2011] [error] [client 127.0.0.1]

  • 0

That is from the apache error_log:

[Mon Oct 17 17:55:42 2011] [error] [client 127.0.0.1] (13)Permission denied: access to /index.html denied

In /etc/apache2/vhosts.d I’ve created this file:

<VirtualHost 127.0.0.1:3000>
    DocumentRoot "/home/mm/lib/vokabeltrainer"
    ServerName localhost:3000
    <Directory "/home/mm/lib/vokabeltrainer">
    Options FollowSymLinks ExecCGI
    AddHandler cgi-script .pl
    IndexIgnore *
    RewriteEngine on
    RewriteCond %{DOCUMENT_ROOT}/public/%{REQUEST_URI} -f
    RewriteRule ^(.*) public/$1 [L]
    RewriteCond %{DOCUMENT_ROOT}/%{REQUEST_URI} !-f
    RewriteRule ^(.*) vokabeltrainer.pl [L]
    AllowOverride None
    Order allow,deny
    Allow from all
    </Directory>
</VirtualHost>

The /etc/apache2/listen.conf looks like this:

Listen 127.0.0.1:3000
NameVirtualHost 127.0.0.1:3000

For testing, I’ve modified the folder like chmod -R 0777 /home/mm/lib/vokabeltrainer

When I run the vokabeltrainer.pl (Mojolicious::Lite script) with morbo development server it works.

Has somebody a clue where I should look?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T06:33:13+00:00Added an answer on May 26, 2026 at 6:33 am

    As Ikegami pointed out, my first problem was that I didn’t consider the /home/mm/lib part of the path: the lib-directory didn’t have enough rights so I had to ad the needed rights.
    Then I changed the path in the shebang form /usr/local/bin/perl to /usr/bin/perl and installed Mojolicious::Lite for the /usr/bin/perl.

    The last thing I had to do, was writing the url like this http://localhost:3000/vokabeltrainer.pl/random instead of http://localhost:3000/random.
    (In the Pretty "Web 2.0" URLs at mojo/wiki/Apache-deployment is shown a way to keep the short url)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm building Java client that will automatically upload file from Java server to Panda
I couldn't figure out that from SASS documentation. For example I would like to
OK, so I know that from-import is exactly the same as import , except
I have some old code (an old but still maintained VB6 application) that from
I want to draw a line in Crystal report. I can do that from
Lets say that input from the user is a decimal number, ex. 5. 2155
I suspect that calls from separate threads (>15) are having a negative effect on
I made a class that derives from Component: public class MyComponent: System.ComponentModel.Component { }
I have a class that inherits from ObservableCollection(Of MyObject) and the MyObject class handles
I have a class that inherits from a base class (this contains a lot

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.