|
No matter what page I click it's a 404 error. The domain is www.answercraft.net. I installed OSQA with dreamhost, I got to the last step and I did not use the instructions provided as they were giving an error. There was a comment that said try this instead, I used it and it worked. (I figured out the error of the original was that it was missing /local/ from the directory) Does anybody have any idea what could be the problem? my passenger_wsgi.py is
I think the issue lies now with the database does anyone have any idea? I do this
Then I do
This is how it ends I did not want to post every line... It seems like it works but it does not create any tables in mysql |
|
I also had problem getting OSQA to work on DreamHost. Check out the article I found here: http://bit.ly/inGLNx It helped me (with some modifications). You need to remove that "passenger_wsgi.py" file; and then properly set it up using a .htaccess file and a fastcgi script file as described in the article. Hope this helps. I am trying this ....but i can't get it to work. I got to the end with no errors but I get a 500 internal server error...any tips?
(24 Jun '11, 17:20)
pisoj
Try disabling "Passenger" on the "Manage Domains" page of the domain.
(24 Jun '11, 17:29)
blestxplorer
I did that.
(24 Jun '11, 17:36)
pisoj
hmmm by chance when you go in the folder in your public w/e you called it...puglic_html/myosqa is what is given in the example you provided does it have an automatically generated file called osqa.fcgi? If so is it empty? I assume the other file which I created with the same name outside that directory kinda controls that 1 some how?
(24 Jun '11, 17:39)
pisoj
That osqa.fcgi file is not auto-generated. You need to put accurate osqa directory path in that file. By the way, I'm not the author of the article. I found it while Googling!
(24 Jun '11, 17:57)
blestxplorer
Sorry my grammar and what not is a little off 8am.....yet to sleep lol. I tried putting it in the myosqa folder it did nothing. I have it outside of it it did nothing...I think it must be outside of it because there is no instruction to place it inside the folder from what I can see...
(24 Jun '11, 18:01)
pisoj
I went through the error logs I found this [Thu Jun 23 20:27:30 2011] [error] [client 66.249.72.196] File does not exist: /home/answercr/answercraft.net/public/osqa [Thu Jun 23 20:27:30 2011] [error] [client 66.249.72.196] File does not exist: /home/answercr/answercraft.net/public/missing.html [Thu Jun 23 20:43:56 2011] [error] [client 66.249.72.196] File does not exist: /home/answercr/answercraft.net/public/sitemap.xml Issue is I don't know what that's coming from I don't I ever said for it to be installed into public...why does it think it's in public
(24 Jun '11, 18:13)
pisoj
1
I've set it up in a sub directory, as www.example.com/forum. Here's is my server settings: http://pastebin.com/CJT6XuLn Hope this helps.
(25 Jun '11, 02:29)
blestxplorer
1
I did it with passenger! I installed a new version of python and made it with passenger and now it works! WOOOOO your link helped me out a lot :D
(25 Jun '11, 05:10)
pisoj
Great. Enjoy! :)
(25 Jun '11, 06:11)
blestxplorer
Thanks! This worked for me - now onto my live site!
(04 Jul '11, 16:46)
Mark Phipps
showing 5 of 11
show 6 more comments
|
|
What happens if you change this line:
to:
(i.e. remove one of the INTERP arguments, break into two lines, add an indent to second line) And if that doesn't work, try:
And can you run the following from a SSH command line:
Does that work? What does it say? Neither one worked, and it said 2.5.2 Also is the way to restart python pkill python When I do either it shows An error occurred importing your passenger_wsgi.py
(21 Jun '11, 13:33)
pisoj
is OSQA ment to be inside /public or outside of it? I have it outside of it? This instruction confused me Scroll down to the "Users, Files, and Paths" section. If your web directory does not end with "/public", add that to your web directory. I made it like answercraft.net/public
(21 Jun '11, 13:37)
pisoj
|
|
Installed OSQA as per the Dreamhost installation guide but end up with 404 error. For the first time, the home page loads properly without any 404 errors, when i click on any other link (say login) it takes to 404 error (but the header shows OSQA contents). After that even the homepage is showing 404 (but the header shows OSQA contents). i have configured passenger_wsgi.py correctly based on "which python" then also same issue but how come the first time it is working without any 404 error ? What shall i do now ? any suggestions ? Anyone else, recently installed successfully on Dreamhost ? Thanks. |

weird. Any clues in your django log or server log?
I see from the http headers that it's actually returning "500 Internal Server Error, 404 NOT FOUND" - so it may well be a 500 error masquerading as a 404
http://pastebin.com/LrX9aahJ
is the log...I moved the osqa to my public folder...but it created just a white page error 500 error...so I moved them back.
I think it has to be outside the public folder because of this line
svn co http://svn.osqa.net/svnroot/osqa/trunk/ ~/<your_domain>/osqa it shows it installs osqa outside the public folder
I added some new info which I think could be the cause, it's in the original post.