At long last, we're moving to forums powered by, well, Movable Type itself. You'll want to bookmark http://forums.movabletype.org/ for future reference, and in the meantime you can view these old forums as a read-only archive of past posts. Thanks for being part of the community!
![]() ![]() |
Jan 29 2008, 10:27 PM
Post
#1
|
|
|
Group: Members Posts: 76 Joined: 16-April 07 Member No.: 40,328 |
Hi.
I've installed both MT 2.63 and MT 3.35 in the past, so I know the drill. I uploaded all files to directory in my cgi-bin (just like I did the other two times), except for the static files, which are NOT located in cgi-bin. I chmod'ed all *.cgi's to 755. When pointing my browser to MT4 URL (where mt.cgi is located), I get error: QUOTE 403 Forbidden You don't have permission to access /cgi-bin/ on this server. just like this guy .. except all my files are in a directory located in the cgi-bin directory. http://forums.sixapart.com/index.php?showtopic=64916 Distressing. Ideas? I still have MT 3.35 installed and am able to access that script fine. Update, I created .htacces file mentioned here: http://www.movabletype.org/documentation/i...structions.html and trying to execute mt.cgi now get 500 server error. also tried simple test.cgi mentioned on another 500 thread. still get same 500 error with that. http://forums.sixapart.com/index.php?showtopic=64895 If I create a NEW directory inside cgi-bin and put only test.cgi in there I can get hello world to run. This post has been edited by Rad1: Jan 30 2008, 01:39 AM |
|
|
|
Jan 30 2008, 01:21 AM
Post
#2
|
|
|
Group: Members Posts: 2,039 Joined: 4-January 04 From: UK Member No.: 19,351 |
Really silly question
did you point your browser to www.domain.com/cgi-bin or www.domain.com/cgi-bin/mt.cgi ? If it is the former then the 403 error may be because there is no default file specfied and your are not allowed for security reasons just to browse the directory. -------------------- Rob Kenny
The Composing Stick Movable Type Tricks & Tips Twitter|Flickr|Vox Sites I manage: Darren Kenny: Professional Cyclist O.B.E |
|
|
|
Jan 30 2008, 06:45 AM
Post
#3
|
|
|
Group: Members Posts: 76 Joined: 16-April 07 Member No.: 40,328 |
thanks for the reply.
not so silly, actually. but yes,i pointed at mt.cgi .. triple checked everything. no *.cgi's seem to be responding. not even simple test.cgi something is weird about that directory .. similar to what other poster mentioned .. cuz when it create a *new* directory inside /cgi-bin, then *.cgi's work there. (both inside same cgi-bin folder,with same permissions - 755) looks like i will have to x-fer all files to new directory. i see no other alternative. do you? what about mt-config file? do i enter server/database data before uploading, or does a wizard enter it into that file? This post has been edited by Rad1: Jan 30 2008, 06:49 AM |
|
|
|
Jan 30 2008, 07:49 AM
Post
#4
|
|
|
Group: Members Posts: 2,039 Joined: 4-January 04 From: UK Member No.: 19,351 |
Might be some host config.
Personally I have never used the wizard I always enter the information in mt-config myself. -------------------- Rob Kenny
The Composing Stick Movable Type Tricks & Tips Twitter|Flickr|Vox Sites I manage: Darren Kenny: Professional Cyclist O.B.E |
|
|
|
Jan 30 2008, 10:30 AM
Post
#5
|
|
|
Group: Members Posts: 2 Joined: 28-January 08 Member No.: 52,271 |
(Rad1, please start your own topic, because it is not identical to mine.)
Can anyone give me some guidance on why I am getting the 403 Forbidden message? I would appreciate it immensely. Thank you. |
|
|
|
Jan 30 2008, 12:36 PM
Post
#6
|
|
|
Group: Members Posts: 2,039 Joined: 4-January 04 From: UK Member No.: 19,351 |
Your webserver is configured not to allow scripts to run from that location.
Depending on your server / host this may be configured via a control panel or an .htacess file. -------------------- Rob Kenny
The Composing Stick Movable Type Tricks & Tips Twitter|Flickr|Vox Sites I manage: Darren Kenny: Professional Cyclist O.B.E |
|
|
|
Jan 30 2008, 01:30 PM
Post
#7
|
|
|
Group: Members Posts: 76 Joined: 16-April 07 Member No.: 40,328 |
regarding mt-config ..do i simply edit as necessary (location of mt-static and database info) and change file name to mt-config-cgi??
(i would rather NOT use the wizard.) regarding 403, try this for a useful datapoint. 1. create a *new* folder inside cgi-bin. 2. do not chmod the folder. 3. upload the small test.cgi file mentioned (linked to) above. 4. try to run test.cgi script why test.cgi will run in /cgi-bin/mt02/test.cgi and NOT in /cgi-bin/mt01/test.cgi is a mystery ..especially when everything else looks the same (permissions, etc.) |
|
|
|
Jan 30 2008, 01:37 PM
Post
#8
|
|
|
Group: Members Posts: 76 Joined: 16-April 07 Member No.: 40,328 |
here's what i'm gonna try.
1. create NEW folder in cgi-bin 2. upload test.cgi there and make sure i can execute scripts from that folder. 3. x-fer all MT4.1 files to that new folder (in cgi-bin) 4. try to run MT from there. now if i had some ballz, i'd delete the original (non-working folder in cgi-bin) and RENAME new folder back to the name of the original (non-working) folder .. and i bet that would work .. tho it would suk if it didn't .. and it really gains me nothing to try. |
|
|
|
Jan 30 2008, 01:57 PM
Post
#9
|
|
|
Group: Members Posts: 2,039 Joined: 4-January 04 From: UK Member No.: 19,351 |
regarding mt-config ..do i simply edit as necessary (location of mt-static and database info) and change file name to mt-config-cgi?? What I do is make a copy of mt-config.cgi-original downloaded it, make the changes in then ftp it back. -------------------- Rob Kenny
The Composing Stick Movable Type Tricks & Tips Twitter|Flickr|Vox Sites I manage: Darren Kenny: Professional Cyclist O.B.E |
|
|
|
Jan 31 2008, 05:10 PM
Post
#10
|
|
|
Group: Members Posts: 76 Joined: 16-April 07 Member No.: 40,328 |
Yeah, I already made the copy.
But do I need to change the name of the file to remove the "original" part? Or do they instruct the installer to look for the "original" name in the file? That's where I'm not sure. This post has been edited by Rad1: Jan 31 2008, 05:11 PM |
|
|
|
Jan 31 2008, 11:41 PM
Post
#11
|
|
|
Group: Members Posts: 2,039 Joined: 4-January 04 From: UK Member No.: 19,351 |
Yeah, I already made the copy. But do I need to change the name of the file to remove the "original" part? Or do they instruct the installer to look for the "original" name in the file? That's where I'm not sure. Yes it needs to be be renamed to mt-config.cgi -------------------- Rob Kenny
The Composing Stick Movable Type Tricks & Tips Twitter|Flickr|Vox Sites I manage: Darren Kenny: Professional Cyclist O.B.E |
|
|
|
Feb 1 2008, 03:29 PM
Post
#12
|
|
|
Group: Members Posts: 76 Joined: 16-April 07 Member No.: 40,328 |
Thanks bro.
Got it working .. after pulling out some hair. http://forums.sixapart.com/index.php?showtopic=64963 |
|
|
|
![]() ![]() |
| Lo-Fi Version | Time is now: 02.09.10 - 10:45 PM |