Error message: Directory has no index file
deekus
Joined: 2005-03-12
Posts: 17 |
Posted: Sat, 2005-03-12 17:49 |
I am close to having G2 functioning properly, however when I upload an image, I click on the image and receive the following error: Directory has no index file. If you are the site's webmaster, you can remedy this problem by creating a default HTML page with one of the following names: * index.html NOTE: Filenames are case sensitive, i.e., Home.html is not the same as home.html ---------- I have included a blank index.html page in the directory, but I still get the same error. Is there an index.html file that was somehow not created during my install? Any help would be appreciated. |
|
Posts: 32509
some more info please, i.e. your actual G2 url, not your G1, the url that leads to the error, etc.
Posts: 17
http://www.nappyphoto.com/gallery2/main.php/v/Dan_amp_Taylor.jpg.html
I'm not sure why it is generating a URL that ends in .jpg.html
However, if you look at
http://www.nappyphoto.com/gallery2/main.php
then click on the image link..it will deliver the error message.
Thanks for investigating
Posts: 32509
disable the url rewrite module in G2 Site Admin, and it should work.
Then we can find out why mod_rewrite doesn't work as it should...
Posts: 17
OK, URL Rewrite has been uninstalled, and I removed the Mod_Rewrite instructions in the gallery2 .htaccess file.
-Dan
Posts: 32509
deekus, does G2 work now as you've disabled the rewrite module?
when i browse to your website, it seems you still have short urls active.
Posts: 17
I just removed the rewrite script from the root directory .htaccess file.
It is still returning error pages.
If you go to
http://www.nappyphoto.com/gallery2/main.php
And click on either of the sample images, you'll see the error message mentioned above.
-D
Posts: 7994
You need to disable the rewrite module also, so that it stops generating short urls. Go to Site Admin -> Modules and click the "deactivate" link on the URL Rewrite module.
Posts: 17
I uninstalled URL Rewrite.
Do I need to re-install it, and then deactivate it?
-D
Posts: 17
I've disabled "Short URLs" in the general settings as well.
Posts: 7994
Oh! Sorry -- I got confused. But you're using the "Short urls" feature that shipped with Beta 1 (which I've since removed -- we're going to use the rewrite module only in the future). Please turn that off. Go to Site Admin -> General and find the "Short Urls" section and turn it off there. Let's see if that fixes the problem.
Posts: 17
OK, so disabling URL rewrite, AND short URLs seems to have solved my problem.
Thanks for the assistance
Posts: 7994
With short urls off, you could try reinstalling the url rewrite module and see if that works for you by itself...