Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: Using .shtml files |
|
Author |
|
kkmiler
Joined: 07 Mar 2007 Posts: 3 Location: Wauseon, Ohio
|
Posted: Wed 07 Mar '07 17:29 Post subject: Using .shtml files |
|
|
I am putting together a website for our church. I loaded Apache web server on an WinXP Pro computer. Another member of church does website design as his job and he is writing code for the website. However, he is not familiar with Apache program and how it differs from whatever he uses. I have FTP access set up for him and pointed it to htdocs folder. He wants to use shtml files but it seems not to read them. Rigth now I have the file index.shtml in the folder and when I go to the IP address, I get the files index and no website. if I click on index.shtml, the website shows up. Is the format you enter the file >shtml not valid? Also, he loaded the index file as a .htm and it did not recognize it also.
Thanks |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7371 Location: Germany, Next to Hamburg
|
Posted: Wed 07 Mar '07 23:29 Post subject: |
|
|
I think what you want is that the index.shtml is shown first?
That can be done with
Code: |
DirectoryIndex index.shtml index.htm index.html
|
If I got you wrong, please post it |
|
Back to top |
|
kkmiler
Joined: 07 Mar 2007 Posts: 3 Location: Wauseon, Ohio
|
Posted: Thu 08 Mar '07 4:26 Post subject: using .shtml files |
|
|
Thanks, That took care of the problem. If the website uses other .shtml files, do you have to add code to make them work? I know that he wanted to be able to use them in the website. help greatly appreciated.
Thanks again |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7371 Location: Germany, Next to Hamburg
|
Posted: Thu 08 Mar '07 10:07 Post subject: Re: using .shtml files |
|
|
kkmiler wrote: | If the website uses other .shtml files, do you have to add code to make them work? |
What kind of "code" do you want to run? PHP, perl, other? Or only basic html? |
|
Back to top |
|
kkmiler
Joined: 07 Mar 2007 Posts: 3 Location: Wauseon, Ohio
|
Posted: Fri 09 Mar '07 5:32 Post subject: using .shtml files |
|
|
I am only asking about the kind of code to add to the config file. My web guy asked if he could use .shtml files in the website, so I want to be prepared if a page or link isn't recognized, what I will need to make it work. I enabled the two lines of the config that deal with options +includes, hoping that I'm covered. I'm new to Apache and using domain name servers. |
|
Back to top |
|
|
|
|
|
|