I am making my first RSS-Feed, and I want to host it like this:

www.example.com/rss/

I tried to name the xml-file "index.xml" and place it inside the directory, however, when I type http://www.example.com/rss/ i arrive at "Index of /rss" where the file is listed as being part of the directory, but it is not loaded automatically.

What can be done about this?

Thank you for your time.

Kind regards,
Marius

link|improve this question
feedback

1 Answer

up vote 0 down vote accepted

In .htaccess (or your virtual host config)

DirectoryIndex index.xml index.html index.php index.shtml

Or, just

DirectoryIndex index.xml

You could modify your server to automatically load index.xml by altering the DirectoryIndex in the config files.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown