browser can't find .irev files on new on-rev subdomain

Martin Baxter mb.userev at harbourhosting.co.uk
Wed Apr 28 02:35:18 CDT 2010


Martin,

I don't have any suggestions about your index.* files not being served,
though it sounds like there is some unintended redirection occurring.

However you can turn the directory file listing off by adding this line
in the .htaccess file:

Options All -Indexes

That will then generate an error if anybody does e.g.

http://www.yourdomain.com/directory_with_no_index_file/

"Directory listing denied" or whatever

The .htaccess file will affect the directory it is in and all its
subdirectories

This was one of the first things I changed when I got my on-rev account.
They are set up rather insecurely by default, in my view.

Martin Baxter

Martin Koob wrote:
> Hi Michael
> 
> I tried putting the .htaccess file in the subdomain's document 
> root and putting it in the public_html directory but that did not help.
> 
> I tried just putting a basic html page in the subdomain's document 
> root as index.html and that still generates the 404 error.
> 
> if I take out the index.irev and index.html pages I will see a listing 
> of the files in the document root.
> 
> I am not sure what I did wrong.   The process I used to create the
> subdomain was:
> 1. I used cPanel to create the subdomain for a hosted domain
> 2. I used the file manage from cPanel to copy the files from a 
> document root where I was working on the site to the new 
> document root.
> 3. I updated a config.irev file to ensure all the information 
> was correct to reflect the new path.
> 
> Is there something else I need to do to set up a subdomain.
> 
> 
> Martin
> 


-- 
I am Not a Number, I am a free NaN



More information about the use-livecode mailing list