473,407 Members | 2,315 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,407 software developers and data experts.

.html suffix prob

I have a problem which is probably simple to solve but I can't find the answer. In the past I have added pages to sites I have built with names like aboutus.html and when I or anyone else wants to view them they simply type the URL + /aboutus and the page comes up fine. Recently I built a site www.sapphirecoaching.com and I added a page with the filename reverse-therapy.html. If I type www.sapphirecoaching.com/reverse-therapy in the browser I get a 404 message 'page is not on server'. If however I add the .html suffix to the URL it works. How can I get it to go straight to the page without typing the suffix in the address window. (I just want to put www.sapphirecoaching.com/reverse-therapy on all publicity). Heres hoping someone knows why this is working on one site but not the other, Thanks Denis Jevon. BTW the sites are on different host servers I am running Mac Mini OSX G4 processor, using Firefox, Dreamweaver MX and JSFTP
Nov 30 '06 #1
4 1697
In your site's main directory make a folder called reverse-therapy. Inside that folder put your reverse-therapy.html file and rename it index.html. Now people can use www.sapphirecoaching.com/reverse-therapy and view the correct file. When a file is titled index, it becomes the default file for a folder if none is specified.
Nov 30 '06 #2
AricC
1,892 Expert 1GB
You probably want an index file in all of your folders as well this will prevent people from seeing the contents of the folder.
Nov 30 '06 #3
drhowarddrfine
7,435 Expert 4TB
You are probably using Apache and this is a simple setting there but I haven't used Apache in years so I don't remember what it is. There is an Apache forum here, or at least Linux or something.
Nov 30 '06 #4
In your site's main directory make a folder called reverse-therapy. Inside that folder put your reverse-therapy.html file and rename it index.html. Now people can use www.sapphirecoaching.com/reverse-therapy and view the correct file. When a file is titled index, it becomes the default file for a folder if none is specified.
Thanks snowdonkey, this is a very helpful and concise reply - makes perfect sense. I will do it now!
Dec 1 '06 #5

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

Similar topics

1
by: Erik Jälevik | last post by:
I'm trying to understand the difference between using JavaScript in XML and XHTML. I have a valid XHTML file with a form and some JavaScript. If I save it as a .html file (this is under Windows),...
0
by: shay | last post by:
if anyone have a good idea about how to creat an html to image component i tried : A. capture a web browser controll prob 1. a win form app , we need to put the web controll inside A dll file....
12
by: Xah Lee | last post by:
would anyone like to translate the following perl script to Python or Scheme (scsh)? the file takes a inpath, and report all html files in it above certain size. (counting inline images) also...
2
by: Mongoose | last post by:
Hi all, We use <input type="file" name="FILEFILENAME" value=""> to get file input dialogs. My questions are: (1) Is it possible to add a bunch of file filters to the opening dialog box?...
0
by: a | last post by:
Save text file as html kloepper 17:42 23 Jul '04 I'm using httpwebresponse and a StringBuilder to return a stream that originates as a file with the .txt suffix (My download code converts the html...
3
by: Green | last post by:
Hi, I have a question that when i surf the internet, i found out that using ..aspx suffix means using asp.net, using .jsp means using javaserver page, etc. But some don't have any suffix. For...
3
by: Mythran | last post by:
We have a web control. (Please note, all our libraries and controls are given a strong name). When we place the web control on a web page, it works fine. We are using a project reference to it...
9
by: Hamish M | last post by:
Hi I am interested in opinions on this topic. I have heard that a suffix is not a good solution and type casts are much better for example. ...
2
by: justplain.kzn | last post by:
Hi, I have a table with dynamic html that contains drop down select lists and readonly text boxes. Dynamic calculations are done on change of a value in one of the drop down select lists. ...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.