I can access to mt.cgi.
But I fail in rebuilding
When I try to rebuild, I see following message:
---------------------------------------------------
Forbidden
You don't have permission to access /sys/mt.cgi on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
---------------------------------------------------
I wonder why I receive this message.
Are there any person who has same trouble?
Please help me and please show me the way to resolve.
-My server's spec-
OS:Linux
Controlepanel:cPanel
Apache version 2.2.20
PHP version 5.2.17
MySQL version 5.0.92-community-log
MT version:MTOS-4.23-ja
Reported on Movable Type 4.2

That suggests the ownership of the .cgi files from underneath the MT folder is wrong and/or that some of those files' permissions aren't set to 755.
Kind Regards,
Mihai Bocsaru
----------------------------------
Daily Movable Type Consultant
Web Development
Movable Type Consulting
Six Apart Partner
http://www.pro-it-service.com/
----------------------------------
Movable Type Demo
http://www.movabletypedemo.org/
Thanks for rapid reply.
The .cgi files from underneath the MT folder are all set to 755.
I can access and use mt.cgi.
I can edit template and configration, and so on.
I can post blog entry.
But when I try to rebuid, I fail.
What about the ownership?
Can you post the content of your mt-config.cgi (removing the DB password) please?
(clicked submit too fast sorry) and the line(s) from your web server log pertaining to the request that generates a 404 error (to find what URL triggers it).
-> What about the ownership?
same to username
-> content of mt-config.cgi
CGIPath http://***domain***/mtos/
StaticWebPath http://***domain***/mtos/mt-static
ObjectDriver DBI::mysql
Database falsecob_dip30
DBUser falsecob_dip30
DBPassword *******
DBHost localhost
DBUmask 0133
HTMLUmask 0133
UploadUmask 0022
DirUmask 0022
HTMLPerms 0777
UploadPerms 0777
-> web server log
221.12.240.60 - - [13/Jun/2012:21:36:48 -0400] "GET /sys/mt-static/user_styles.css HTTP/1.1" 404 346 "http://www.***domain***/mtos/mt.cgi" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/536.5 (KHTML, like Gecko) Chrome/19.0.1084.52 Safari/536.5"
221.12.240.60 - - [13/Jun/2012:21:36:48 -0400] "GET /favicon.ico HTTP/1.1" 404 328 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/536.5 (KHTML, like Gecko) Chrome/19.0.1084.52 Safari/536.5"
221.12.240.60 - - [13/Jun/2012:21:36:48 -0400] "GET /sys/mt.cgi?__mode=rebuild&blog_id=4&type=Individual%2CCategory%2Cindex&next=0&offset=0&limit=40&total_entries=5&is_bm=&entry_id=&is_new=&old_status=&old_previous=&old_next= HTTP/1.1" 403 331 "http://www.***domain***/mtos/mt.cgi" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/536.5 (KHTML, like Gecko) Chrome/19.0.1084.52 Safari/536.5"
221.12.240.60 - - [13/Jun/2012:21:36:49 -0400] "GET /favicon.ico HTTP/1.1" 404 328 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/536.5 (KHTML, like Gecko) Chrome/19.0.1084.52 Safari/536.5"
why is this so-ancient version trying to access /sys/mt.cgi, when he defined CGIPath to /mtos/?
OK:
CGIPath http://***domain***/mtos/
means your mt.cgi script is at /mtos/mt.cgi
Find where it's turned into /sys/
Possible locations where this can be:
- your Apache configuration (check how the /mtos/ directory is configured, usually by a ScriptAlias directive). Beware of the difference between the *alias* (what you see in the URL) and the actual directory on disk. Also beware that certain hosts will forbid you to serve static resources from the CGI directory, which is what you're trying to do since both CGIPath and StaticWebPath point to the same location.
- check your blog publication path in Settings.
- do a search in global templates for /sys/ just to make sure it's not hardwired somewhere in the code of a template (I doubt it, but doesn't hurt).
P.S. in your mt-config.cgi file, you can use relative paths like this (omitting the http+domain part, it's useful only if you want to force https over http for the admin script):
CGIPath /mtos/
StaticWebPath /mtos/mt-static
P.S. it's not an ownership issue in the sense of the filesystem, but an access right issue in the sense of the Apache configuration. My guess is that the problem lies in the way you have configured the CGI and the mt-static directories, and that's in your Apache config (which you could also post for us to have a look).
I have trouble at two different domains.
I use 'mtos' as MT-folder at one domain and use 'sys' at another domain.
I can not find Apache log related to domain in which I use'mtos',so I post Apache log of domain in which I use'sys'.
There is no confusion in using mt-folder.
I will post about another Reply later.
Thanks for kind replies.
If you are serving sites on different domains from the same MT installation, I advise you to make sure that all of them use the same URL for the mt.cgi script. Otherwise you'll have to define several ScriptAlias in Apache to map all of them to the same MT directory, which is tedious and problematic (you can't share the session cookies from different domains).
Take a look at the AdminCGIPath: http://www.movabletype.org/documentation/appendices/config-directives/admincgipath.html
and use it to define a single admin URL for all your sites.