Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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

share|improve this question
add comment

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.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.