cancel
Showing results for 
Search instead for 
Did you mean: 

buloletin board not working after cgi upgrade

jaguarXK120
Newbie
Posts: 6
Registered: 15-03-2010

buloletin board not working after cgi upgrade

http://ccgi.topcateng.plus.com/cgi-bin/ikonboard.cgi ;
I'm getting error 500, server errors trying to access my bulletin board
Uses Ikonboard which I think was written in Perl
David
5 REPLIES
Community Gaffer
Community Gaffer
Posts: 13,423
Thanks: 1,184
Fixes: 92
Registered: 04-04-2007

Re: buloletin board not working after cgi upgrade

Hi David,
Have a read of this and check what you have in your .htaccess files.

Bob Pullen
Plusnet Product Team
If I've been helpful then please give thanks ⤵

jaguarXK120
Newbie
Posts: 6
Registered: 15-03-2010

Re: buloletin board not working after cgi upgrade

OK Guy's I'm struggling with this.  As a U*nx /PHP/Perl numpty I need help Embarrassed
I've  checked the permissions of my my files and reduced them where indicated to 750 or below  but it has not fixed the problem.
Where do I find, and how do I access the .htaccess files.  Once there what should I find in them?  What should be in there ideally in the new environment?
Thanks
David.
Superuser
Superuser
Posts: 9,768
Thanks: 1,151
Fixes: 63
Registered: 06-04-2007

Re: buloletin board not working after cgi upgrade

Because Unix regards files whose names begin with a dot as hidden, your FTP client might not show them unless told to. For example in FileZilla one has to select Force showing hidden files on the server menu. You are likely to find such a file in your HTTP root directory (/) but one could reside in any directory to control that directory.
Windows does not handle such files gracefully if they are downloaded to (or created on) a Windows PC. The usual approach is to call them htaccess.txt on Windows, upload them like that then use your FTP client to rename them to .htaccess in situ.
David
jaguarXK120
Newbie
Posts: 6
Registered: 15-03-2010

Re: buloletin board not working after cgi upgrade

Thanks Spraxyt and Bob for your help. Simple when you now how  Smiley
Did as you indicated and downloaded .htaccess as a .txt file.  Inside it contained only one line  "DirectoryIndex ikonboard.cgi index.html"  unless there were some non printable characters in it as well.  However, I renamed the file htaccess.txt on the site to disable it and the board now runs OK as far as I can tell.  Smiley
So Ive got to working but I'm  no nearer understanding what  the .htaccess file does, why it was there in the first place if the board will run without it?  Huh
Thanks again
David. 
Community Gaffer
Community Gaffer
Posts: 13,423
Thanks: 1,184
Fixes: 92
Registered: 04-04-2007

Re: buloletin board not working after cgi upgrade

Glad to hear it's working again David.
DirectoryIndex is used to define the name of the index file that's used when browsing to a directory (normally index.html, index.php etc,). If your site works without this directive then you've nothing to worry about.

Bob Pullen
Plusnet Product Team
If I've been helpful then please give thanks ⤵