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

  • SEARCH
  • Home
  • 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 171931
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T13:04:31+00:00 2026-05-11T13:04:31+00:00

mod_perl/apache doesn’t seem able to follow symlinks. In httpd.conf I have: Options FollowSymLinks <VirtualHost

  • 0

mod_perl/apache doesn’t seem able to follow symlinks.

In httpd.conf I have:

Options FollowSymLinks <VirtualHost *>         ServerName cas.devserver.com         ServerAlias cas.devserver.com         ServerAdmin webmaster@devserver.com         DocumentRoot /var/www/htdocs/abc/def         PerlSwitches -I/var/www/cgi-bin         PerlSendHeader On         <Location />                 Options FollowSymLinks                 PerlSendHeader On                 PerlHandler Test1::Test                 SetHandler perl-script                 Order deny,allow                 Allow from all         </Location> </VirtualHost> 

If /var/www/cgi-bin/Test1 is a directory containing Test.pm, then it works. If it is a symlink to the directory that contains Test.pm (/var/www/cgi-bin/test1/) then it fails:

[error] [client xxx.xxx.xxx.xxx] failed to resolve handler `Test1::Test':       Can't locate Test1/Test.pm in @INC       (@INC contains: /var/www/cgi-bin/ <snip> /usr/lib/perl5/5.8.8 . /etc/httpd)       at (eval 9) line 3.\n 

I’ve checked permissions and they seem OK.

Thanks for any help.

  • 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. 2026-05-11T13:04:32+00:00Added an answer on May 11, 2026 at 1:04 pm

    Simple obvious question,

    Have you tried running your cgi script from the command line with the symlink in place?

    Shouldn’t you also add to the container?

    Options +ExecCGI 

    HTH

    cheers,

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

Sidebar

Related Questions

My mod_perl appears to cause a segmentation fault in my Apache. 'httpd -X' simply
Is it possible to have an apache mod_perl handler, which receives all incoming requests
I have a mod_perl-enable Apache running native (handlers, not Apache::Registry or similar) mod_perl code.
My company develop web apps using combination of mod_perl, axkit and apache. We have
I am using Server version: Apache/1.3.34 (Debian) mod_perl - 1.29 By refering to STDIN,
I am trying to build Apache 1.3.41 with mod_perl 1.31 for deployment to a
I use XAMPP on my desktop (Apache/2.2.17 (Win32) mod_ssl/2.2.17 OpenSSL/0.9.8o PHP/5.3.4 mod_perl/2.0.4 Perl/v5.10.1 MySQL
I have a mod_perl script: use strict; use warnings FATAL => 'all'; use 5.010001;
I have configured Mod Security on Apache 2.2.21 and i have successfully configured Mod
We have an existing Perl application that supports mod_perl . However, our new host

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.