HTML - Leading To Directory With Index
Hello forum,
I have a very simple question which I can't solve: My html code looks something like this (in index.html with a directory of 'next/' which has the file index.html: HTML Code: <html><head /><body> <a href="next/">Continue</a> </body></html> Then when the link is clicked, it gets a permission error (meaning the browser can't find anything in the directory). Why is this? Shouldn't it automatically get into the index.html? thanks in advance, drmota Similar TutorialsI use a program (Guardian) to send me notifications when an error occurs on my site (404, 403 etc.) These notices contain the URL causing the error and the referring URL. Lately I have been getting numerous notifications with URLs to directories without index files (On a side note, these URLs also contain within them, urls to other sites. I assume this is some spammer technique and I am not too concerned about this in this post but if someone can shed some light on how/why they (the spammers) do this I would appreciate it.) My purpose in posting here is to find out about the use of index files in directories. I have read that this is a good idea, but I have yet to hear why except that in case someone navigates to the URL of the directory rather than the actual page URL, then they will not get a 403 error message, but this seems like a rather weak reason to me. Is there another reason? SEO reason? Technical reason? If I find good reason to do this, is it enough to just put a blank index file in each directory? If so why? What purpose does it serve (aside from thwarting the spammers doing what I described above.) Thanks in advance for your help. Hi, I've decided to use subdirectories and index.html files to present my all my web pages (www.website.com/about, with a index.html file within the about folder). But I am finding it difficult to view my website locally when editing, as I open it in either firefox, safari, opera and every time time I hit a link it doesn't direct me to the index.html file, but instead shows me every file located within the directory. Is there anyway round this, as I am having to upload every page to view the changes I make to it. For example, do you know of any extensions or different web browsers that don't do this? Thanks, Matthew I am having no luck changing the line spacing of a single paragraph. I looked online and found something on using it in a div tag: Code: div {line-height: 5px;} but everything else is with CSS. What would be the simplest way to encode a paragraph with a smaller line space between lines? Anders Hi there, I'm new to this forum; got here researching the best method to do a task in HTML dealing with ordered lists. Basically I'm trying to figure out the best method to have the word "Step" precede the number in an ordered list, so that <ol> <li>first line of text</li> <li>next line of text</li> <li>last line of text</li> </ol> would return Step 1. first line of text Step 2. next line of text Step 3. last line of text I know how to do this using background images with CSS, but that isn't ideal because any formatting changes to the text would require making a new gif or jpg for the word "step." Does anyone know how to do this? Thanks for your help! Leading SEO, SEM, SMO, SMM, PPC and Spam Building Company Earn money by working with s[a, building company United Kingdom. We'll pay you for our permanent basis campaigns. You get what you pay for! Search engine optimization has evolved into a competitive, growing industry. There are plenty of hoaxes and scams on the web. It seems that as the Internet grows more complex, so do the scams. Choosing an effective company can be quite a challenge. There are many factors to consider when hiring an SEO service. This article gives advice on how to select a credible website optimization service. I finally figured out how to add text to my index and now I have another question. In my website template There is Heading 1 and a Heading 2 so my question is how do I delete any sections or headings that I don't need to make it go away on my home page. There is so much and I don't think I need all of it..... Thanks in advance http://www.website.com/thisisapage/ ^Can somebody explain how to set up directories on my website as such. Because this seems to be saying that a directory is a file, even though I know that is not the case. Shouldn't all pages have an extension of some sort and does this have something to do with SSI or something? I'm wanting to be able to look into a certain directory and pull whatever is in there and make it a link on the page so the person that is vewing it can pull up what is in that directory. All that is going to be in the directory is going to be documents, and I don't want to have to edit my html document every time there is a new file put into the directory. Is there a way to do this in HTML? I am working with a new client and am trying to access their admin area on the ecommerce site. I think I found the correct directory but am not able to get past a directory security pop up that asks for login information. Of course the client does not have this. I have FTP access and am trying to figure out if I can get around this pop up and finally get to the admin login. There is a .htaccess file with the following contents: PHP Code: #AuthType Basic #AuthName "OS Commerce Administration" #AuthUserFile "/home/lucid/.htpasswds/catalog/admin/passwd" #require valid-user I've removed this file completely and I still get that pop up. Can someone help. Please. Hi, I'm building a site for a dj record pool. I set up a paypal subscription button and ".htaccess, .htpasword, process_txns, paypal.pl" scripts on the site. I'm looking for a way to provide individual links for all mp3 downloads (10 gigs worth), without having to type in all song titles every week when new files are uploaded. Is this possible? Thanks Hey all! I am having trouble figuring out how to fill a list with the names of the folders in a certain directory anyhelp would be great! EDIT: I need to figure out how to get all the folders names from "www.mysite.com/files/" and add them to a list in dreamweaver and what ever one i click on it loads all the files from that folder to another list... anyone got any direction i should go... I pretty clueless but am still googling info trying to catch something... Thanks! hi, im creating a script where users will be able to upload files to my site from a form, i was wondering if i could stop files from being executed from the upload directory because if a user desides to upload a harmfull php file them execute it on the site, well it would be bad. so, can i do this by setting the directory permissions (chmodd) to 444, only allowing reading? thanks! Hey I've got this issue with a website of mine even though my html link says /members/patrolroster.html once i am there (patrolroster.html) all other links from that (and all pages inside the /members directory for that matter) page via the nav menu get /members affixed onto them (eg, what should just be index.html turns into /members/index.html). My html says it should go to index.html but where is /members coming from? Im puzzled at why it affixes the directory the file is in onto all outgoing links. Take a look at the site if you like its, http://www.wyeriverslsc.asn.au/ Any help is appreciated, Tom The IT Industry in India is booming! Here is a great opportunity for you to sell your products and services to this industry which is rapidly expanding. Subscribe to India's most comprehensive Online IT Directory! Features: >> You will be able to search an IT Company (ies) >> Drill down to details like Address, Area, Pin, Phone, Fax, Email, Website, Year of Establishment, About the company. >> Product & Services offered by the company. >> Contact details of Top executives including Managing Director, President, CEO, CTO, CFO, HR Manager. etc. >> Continously updated and verified. >> Generate mailer labels by executive title. To subscribe logon to www.itdatahouse.com Regards The itdatahouse.com Team +91 80 23537776 ext 1 URL: http://www.itdatahouse.com My daughter's wedding inviations have a url on them that was misprinted "www.website.com/wedding" which should have been "www.website.com/wedding.html". Is there a way to Redirect what was misprinted as a directory, to go to the actual web page "www.website.com/wedding.html"? I have intermediate knowledge building html web pages using Dreamweaver (I know some Javascript and CSS). Thank you from a desperate father-of-the-bride!! I have a little problem with my server, I know it is EASILY solved, but I don't know how. The pages work fine if they are in ROOT, like index.html in ROOT is fine, but when I make a new HTML in a subfolder, ROOT/folder/index.php All the coding messes up and cannot load the files from the root. E.G: My CSS is in my root, cssmovietick.css, this works fine for the php files in the root, but when I go into the sub folder, it cannot find it. Here is the code to find the CSS. Quote: <link href="cssmovietick.css" rel="stylesheet" type="text/css" /> I'm pretty sure you understand Hi, I'm trying to create my very first webpage. I've got to the final step of uploading it to my host however when I visit the URL, rather then seeing the site I've put so much work into all I see is the following- Directory Listing Denied This Virtual Directory does not allow contents to be listed. This is how I made the site, designed and made on Macromedia FIreworks 8. I then proceeded to slice the page (it's only a single page) and exported as HTML & Images. I then opened the saved HTML file in Macromedia Dreamweaver and proceeded to correct the src parts to point where I uploaded them to my host. Now, once I'd done all that, I upload the saved HTML file to my main htdocs folder via FTP and it should work? But it doesn't, it simply displays the above error message. I'm pulling my hair out, would anybody be kind enough to have a look at my HTML file point out where I am going wrong? Thanks in advance. I need to display a web form from which the user can select a directory -- not a file. This seems like it ought to be easy, but I can't find an explanation of how to do it. Here's the code I wrote (with a little PHP removed): Code: <form enctype="multipart/form-data" action="ImportExec.php" method="GET" > Select the <em>directory</em> containing .eml files.<br><br> <input type="file" name=directoryPath> <input type="hidden" name="scriptPath" value="xxxxxxxx"> <input type="hidden" name="domain" value="yyyyyyyy"> <input type="submit" value="Open directory"> </form> As it is, this lets me choose a file -- not a directory. If I try to select a directory, it just opens the directory and invites me to choose a file from it. I have a folder/directory with lots of photos in it. I want visitors to be able to click a link and download the entire directory (rather than having to load every individual photo file). This way, they can copy to their own computer & perhaps burn a CD. I'm using <a href="http://mysite.com/images/CD_directory/"> but this is NOT working the way I want; it shows an INDEXING of all the photo files, and doesn't allow for clicking the Directory itself. How can I get around this & offer this Directory for download? Thanks! i was wondering if there was a simple method or a program that can find all active links linking from a certain directory. for example, say a website like http://www.website.com/index.html has 15 active links and 5 broken links. i want to be able to view a list of all the active links on the page without actually clicking all the links on the page. is that possible? if so, how? |