Women in Technology

Hear us Roar



Article:
  Build Your Own Apache Server with mod_perl and mod_ssl
Subject:   configure???
Date:   2002-12-27 21:17:00
From:   joeateb
I got through the first article and have set up my own Apache server with mod_perl. In fact I am using it to serve a site I am developing for my son. http://www.jimmysstickershack.com I was able to get the new server running and displaying pages but I have got a couple of things I need to resolve.
First; how do I get the server to serve a page from a subdirectory?
Second; I was trying to follow the mod_ssl development and ran into a problem at the section (pg2) where you type:


% ./configure \
--with-layout=Apache \
--enable-module=so \
--enable-module=ssl \
--enable-shared=ssl \
--activate-module=src/modules/perl/libperl.a \
--disable-shared=perl \
--without-execstrip
% make
terminal reports: no command ./configure


I'm now lost....

Full Threads Oldest First

Showing messages 1 through 5 of 5.

  • David Wheeler photo configure???
    2003-01-02 11:52:49  David Wheeler | O'Reilly Author [View]

    <blockquote>First; how do I get the server to serve a page from a subdirectory?</blockquote>

    What do you mean by "a subdirectory?" If you put documents into a subdirectory of your document root (which by default should be /usr/local/apache/htdocs), it should work provided that the permissions on the directory and its contents are such that the user "nobody" can read them.



    <blockquote>terminal reports: no command ./configure
    </blockquote>

    Really? Are you in the Apache source code directory? The configure script should just be there and work. If somehow its executable bit was unset, you could try sh configure ..., instead.



    HTH,



    David


    • configure???
      2003-01-06 07:42:37  joeateb [View]

      Actually, I was in the wrong directory and when I got in the correct one, the server configured. But I am concerned about Perl messages now.
      I don't know if it's because of my mod_perl installation or because I installed Carbon Copy Cloner which uses PSYNC. But I now get perl warnings about locale settings LC_ALL. And I don't know how to correct it to eliminate them. Unix and Apache and Perl are fun, but they are starting tp make my hair hurt.
    • configure???
      2003-01-03 11:29:53  joeateb [View]

      BTW do I need to do mod_dav to get back my Adobe Work Group Server capabilities? I seem to have lost them turning on the new server.

      Joe
    • configure???
      2003-01-03 11:18:19  joeateb [View]

      <blockquote>What do you mean by "a subdirectory?" If you put documents into a subdirectory of your document root (which by default should be /usr/local/apache/htdocs), it should work provided that the permissions on the directory and its contents are such that the user "nobody" can read them.</blockquote>
      Actually I went into the Apache config file and changed where it serves from to the directory that was used for the original server /Library/WebServer/Documents because I had already set up a site there. And actually after doing a little more with the config file, I think I cured the problem.

      <blockquote>
      Really? Are you in the Apache source code directory? The configure script should just be there and work. If somehow its executable bit was unset, you could try sh configure ..., instead.
      </blockquote>
      I'll give this a shot this weekend if I get a chance.

      Thanks for your response.

      Joe
      • configure???
        2003-01-07 06:08:30  joeateb [View]

        Over the last weekend I went back and redid the whole thing and everything appeared to work as far as the builds were concerned. I went to Verisign and got a 14 day trial certificate and when I did the "Make Certificate" command it said I was successful and when I ran the make and install commands for the server the new httpd.conf file appears to have the certificate information integrated into it. I can get it to start in ssl but when I try to use https:// I get an encryption failure message.

        The config file points to a "server.crt" file and a "server.key" which are not the original names I used in the "make certificate" process. In an attempt to get it to work I moved the original .crt and .key files to the directories and changed the config file to point to them instead but that lead to the same encryption failure message.

        2 steps forward, 1 step back.
        suggestions please.