Jump to content

cokie

Members
  • Posts

    12
  • Joined

  • Last visited

cokie's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. cokie

    Setup Python

    the helloworld.py file is yep. I read online perhaps it is a server error.. I dont want to get on the wrong track though. By the way, I changed the htaccess file to htaccess1 and it created another htaccess file but it is 0 bytes and I cant change the one that is the original back to htaccess becuase it keeps on making a new one that is 0 bytes.
  2. cokie

    Setup Python

    Both. The folder should be 755 by default, and each file you want to be able to execute inside the cgi-bin folder should have permissions of 755 too. I setup the following in the Change Permissions button on the top of the file-manager User = 7 Group = 5 and World = 5 and i still get the error. I even tried renaming .htaccess in the directory of html page, creating a new one, but that did not do anything. Any ideas?
  3. Control S saves it on my computer. thanks will try and see if ti helps... I installed the jre-6u26-windows-i586-iftw and opened up IE and it still did not show the save button... is this the code for the save button for the editor <div align="center"> <div id="saveform" style="display:none;"> <form METHOD="POST" name=mform action="http://stevie.heliohost.org:2082/frontend/x3/filemanager/savehtmlfile.html"> <input type="hidden" name="charset" value="us-ascii"> <input type="hidden" name="baseurl" value="http://cokie.heliohost.org/"> <input type="hidden" name="basedir" value="/home1/cokie/public_html/"> <input type="hidden" name="udir" value="/home1/cokie/public_html"> <input type="hidden" name="ufile" value="bible_repeatwords.html"> <input type="hidden" name="dir" value="%2fhome1%2fcokie%2fpublic_html"> <input type="hidden" name="file" value="bible_repeatwords.html"> <input type="hidden" name="doubledecode" value="1"> <textarea name=page rows=1 cols=1></textarea></form> </div> Control S saves it on my computer. thanks will try and see if ti helps... I installed the jre-6u26-windows-i586-iftw and opened up IE and it still did not show the save button... is this the code for the save button for the editor <div align="center"> <div id="saveform" style="display:none;"> <form METHOD="POST" name=mform action="http://stevie.heliohost.org:2082/frontend/x3/filemanager/savehtmlfile.html"> <input type="hidden" name="charset" value="us-ascii"> <input type="hidden" name="baseurl" value="http://cokie.heliohost.org/"> <input type="hidden" name="basedir" value="/home1/cokie/public_html/"> <input type="hidden" name="udir" value="/home1/cokie/public_html"> <input type="hidden" name="ufile" value="bible_repeatwords.html"> <input type="hidden" name="dir" value="%2fhome1%2fcokie%2fpublic_html"> <input type="hidden" name="file" value="bible_repeatwords.html"> <input type="hidden" name="doubledecode" value="1"> <textarea name=page rows=1 cols=1></textarea></form> </div> Problem Solved!
  4. I tried clearing the cache in Safari, IE and Firefox and restarted the browsers and it didn't seem to make the save button appear I am using the "html editor" in file manager on the html file.... I enabled javascript In all three ( including active scripting in IE ) This is what it looks like in the editor I think the top or bottom right hand corner is where the save button is on my firefox browser on the laptop: http://img6.mediafire.com/57736141751d9a95...2eb09d82c6g.jpg I appreciate your time and patients, thank you! -Cokie
  5. I am trying to save this html website in heliohost web editor, but the save button does not appear in firefox , IE 8 or safari 4 on this desktop but works fine on my laptop with firefox? I heard this may be a http client AKA browser problem but why would it nor work on firfox on this desktop but on my laptop? Thanks! -Cokie
  6. cokie

    Setup Python

    Do you mean use the permissions button at the top on the hello-world.py script so the User Group and World settings are 7,5,5 in that order, or do you mean to use it on the cgi-bin folder itself?
  7. cokie

    Setup Python

    I am trying to setup 1. A normal python script and 2. Get CGI python programming to work. <html"> <head> <title> Bible Word Repeater</title> </head> <body> <form id="myform" action="submit-form.php">Search:<input type="text" name="query" /><input type="submit"></form> </body> </html> #!/usr/bin/python print "hello world" When I submit the form it says: "Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, webmaster@cokie.heliohost.org and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request." How can I setup a normal python program so this doesnt happen Also, on heliohost do I need certain permissions and setting to use CGI? Thank You!
  8. I also wondering whether I can somehow start a python program (helloworld.py) in cpanelx? When I click on View it shows the source code which is btw: #!/usr/bin/python print "Content-type:text/html\r\n\r\n" print '<html>' print '<head>' print '<title>Hello Word - First CGI Program</title>' print '</head>' print '<body>' print '<h2>Hello Word! This is my first CGI program</h2>' print '</body>' print '</html>' Do I need to chmod and use the Content-Type Header also. Thank you all for assisting me, your support is utmost beneficiary Cokie
  9. I mean how standard or how primitive is the use of django? I assume it is for applications so its is not like sin arch sin functions.
  10. I have three questons: 1.) Is python installed on the server already? 2.) How can I include libraries if the library doesnt have them installed like CGI - Can I just include CGI without worrying if the library is installed on the server. 3.) Does Django have the NECESSARY libraries like the C standard libraries or is it more specific libraries. Thank you guys so much! Cokie
  11. Where do I put the html file so it doesnt delete my account after a month? Is it directly in public_html folder and is it index.html
×
×
  • Create New...