I had everything working fine for a couple of days, then all the sudden now I can't post entries on my blog. I log in with my username, click on "Write Entry" to create a post.
I type it up and click "Save," then I get the error.
____________________________________________________________________
502 - Web server received an invalid response while acting as a gateway or proxy server.
There is a problem with the page you are looking for, and it cannot be displayed. When the Web server (while acting as a gateway or proxy) contacted the upstream content server, it received an invalid response from the content server.
___________________________________________________________________
If I click "Manage > Entries" the title is saved, but the HTML file is never created, nor is the data in the Subject or Body saved...
So confused... can anyone offer help. I thought I"ve checked permissions everywhere I can think of.???
Damon
Reported on Movable Type 4.2
What server are you hosting this on? Is it running IIS7?
Yes, I have my own server... Win 2008 Server Ent. w/ IIS7
I've checked the folder where the blog is saved...
IUSR has "write" permissions to the entire folder.
Also, for what its worth...
Check Config:
http://www.abruzere.com/mt/mt-check.cgi
Blog site
http://www.abruzere.com/abruzereblog/
Damon
2008 / IIS7 seems to have a few teething troubles with CGI.
Although this relates to PHP does this help at all
http://techsupportoncall.blogspot.com/2008/08/horde-error-502-web-server-received.html
Rob, thanks for the link. So far, I still can't figure it out, so I tried to create a completely new install on a completely new URL, folder structure, database schema, etc...
Go figure, everything (so far) is working perfectly. I'm completely paraphrasing here, but:
- Downloaded Fresh MT-4.25-en files
- Created new site folder C:\inetpub\blogsite\
- Copied MT files in to .\mt directory
- (IIS 7) Created new Site (blog.domain.com)
- (IIS 7) In "Handler Mappings," Created .pl & .cgi Script Maps to perl.exe "%s" %s (Make sure to add exception for ISAPI)
- (IIS 7) Create virtual directory for /mt folder (Point /mt to physical folder location (/mt maps to C:\inetpub\blogsite\mt\)
- (IIS 7) Add permissions for IUSR account with proper permissions (PERMIT: read & execute, List folder content, read, write)
- (MYSQL) In "Catalog," create new Database Schemata (movabletype)
- (MYSQL) In "User Administration," give mt_user privileges to the "movabletype" Database Schemata (SELECT, INSERT, UPDATE, DELETE, CREATE, INDEX, ALTER, CREATE_TMP_TABLE)
- (IE7) Navigate to url - "http://blog.domain.com/mt/"
- (MT) Go through MT wizard
- (MT) Site was created
Now, hopefully it will continue to work. I'm now curious about some of the plugin installations I did previously because that's the only thing I remember that was different?
Thanks again Rob,
Damon
I am 99% certain it is a Windows 2008 / IIS7 issue rather than an MT issue.
No doubt in my mind! :) Thanks again for the help. If you can think of what permissions that may have been altered, please do let me know!
Well... it happened again. Everything seemed to be working fine all day, then it just started giving me the 502 error again?
I hadn't logged in to my webserver all day. They only thing I had done was create my main website with 2 blogs on it.
Now if I try to access the login page mt.cgi, or any other page, I get 502 error...
I had gone to Facebook to integrate my "Blog This" application to my new blog; which didn't work by the way...
So, I went back to my Dashboard and refreshed the screen to the 502 error! WTF? I seriously haven't changed anything... no permissions, no files... the only thing I've done is change setting from within the Dashboard and published updated blog entries and files.
ugh...
Rob, any advice on where I can look for that IIS issue you may have heard about?
Thanks,
Damon