Main Stories
Slash Boxes

Slash Open Source Project

Slashcode Log In

Log In

[ Create a new account ]

Article Poll

Poll I found this article to be
Very Helpful
Helpful
Not Helpful
Not Very Helpful
[ Results | Polls ]
Comments:0 | Votes:0

Apache/Cookie.pm Problem

posted by Krow on 07:34 AM September 25th, 2001   Printer-friendly   Email story
Wedge writes "Hello all, I hope someone out there could give me a hand with this little project of mine which is sucking the life right out of me. After a grueling pace I've gotten to the point where I am at the last step and starting up Apache. Now, everything has been installed full and by source following the directions. When I start up Apache I get this: Starting httpd: Syntax error on line 1202 of /etc/httpd/conf/httpd.conf Can't locate Apache/Cookie.pm in @INC lalala and you know the rest. Now, I got a MUCH longer version before I added this to the end of my httpd.conf file: PerlModule Apache::Cookie PerlModule Apache::Registry #Which is just before Include /usr/local/slash/httpd/slash.conf Okay. I know I'm an idiot because I probably did something stupid. I'm relatively new to THIS aspect of Linux. I'm just a learning programmer who has grown quite a bit from this Slash experience! Help me Obi-Wan Kenobi, you're my only hope! -Wedge"
This discussion has been archived. No new comments can be posted.
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login
Loading... please wait.
  • by Anonymous Coward
    You may have the Cookie.pm somewhere other than the path that perl's @INC statement is looking.

    To find out perl's @INC path you can try:

    perl -le 'print join "\n", @INC'

    Once you find out where its looking, find out where the file is actually loaded. You can try:

    locate Cookie

    If the file is not where perl is looking, that's the problem. If it doesn't exist, you may need to use the CPAN utility to install the library. -Mark

  • Try install libapreq [apache.org] I had the same problem, seems this is the one step missing from the installing instructions. libapreq contains the code for manipulating cookies. Greg