Images not found (404)

knosket / 2012-02-03 03:59:30   

Hi
Installation went good I think. I did what was told to get clean url's. I changed the htaccess to .htaccess but in cyberduck it is still without the dot. Cyberduck said there is already a file with that name, do you want to overwrite it? And I said yes.
I started to create sections and upload pictures but I can't see any pictures under the section I created and nothing under the 'about the site'. It says only
404 Not Found
The requested URL /project/portraits-i/ was not found on this server.
My site is www.oscarpoulsen.com
Please help

G470 / 2012-02-03 04:57:29   

Hi,

first make sure you enabled show hidden files in cyberduck.
http://www.simplehelp.net/2010/04/21/how-to-view-hidden-files-with-cyberduck/

then open the .htaccess file. If it´s empty you have to replace it with a htaccess file from a fresh downloaded version of indexhibit.

knosket / 2012-02-03 05:33:42   

Ok, thank you.
It's now enabled and I can see the.htaccss file on my server but it's gray and not able to edit (that's what you mean with 'open'?). And, there the old htaccss file without dot is also there. Am I supposed to delete it?

G470 / 2012-02-03 09:09:30   

When you 'open' the .htaccess file with your favorite editor, you should see some lines of code. If it´s empty it won´t work.

G470 / 2012-02-03 09:12:47   

maybe you can´t see the file when you download it cause . prefixed files are hidden per default on mac os.
To enable view hidden files on your Finder, open the terminal and paste this line:

defaults write com.apple.finder AppleShowAllFiles TRUE killall Finder

knosket / 2012-02-04 06:40:20   

terminal didn't work but i dowloaded houdini houdini
the .htaccss file is not empty, it a code:

# -FrontPage-

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


order deny,allow
deny from all
allow from all


order deny,allow
deny from all
G470 / 2012-02-04 10:02:02   

The correct htaccess file for indexhibit should contain:

RewriteEngine on
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^(.+) - [PT,L]
RewriteRule ^(.+) index.php

rickykappa / 2012-02-04 18:37:19   

and the line
# -FrontPage-
makes me think about an awful windows server... are you sure you're on a linux server?

knosket / 2012-02-05 17:20:11   

Yes, working now. Thank you!
I am on mac OS X.

This thread has been closed, thank you.