473,320 Members | 1,865 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

HTML file works locally, but not live

I'm helping a friend create her website. I'm not an expert with CSS, FTP, or HTML, but I know enough to squeeze by with only a small headache.

I've already uploaded all of the files I've created for her site via FileZilla.

Her index.html file works beautifully when I load it locally from my computer; but as soon as I try to open the webpage, all I get is the Index directory; and no listing of any of her other pages.

Is there a reason for this? Hopefully, it's not something simple that I'm later going to *headdesk* about.

Any help is muchly appreciated. Thank you!

Here's the HTML file:

Expand|Select|Wrap|Line Numbers
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  3. <head>
  4. <title>Pandora's Proxy</title>
  5. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  6. <link rel="Stylesheet" type="text/css" href="optimistic.css" />
  7. <!--[if lte IE 6]>
  8.     <script type="text/javascript" language="javascript" src="iehover.js"></script>
  9. <![endif]-->
  10. </head>
  11. <body>
  12. <div id="container">
  13.   <div id="header">
  14.     <h1>
  15.       <!-- YOUR WEBSITE NAME -->
  16.       Pandora's Proxy
  17.       <!-- YOUR WEBSITE NAME END -->
  18.     </h1>
  19.     <!-- TOP MENU -->
  20.     <ul id="mainmenu">
  21.       <li class="active"><a href="http://www.free-css.com/"><span>Home</span></a></li>
  22.       <li><a href="http://www.free-css.com/"><span>Gallery</span></a></li>
  23.       <li><a href="http://www.free-css.com/"><span>Commissions</span></a></li>
  24.       <li><a href="http://www.free-css.com/"><span>Contact</span></a></li>
  25.       <li><a href="http://artistryandprose.freeforums.org/"><span>Forum</span></a></li>
  26.     </ul>
  27.     <!-- TOP MENU END -->
  28.   </div>
  29.   <div id="content">
  30.     <div>
  31.       <!-- CONTENT START -->
  32.       <h2>All About Yin</h2>
  33.       <p>About me? There really isn’t much to say. I’m a twenty year old Northern gal currently stuck in the South, anxiously waiting for the day when she finishes her schooling to become a Massage Therapist and moves to Washington State. I’m happily in a relationship of three and half years with the best guy in the world and we own an adorable kitten and three godly goldfish.</p> 
  34.  
  35. <p>As for my art, I’m self taught in both general doodling and Photoshop (in which I feel singularly untalented). My style tends to fluctuate a lot so you’ll probably see that reflected in many of my pieces. However, I think I finally hit The One, the style that embodies me, and will stick with it. I generally don’t stray far from line art as I’m unequipped when it comes to using Photoshop. One has not felt tedium until they’ve tried to do a full color picture with only a mouse. I hope I can get tablet soon and get my ass into gear!</p>
  36.  
  37. <p>If this little spiel failed to answer any questions you had, feel free to drop me a line. I promise I’m even tempered and won’t bite. <3</p>
  38.  
  39.       <!-- CONTENT END -->
  40.     </div>
  41.   </div>
  42.   <div id="column">
  43.     <div>
  44.       <!-- NAVIGATION START -->
  45.       <h3>Random Quote</h3>
  46.       <p><i>Get all the fools on your side and you can be elected to anything.</i> - Frank Dane</p>
  47.       <h3>Artists</h3>
  48.       <ul class="menu">
  49.         <li><a href="http://shadesofgray.artistyandprose.com/Index/">Gray</a></li>
  50.         <li><a href="http://shadowwood.artistyandprose.com/">TGP</a></li>
  51.         <li><a href="http://moonshineandmonsters.artistyandprose.com/index.html/">Cal</a></li>
  52.       </ul>
  53.       <!-- NAVIGATION END -->
  54.     </div>
  55.   </div>
  56.   <div id="footer">
  57.     <p>
  58.       <!-- COPYRIGHT INOFRMATION -->
  59.       Content &copy; 2006 <a href="http://www.pandorasproxy.artistyandprose.com">Yin</a>; <a href="http://www.artistyandprose.com/index.php">Artistry and Prose</a>.
  60.       <!-- COPYRIGHT INOFRMATION END -->
  61.       Design &copy; <a href="http://inobscuro.com/">nel`chee</a>. <a href="http://creativecommons.org/licenses/by-nc-nd/2.5/">Creative Commons Licence</a> </p>
  62.   </div>
  63. </div>
  64. </body>
  65. </html>


And here's the CSS file:

Expand|Select|Wrap|Line Numbers
  1. * {margin: 0; padding: 0; border: none; text-decoration: none;}
  2. html {
  3.     background: url(images/bg1.gif) #ddddae center;
  4.     text-align: center;
  5.     font: small "Georgia", "Palatino Linotype", "Times New Roman", serif;
  6.     color: #444;
  7. }
  8. body {
  9.     background: url(images/bg2.jpg) center top repeat-x;
  10. }
  11. p, ul, ol {
  12.     padding: 5px 0;
  13.     line-height: 150%;
  14. }
  15. ol {list-style-type: upper-roman;}
  16. ul {list-style-type: circle;}
  17. li {margin-left: 1.5em;}
  18. a:link {border-bottom: 1px dashed; font-weight: bold;}
  19. a:visited {border: none; font-weight: normal;}
  20. code {color: #f5f5f5; font-size: 100%;}
  21. blockquote, .box {
  22.     border-left: 5px solid #0b1207;
  23.     background: url(images/quote.gif) #2a451a top left no-repeat !important;
  24.     background-position: .1cm 0;
  25.     margin: 10px 0;
  26.     padding: 0 10px 0 20px;
  27.     font-style: italic;
  28.     color: #b6cf9b;
  29. }
  30. #container {
  31.     width: 757px;
  32.     margin: 0 auto;
  33.     text-align: left;
  34.     background: url(images/header.jpg) left top no-repeat;
  35.     padding-right: 13px !important;
  36.     padding-right: 12px;
  37. }
  38. #header {
  39.     height: 123px;
  40.     position: relative;
  41. }
  42. #content {
  43.     width: 445px;
  44.     float: right;
  45.     background: url(images/bg_content-top.jpg) #365921 left top no-repeat;
  46.     color: #ffedaf;
  47.     position: relative;
  48. }
  49. #content div {
  50.     background: url(images/bg_content-bottom.gif) left bottom no-repeat;
  51.     padding: 20px;
  52.     position: relative;
  53. }
  54. #content div div {background: none; padding: 0;}
  55. #column {
  56.     width: 230px;
  57.     background: url(images/bg3.gif) left top repeat-y;
  58.     float: right;
  59.     margin: 384px 52px 0 0;
  60. }
  61. #column div {
  62.     margin-top: -220px;
  63.     background: url(images/credit.gif) left bottom no-repeat;
  64.     padding: 0 20px;
  65.     position: relative;
  66. }
  67. #column div div {
  68.     margin: 0;
  69.     padding: 0;
  70.     background: none;
  71. }
  72. #footer {
  73.     clear: both;
  74.     text-align: center;
  75.     font-size: 85%;
  76.     color: #7ca758;
  77. }
  78. #footer a:link, #footer a:visited {
  79.     color: #7ca758;
  80.     border: none;
  81.     font-weight: bold;
  82. }
  83. #footer a:hover {color: #345620;}
  84. #column h2, #column h3 {color: #1b300f;}
  85. #column ul.menu {padding-bottom: 10px;}
  86. #column ul.menu li {
  87.     display: inline;
  88.     margin:0;
  89.     list-style: none;
  90. }
  91. #container #column ul.menu li a {
  92.     display: block;
  93.     margin: 3px 0;
  94.     background: #b3c46c;
  95.     border-bottom: 1px solid #99ab3c;
  96.     padding: .2em .3em;
  97.     color: #365921;
  98.     position: relative;
  99.     font-weight: normal;
  100. }
  101. #container #column ul.menu li a:hover {
  102.     color: #000;
  103.     background: url(images/sidemenu_hover.gif) #b3c46c right center no-repeat;
  104. }
  105. h1 {
  106.     color: #a9c57f;
  107.     font: italic normal 3em "Times New Roman", "Georgia", sans-serif;
  108.     padding: 10px 0 0 270px;
  109. }
  110. #content h2 {
  111.     background: url(images/bg_title.gif) right top no-repeat;
  112.     color: #f4d547;
  113.     margin: 0 -20px;
  114.     font: italic normal 1.6em "Times New Roman", "Georgia", sans-serif;
  115.     padding: 22px 10px 20px 90px;
  116. }
  117. h3 {
  118.     padding-top: .3em;
  119.     font: italic bold 1.6em "Times New Roman", "Georgia", sans-serif;
  120. }
  121. #content h3 {
  122.     font-size: 1.3em;
  123.     color: #e5cb5d;
  124.     border-bottom: 3px solid #2d4f18;
  125. }
  126. #content p, #content li {text-align: justify;}
  127. #column a:link, #column a:visited {
  128.     color: #697f0f;
  129.     border-color: #99ab3c;
  130. }
  131. #content a:link, #content a:visited {
  132.     color: #b3c46c;
  133.     border-color: #58803a;
  134. }
  135. #column a:hover {color: #ffedaf;}
  136. #content a:hover {color: #fadb7e;}
  137. #container #column a.credit {
  138.     display: block;
  139.     height: 30px;
  140.     text-indent: -9999px;
  141.     border: none;
  142. }
  143. #mainmenu {
  144.     position: absolute;
  145.     left: 295px;
  146.     bottom: 1px !important;
  147.     bottom: 0;
  148.     list-style: none;
  149. }
  150. #mainmenu li {
  151.     width: auto;
  152.     float: left;
  153.     margin-left: 5px;
  154. }
  155. #container #mainmenu li a {
  156.     display: block;
  157.     border: none;
  158.     color: #a9c57f;
  159.     padding: 0 9px;
  160.     font: italic bold 1.5em "Times New Roman", "Georgia", sans-serif;
  161. }
  162. #container #mainmenu li a span {
  163.     display: block;
  164.     padding: 5px 0;
  165. }
  166. #mainmenu li:hover, #mainmenu li.over, #mainmenu .active {
  167.     background: url(images/menu_hover-left.gif) top left no-repeat;
  168. }
  169. #container #mainmenu li:hover a, #container #mainmenu li.over a, #mainmenu .active a {
  170.     background: url(images/menu_hover-right.gif) top right no-repeat;
  171. }
  172. #container #mainmenu li:hover a span, #container #mainmenu li.over a span {
  173.     background: #000;
  174. }
  175. #container #mainmenu li a:hover {
  176.     color: #f2ff7f;
  177. }
  178. #container #mainmenu .active a span {
  179.     background: #000;
  180.     color: #a9c57f;
  181. }
  182. #content, #column div {
  183.     overflow: visible !important;
  184.     overflow: hidden;
  185. }

I use FireFox, and the link to my friend's site is http://www.pandorasproxy.artistyandprose.com

It's a subdomain of http://www.artistyandprose.com/index.php
Sep 28 '10 #1
3 1833
Oralloy
985 Expert 512MB
If all you're seeing is a file listing of her root directory, and none of the files you uploaded, then one of the servers (ftp or the web server) is misconfigured.

From what I can see, it looks like the "pandorasproxy" site is in a separate subdirectory of her normal root directory. But I'm guessing at that.

Also, the processor that's showing the empty directory may be configured to mask certain file types to prevent mallicious intrusion.

Check capitalization. On Linux/Unix systems, INDEX.HTML is not the same as index.html at all.
Sep 28 '10 #2
Well, it's taking longer than it would to upload my files all together via FileZilla, but I managed to figure things out in my FTP File Manager in my cPanel; so I'm uploading everything one piece at a time.

Thanks for your help!
Sep 28 '10 #3
Banfa
9,065 Expert Mod 8TB
You have uploaded everything into a sub directory Index so your friends website address is actually http://www.pandorasproxy.artistyandprose.com/Index

Upload everything to the correct directory (or if you have shell access telnet and move everything).
Sep 28 '10 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

5
by: Victor | last post by:
Hi I need to open an html file from the file system and embed that html file within my main aspx form. I have 2 questions: 1) How do I open the html file? I tried the File.open(Path, mode) didnt...
33
by: n00m | last post by:
import socket, thread host, port = '192.168.0.3', 1434 s1 = socket.socket(socket.AF_INET, socket.SOCK_STREAM) s2 = socket.socket(socket.AF_INET, socket.SOCK_STREAM) s2.connect((host, 1433))...
5
by: alejandro lapeyre | last post by:
How can I load / parse an HTML file with .NET? Thanks! Best regards, Alejandro Lapeyre
8
by: RC | last post by:
The following code works well to create an html file that has a row for each row in my table. My Access 2002 database has a tabel with 3 columns labeled, Model, CD and Hard Drive (HD). Any...
1
by: Andy | last post by:
We have an ASP.NET application exported from MS Access 2003. I uses a series of queries to generate a page showing todays bookings. It works locally but does not work when we put it on a...
8
by: Peter Gustafsson | last post by:
Hi I have a HTML-only file, and asp file that do a databasequery. How can I do a query in the html file, like this: DBLookup("2"). The asp file execute the query and respond with the result....
1
by: suresh_nsnguys | last post by:
Hi, I will allow users to download one zip file(contain HTML file and 1 image directory with -gif,jpeg files) to his local hard disk. HTML file contain source code to display images ...
2
by: kenny bones | last post by:
Hello, I'm new here and I'm troubling with something. I'm working on a website which have a treemenu. I've gotten the menu to work alright but I want the DIV which contains the treemenu to have a...
2
by: dogged | last post by:
Website works locally but not when deployed ================================== Can someone please help with what I hope is a common problem (I’m new to .net). I have a simple website generated...
6
by: Shawn | last post by:
Hello: I have the following code in a PHP file. An HTML form passes user comment data to the PHP, which then appends the user comments to the end of the HTML file on which the form is located....
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.