View Full Version : Help with GreyMatter Installation
12-13-01, 06:35 AM
I am attempting to install greymatter weblog system, a great personal weblog script available here, (http://noahgrey.com/greymatter) and having some problems doing so.
First, I am following the installation instructions with the CHMOD'ing and such, and although i have been able to run the main gm.cgi script from my cgi-bin, when i try to view the main index, i get a 403 Permission Denied error. Might this be because PowWeb doesn't allow viewing of pages in the cgi-bin directory? Or am I just doing something wrong. I'm pretty sure it's not a file permissions problem.
Anyone had similar experiences installing greymatter on powweb?
I don't believe you'll be able to view html files from your cgi-bin.
You could move any html files outside of the cgi-bin and change the path in the script to point to the new location.
12-13-01, 09:17 PM
I've set up GM as well. You need to move the HTML files out of your cgi-bin. GM defaults to having you put them into the cgi-bin as a sub directory to the GM directory. Instead, do this:
for all cgi files
chmod the /htdocs/gm to 766
chmod the /htdocs/gm/archives to 777
This should work for you
12-13-01, 10:05 PM
I tried the above, and with the same result, a 403 error on the main index. Are you sure that it is /www/a/... instead of /www/o/...? i had more luck with O, as it was the default one that greymatter detected, but I tried both.
So here's what I have currently:
all of the cgi files are in /www/o/*username*/cgi-bin,
the main index.htm file and the archives dir are in /www/o/*username*/htdocs/kevin/blog
and everything is CHMOD'ed correctly.
In the config section of greymatter, I set the local log path to /www/o/*username*/htdocs/kevin/blog
the entries/archives path to /www/o/*username*/htdocs/kevin/blog/archives
the local cgi path to /www/o/*username*/cgi-bin
the website log path to http://www.mysite.com/kevin/blog
the website entries path to http://www.mysite.com/kevin/blog/archives
the website cgi path to http://www.mysite.com/cgi-bin
when i run diagnostics on it, it says everything is fine.
what am i doing wrong? also, do i also have to CHMOD 766 all of directories above my archives dir, or just the one that contains the index page?
12-14-01, 07:28 PM
Good morning. It appears as though your directory structure should work. But, yes, you do have to chmod each directory.
chmod the /kevin directory to 755 and the /blog to 755 and /archives to 777
Be sure the script files in your cgi-bin are chmod to 755 as well (just the script files, the others need 777, be sure to read the directions)
Is there anything in the /kevin directory? besides the /blob/archives sub directories?
Also, you should get into the habit of creating sub-directories in your cgi-bin for these various programs. By just dumping all of the scripts into that one directory it could eventually cause you problems if some of the files are named the same. Plus, it helps keep things organized so if you wanted to delete a program then you can just delete the folder it's in instead of sifting through all the files trying to remember. Just a tip :)
vBulletin® v3.8.7, Copyright ©2000-2013, vBulletin Solutions, Inc.