cgi-bin maybe trouble

Discussion in 'Software' started by mag00, Oct 20, 2004.

  1. mag00

    mag00 Sergeant

    I'm trying to fix a bug on a web site and the pages are loaded in the cgi-bin folder. If you check this site at the bottom the privacy statement, contact us, etc give a 404 error.

    I checked the web space and everything seem to be ok and the pages are there, but just doesn't display. I downloaded the page file and it opened from my desktop (minus pictures). So when I mouse over and past that in the addy behind the domain 404 apache. So on the web space I noticed that cgi was in a folder public_html and added that in the appropriate place and still nothing.

    So what the heck is cgi-bin for?

    Here is the page to be loaded, can you see anything wrong with this scritp? Or is it a routing to this that is not correct.

    ftp.aphrodisiabeverage.com then public_html then cgi-bin then ducs then display then o__content_cms then thats where I find th i__2.htm and others that won't display.

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <html>
    <head>
    <title>Womans Sensual Elixir ~ LiquidAphrodisia.com</title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    <link href="../../../../templates/aphrodisia/includes/style.css" rel="stylesheet" type="text/css">
    <SCRIPT LANGUAGE="Javascript"><!--

    // ***********************************************
    // AUTHOR: WWW.CGISCRIPT.NET, LLC
    // URL: http://www.cgiscript.net
    // Use the script, just leave this message intact.
    // Download your FREE CGI/Perl Scripts today!
    // ( http://www.cgiscript.net/scripts.htm )
    // ***********************************************

    function image() {
    };

    image = new image();
    number = 0;

    // imageArray
    image[number++] = "<img src='/templates/aphrodisia/images/l_home_img_petal01.jpg' border='0'>"
    image[number++] = "<img src='/templates/aphrodisia/images/l_home_img_petal02.jpg' border='0'>"
    image[number++] = "<img src='/templates/aphrodisia/images/l_home_img_petal03.jpg' border='0'>"
    image[number++] = "<img src='/templates/aphrodisia/images/l_home_img_petal04.jpg' border='0'>"
    image[number++] = "<img src='/templates/aphrodisia/images/l_home_img_petal05.jpg' border='0'>"
    // keep adding items here...

    //--></SCRIPT>
    </head>

    <body background="../../../../templates/aphrodisia/images/bg.jpg" text="#803438" link="#803438" vlink="#803438" alink="#803438" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">

    <table width="760" border="0" align="center" cellpadding="0" cellspacing="0">
    <tr>
    <td width="1" bgcolor="#F85C68"><img src="../../../../templates/aphrodisia/images/spacer.gif" ></td>
    <td valign="top"><img src="../../../../templates/aphrodisia/images/l_int_top.jpg" ></td>
    <td width="1" bgcolor="#F85C68"><img src="../../../../templates/aphrodisia/images/spacer.gif" ></td>
    </tr>
    </table>
    <table width="760" border="0" align="center" cellpadding="0" cellspacing="0">
    <tr>
    <td width="1" bgcolor="#F85C68"><img src="../../../../templates/aphrodisia/images/spacer.gif" ></td>
    <td valign="top" bgcolor="#FFECF5"><table border="0" cellspacing="0" cellpadding="0">
    <tr>
    <td><img src="../../../../templates/aphrodisia/images/l_int_navbottle.jpg" width="142" height="23"></td>

    <td><a href="../../../../index.html" class="mainnav"><img src="../../../../templates/aphrodisia/images/l_home_nav_1.gif" height="23" border="0"></a></td>

    <td><a href="../../../../product_information.html" class="mainnav"><img src="../../../../templates/aphrodisia/images/l_home_nav_2.gif" height="23" border="0"></a></td>

    <td><a href="../../../../testimonials.html" class="mainnav"><img src="../../../../templates/aphrodisia/images/l_home_nav_3.gif" height="23" border="0"></a></td>

    <td><a href="../../../../news.html" class="mainnav"><img src="../../../../templates/aphrodisia/images/l_home_nav_4.gif" height="23" border="0"></a></td>

    <td><a href="../../../../faq.html" class="mainnav"><img src="../../../../templates/aphrodisia/images/l_home_nav_5.gif" height="23" border="0"></a></td>

    <td><a href="../../../../contact.html" class="mainnav"><img src="../../../../templates/aphrodisia/images/l_home_nav_6.gif" height="23" border="0"></a></td>

    </tr>
    </table></td>
    <td width="1" bgcolor="#F85C68"><img src="../../../../templates/aphrodisia/images/spacer.gif" ></td>
    </tr>
    </table>
    <table width="760" border="0" align="center" cellpadding="0" cellspacing="0">
    <tr>
    <td width="1" bgcolor="#F85C68"><img src="../../../../templates/aphrodisia/images/spacer.gif" ></td>
    <td><img src="../../../../templates/aphrodisia/images/l_int_undernav.jpg" width="758" height="38"></td>
    <td width="1" bgcolor="#F85C68"><img src="../../../../templates/aphrodisia/images/spacer.gif" ></td>
    </tr>
    </table>

    <!-- CONTENT BEGINS HERE //-->

    <table width="760" border="0" align="center" cellpadding="0" cellspacing="0">
    <tr>
    <td width="1" bgcolor="#F85C68"><img src="../../../../templates/aphrodisia/images/spacer.gif" ></td>
    <td bgcolor="#FFF2F7"><table width="100%" border="0" cellspacing="0" cellpadding="10">
    <tr valign="top">
    <td>

    <table width="100%" border="0" cellspacing="0" cellpadding="0">
    <tr>
    <td background="../../../../templates/aphrodisia/images/l_home_bg_header.gif" ><img src="../../../../templates/aphrodisia/images/spacer.gif" width="52" height="46" align="absmiddle"><H1>Privacy Policy</H1></td>
    </tr>
    </table>
    <table width="100%" border="0" cellspacing="0" cellpadding="0">
    <tr valign="top">
    <td width="85"><!--//<img src="/templates/aphrodisia/images/l_home_img_petal01.jpg" width="85" height="84">//-->
    <SCRIPT LANGUAGE="Javascript"><!--
    increment = Math.floor(Math.random() * number);
    document.write(image[increment]);
    //--></SCRIPT>
    </td>
    <td width="10"><img src="../../../../templates/aphrodisia/images/spacer.gif" width="10" height="10"></td>
    <td> <!-- BEGIN CONTENT //-->


    <!-- layout1 template //-->
    <table width="100%" border="0">
    <tr>
    <td class="dcontentText"><b>Privacy Policy for Woman On Top, Inc. and its Web site, www.liquidaphrodisia.com.</b> <br>
    <br>
    Woman On Top, Inc. <br>
    935 Venezia Ave. <br>
    Los Angeles, CA 90291 <br>
    <br>
    You can access our Web site home page and browse our site without disclosing your personal data. <br>
    <br>
    <b>Automatic Collection of Information </b><br>
    We do not automatically log personal data nor do we link information automatically logged by other means with personal data about specific individuals. <br>
    We use cookies to store personal data or we link information stored in cookies with personal data about specific individuals. We do so for the following purposes: <br>
    ? Customer administration <br>
    <br>
    <b>Data Collection and Purpose Specification </b><br>
    We collect the personal data that you may volunteer while using our website. <br>
    We do not collect information about our visitors from other sources, such as public records or bodies, or private organizations. <br>
    <br>
    <b>Disclosure and Visitor Choice </b><br>
    We do not disclose your personal data to our subsidiaries or other organizations.<br>
    <br>
    <b>Confidentiality / Security </b><br>
    We give you the option of using a secure transmission method to send us the following types of personal data: <br>
    ? primary personal data (such as name and contact details) <br>
    ? identifiers (such as credit card details, Web site password)<br>
    <br>
    We have implemented security policies, rules and technical measures to protect the personal data that we have under our control from: <br>
    ? unauthorized access <br>
    ? improper use or disclosure <br>
    ? unauthorized modification <br>
    ? unlawful destruction or accidental loss <br>
    <br>
    All our employees and data processors, who have access to, and are associated with the processing of personal data, are obliged to respect the confidentiality of our visitors' personal data. <br>
    We ensure that your personal data will not be disclosed to State institutions and authorities except if required by law or other regulation.<br>
    <br>
    <b>Privacy Support </b><br>
    <br>
    We do provide our visitors with a contact point for privacy concerns or enquiries. They may email info@liquidaphrodisia.com for any questions or concerns.<br>
    </td>
    </tr>
    </table>
    <!-- end of layout1 //-->



    <!-- END CONTENT //--></td>
    </tr>
    </table>
    <table width="100%" border="0" cellspacing="0" cellpadding="0">
    <tr>
    <td>&nbsp;</td>
    </tr>
    </table>

    </td>
    <td width="1" background="../../../../templates/aphrodisia/images/bg_dots_vertical.gif" ><img src="../../../../templates/aphrodisia/images/spacer.gif" width="1" height="1"></td>
    <td width="198" align="center"><a href="../../../../cgi-bin/ducs/display/o__upscatalog/i__1/index.html" ><img src="../../../../templates/aphrodisia/images/l_home_focus02.jpg" width="199" height="345" border="0"></a></td>
    </tr>
    </table></td>
    <td width="1" bgcolor="#F85C68"><img src="../../../../templates/aphrodisia/images/spacer.gif" ></td>
    </tr>
    </table>

    <!-- CONTENT ENDS HERE ================================================================== //-->



    <table width="760" border="0" align="center" cellpadding="0" cellspacing="0">
    <tr>
    <td width="1" bgcolor="#F85C68"><img src="../../../../templates/aphrodisia/images/spacer.gif" ></td>
    <td background="../../../../templates/aphrodisia/images/bg_footer.gif" ><table width="758" border="0" cellspacing="0" cellpadding="0">
    <tr>
    <td width="15"><img src="../../../../templates/aphrodisia/images/bg_footer.gif" width="15" height="60"></td>
    <td class="smallText"><img src="../../../../templates/aphrodisia/images/spacer.gif" width="627" height="20"><br>
    <strong>LiquidAphrodisia.com</strong> 935 Venezia Ave., Los Angeles,
    CA 90291<br>
    <a href="mailto:info@liquidaphrodisia.com" class="smallText">Contact Us</a>&nbsp;&nbsp;|&nbsp;&nbsp;To
    become an affiliate: <a href="../../../../cgi-bin/ducs/display/o__content_cms/i__4.htm" class="smallText">Click Here</a>&nbsp;&nbsp;|&nbsp;&nbsp;View
    our <a href="../../../../cgi-bin/ducs/display/o__content_cms/i__2.htm" class="smallText">Privacy Policy</a> and <a href="../../../../cgi-bin/ducs/display/o__content_cms/i__3.htm" class="smallText">Return Policy</a>.</td>
    <td width="116" align="right"><img src="../../../../templates/aphrodisia/images/l_img_footerpetal.gif" width="93" height="60"></td>
    </tr>
    </table></td>
    <td width="1" bgcolor="#F85C68"><img src="../../../../templates/aphrodisia/images/spacer.gif" ></td>
    </tr>
    </table>
    </body>
    </html>
     
  2. mag00

    mag00 Sergeant

    OK so I pulled the file and duplicated it and put in with the folder with index_html and now when I type aphrodisia beverage.com/i__2.htm it displays. So now do I have to go and change all the href on all the pages or will the css take care of that?

    What the heck is CGI for?

    spose I could google, but that would take the fun out of it wouldn't it?
     
  3. BrokenArrows

    BrokenArrows Sergeant

    the cgi-bin is used to hold all your cgi code. its just a way of keeping it all together. its kind of a standard. all files in this dir should be .cgi and not .htm or .html or anything else.


    Having any other files would not make any difference its just the way it is.
     
  4. mag00

    mag00 Sergeant

    So if I change the htm to .cgi the pages could possibly work? Otherwise I have to go through and see what was even needed for it to be in the cgi-bin and then copy and re direct all the clickable related to this on all the pages, sounds tedious.

    I was hoping for it to be a simple glitch instead of changing code 0n each page. If it is just the tag, well no worries, still time consuming.
     

MajorGeeks.Com Menu

Downloads All In One Tweaks \ Android \ Anti-Malware \ Anti-Virus \ Appearance \ Backup \ Browsers \ CD\DVD\Blu-Ray \ Covert Ops \ Drive Utilities \ Drivers \ Graphics \ Internet Tools \ Multimedia \ Networking \ Office Tools \ PC Games \ System Tools \ Mac/Apple/Ipad Downloads

Other News: Top Downloads \ News (Tech) \ Off Base (Other Websites News) \ Way Off Base (Offbeat Stories and Pics)

Social: Facebook \ YouTube \ Twitter \ Tumblr \ Pintrest \ RSS Feeds