Hi again,

Try looking at the configuration file for httpd.  It's someplace like /etc/httpd/conf/httpd.conf  I am by no means an expert at html/cgi (although I'm trying to learn!), but I know that httpd.conf is where things like Apache pathname configuration are handled.  Basically, you can define which directory will be the starting point for a given URL pointing to your server.  Note that the starting point may differ depending on whether you're executing a script (CGI) or simply fetching a file.  So if you have /public_html configured as the "starting point", an URL which references your server will access files relative to the /public_html directory.

You may also want to read some of the Apache/http documention (try a Google for "configuring html", or something similar).  Good luck!


@ARGV=split//,"/:L"; map{print substr crypt($_,ord pop),2,3}qw"PerlyouC READPIPE provides"

In reply to Re^3: where art thou file? by liverpole
in thread where art thou file? by Angharad

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.