I removed the CGI::Session module folder from my cgi-bin directory, following your suggestions, and placed it in /public/perlmod/CGI with 755 (The public folder hangs from the root)

However, I still get "Can't locate CGI/Session.pm in @INC (@INC contains: /public/perlmod/CGI.....

I noticed in the boilerplate my ISP uses when loading SSH that (Quote)Your homedirectory begins at "/". Yet, "/etc" is a system directory. This can be a bit confusing at first. Your public directory is found at: /public and so on. If you are working with scripts using absolute, hard-coded paths and need to run them in the shell, consider using the environment variable "DOCUMENT_ROOT" in your code.
This is always set properly and will work in the shell and when run through the webservers.(unquote)

This explains why I placed /perlmod under /public. I am clueless when it comes to applying DOCUMENT_ROOT.

If it helps at all the full path of my Web site on the server is: /services/webpages/m/y/mydomaine.com

Thanks again

In reply to Re^2: Unable to install CGI::Session on a hosted site by cdarwall
in thread Unable to install CGI::Session on a hosted site by darwall

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.