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 7431427
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T09:17:41+00:00 2026-05-29T09:17:41+00:00

I am trying to get Apache::ASP running on OSX Lion Server. I have made

  • 0

I am trying to get Apache::ASP running on OSX Lion Server. I have made a fresh install of OSX Lion VM in Fusion 4, installed the Xcode app (with command line tools), and run the following shell commands:

sudo perl -MCPAN -e shell

cpan> install CPAN

cpan> install Bundle::Apache::ASP

I’ve add to end of the httpd.confg files (/Library/Server/Web/Config/apache2/httpd_server_app.conf and
/Library/Server/Web/Config/apache2/httpd_server_app.conf.default):

 <Files ~ (\.asp)>    
    SetHandler  perl-script
    PerlHandler Apache::ASP
    PerlSetVar  Global .
    PerlSetVar  StateDir /tmp/asp
 </Files>

But either adding the set handler or perlhandler causes Apache not to restart. Take them both out and Apache starts, but serves an .asp file as a text file….

UPDATE #1:

Oops, twenty or thirty:

 sudo apachectl restart

and I didn’t even have mod perl running. Adding the below to the httpd.conf file got Apache to start:

LoadModule perl_module libexec/apache2/mod_perl.so
Alias /perl/ /Library/WebServer/Documents/perl/
<Location /perl/>
  SetHandler perl-script
  PerlResponseHandler ModPerl::Registry 
  PerlOptions +ParseHeaders
  Options +ExecCGI
  Order allow,deny
  Allow from all
</Location>

$Request->{Method} will now return a value, but….

   %test = $Request->ServerVariables(); #or $Request->ServerVariables(URL);
   %><%= $test %><%

Outputs: Apache::ASP::Collection=HASH(0x7f84114c58d8)

UPDATE #2:

Several of the ServerVariables are undefined on Apache::ASP vs. IIS. The syntax is slightly different than expected. Below will list all available server variables…

my $variables = $Request->{ServerVariables};
print join '<br>', sort keys %$variables;
  • 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-29T09:17:42+00:00Added an answer on May 29, 2026 at 9:17 am

    Solution has been added to question, but the short answer is that mod perl must be running (and does not start by default on OS X Lion…

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

Sidebar

Related Questions

I am trying to get my ZEND application up on my apache server running
I'm trying to get perl running under on my Apache 2 macports install. I'm
I'm trying to get an Apache server running on my Cygwin setup to follow
Trying to get ActiveMQ with JNDI running following ( http://activemq.apache.org/jndi-support.html ) and i have
I am trying to get a Django app running on Apache with mod_wsgi. I
I'm hosting a server at home with apache and i'm trying to get my
I'm trying to get a basic Apache 2.2 load balancer running on top of
I am trying to get dpHibernate 2.0 RC6 running on an Apache Tomcat 7.0.12
I am trying to get dpHibernate 2.0 RC6 running on an Apache Tomcat 7.0.12
I setup phpMyID on one of my machines, and I'm trying to get apache

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.