I am developing this web app in perl, multiple cgis, some conf files.. temp files, etc. Right now it is more or less being expected to set up alongside http accesible dir, so.. if a user has /srv/whatever/username/public_html , the app would reside in /srv/whatever/username/app - that is, all sennsitive data about the applciation resides there.
Mow most cgis reside in the webshare- but they contain nothing that would make them dangerous if read as text. They contain no passwords, absolute paths to anything, etc. I should still move them out of http accessible, right?
- Should I put all the cgis to reside under /srv/whatever/username/cgi-bin and thus accessible via https://site.com/cgi-bin/app ?
- should i place all config files for this app also somewhere in the cgi-bin/app/conf_files, for example?
- Are people generally expecting to install a web app under cgi-bin, and thus asking them to create a dir alongside their http accesible root- would that be too much for them? To ask?
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: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.