[Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 297
  • Last Modified:

Changes to index.htm don't apply to index.html in public_html

Hi
i would very much appreciate it if somebody could help me with this one.
My website is created with Frontpage and the last couple of days i can't edit my index page. All the changes i do

- do get uploaded on index.htm in the root directory but NOT on index.html in public_html

Possible reason i guess .htaccess file:
I want to display a rss feed on my pages but i don't want to change the pages extension. So i placed an

.htaccess file in the root directory with the following code into it:
<Files test.htm>
AddType application/x-httpd-php .html .htm
</Files>
Afrer editing the test page and had the desired results (everything was working fine) i copied the script that

displays the rss feed  on index and added the following code in .htaccess:
<Files index.html>
AddType application/x-httpd-php .html .htm
</Files>

No luck and since then  any changes to index.htm don't apply to index.html - I HAVE DELETED .htacces   but

later i realized that there is an other one in public_html:

# -FrontPage-

IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti*

<Limit GET POST>
order deny,allow
deny from all
allow from all
</Limit>
<Limit PUT DELETE>
order deny,allow
deny from all
</Limit>
AuthName ....................com
AuthUserFile /home/.............../public_html/_vti_pvt/service.pwd
AuthGroupFile /home/................/public_html/_vti_pvt/service.grp
Redirect /.........................................................
Redirect /.........................................................

I've added:
<Files test.htm>
AddType application/x-httpd-php .html .htm
</Files>
at the bottom of it and the rss feed on test page works fine again.

I REALLY NEED the rss feed on my index and i can't figure out what's going wrong.
Just hope it's something really simple somebody can spot straight away.
Thank you very much in advance
0
GeorgePap
Asked:
GeorgePap
  • 3
  • 2
1 Solution
 
Sam PanwarSr. Server AdministratorCommented:
Hi,

You set the default page in the IIS
0
 
GeorgePapAuthor Commented:
A bit more details please
I wish i could give more points but that's all i've got...
Thank you
0
 
Sam PanwarSr. Server AdministratorCommented:
The DirectoryIndex directive sets the list of resources to look for, when the client requests an index of the directory by specifying a / at the end of the a directory name. Local-url is the (%-encoded) URL of a document on the server relative to the requested directory; it is usually the name of a file in the directory. Several URLs may be given, in which case the server will return the first one that it finds. If none of the resources exist and the Indexes  option is set, the server will generate its own listing of the directory.

Example:

    DirectoryIndex index.html

then a request for http://myserver/docs/ would return http://myserver/docs/index.html if it exists, or would list the directory if it did not.

Note that the documents do not need to be relative to the directory;

    DirectoryIndex index.html index.txt /cgi-bin/index.pl

USe the following steps:

Go to httpd.conf file
<IfModule mod_dir.c>
    DirectoryIndex index.cfm, index.php, index.cfm
</IfModule>

and add the default files that you want. Above I added  index.cfm .

Also note that after saving your changes to the httpd.conf file you must
restart apache to make them active.
0
 
GeorgePapAuthor Commented:
Thank you VERY MUCH Abs_jaipur
0
 
Sam PanwarSr. Server AdministratorCommented:
Hi,

Your wel come georgePap really i am very happy then you
0

Featured Post

Upgrade your Question Security!

Add Premium security features to your question to ensure its privacy or anonymity. Learn more about your ability to control Question Security today.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now