Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    Regular Coder
    Join Date
    Nov 2008
    Posts
    122
    Thanks
    5
    Thanked 0 Times in 0 Posts

    Probelms with my code and etc.

    Everytime I type in my url it comes up with a 404 or 403 but I have an index file. Any idea on whats wrong?

    Code:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
    <html>
    <head>
    <link rel="shortcut icon" href="/favicon-1.ico">
    <title>Stylish Knockouts!</title>
    <meta http-equiv="Content-Type" content="text/html" charset=iso-8859-1">
    <link rel="stylesheet" type="text/css" href="Knockout.css" />
    </head>
    <body>
    <div id="container">
    
    <div id="header">
    </div>
    
    <ul id="nav">
    <li><a href="index.htm">Home</a></li>
    <li><a href="SKODesignsAbout.htm">About Us</a></li>
    <li><a href="SKODesignsContact.htm">Contact</a></li>
    <li><a href="SKODesignsAdvertise.htm">Advertise</a></li>
    <li><a href="SKODesignsBasic.htm">Basic</a></li>
    <li><a href="SKODesignsPremium.htm">Premium</a></li>
    <li><a href="SKODesignsRedesign.htm">SKO REDESIGN!</a></li>
    </ul>
    
    <div id="content">
    </div>
    
    <div id="footer">
    <p style="text-align: center;">&copy www.SKODesigns.com All Rights Reserved</p>
    
    </body>
           </div>
           </div>
    </html>
    Disregard my ul list.

  • #2
    Master Coder
    Join Date
    Apr 2003
    Location
    in my house
    Posts
    5,211
    Thanks
    39
    Thanked 201 Times in 197 Posts
    you must either be storing your index file in the wrong directory or, you have set the home page to be (eg) Index where the url is looking for index. (case sensitive). Or possibly, you have a file extension such as .htm, html,shtml,php and your server has the setting in its config to look only for one - and one which is not the same as your actual file extension.

    In the absense of a link I can't help any more.

    guessed at your url and found a site. when clicking home in your menu, it looks for an index.htm.htm file but it does find it.

    bazz
    Last edited by bazz; 05-11-2009 at 04:45 AM.
    "The day you stop learning is the day you become obsolete"! - my late Dad.

    Why do some people say "I don't know for sure"? If they don't know for sure then, they don't know!
    Useful MySQL resource
    Useful MySQL link


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •