Posted By: tidus on September 10, 2012, 6:12 am | Post: 1 |
Hi,
In Ampps folder, you should be able to find two python.conf One is located in Ampps/conf folder and other in Ampps/python folder If you want to do any changes, make the changes in Ampps/conf/python.conf but don't replace {$path} as AMPPS will replicate it with correct path in Ampps/python/python.conf Note: Ampps Application should be running. ----------------------- Follow AMPPS on, Twitter : https://twitter.com/AMPPS_Stack Facebook : http://www.facebook.com/softaculousampps Google+ : https://plus.google.com/+AmppsStack |
Posted By: tidus on September 11, 2012, 7:04 am | Post: 3 |
Hi,
Can you give us the small script in which you were facing the error. We will regenerate it and fix it in next version of AMPPS. ----------------------- Follow AMPPS on, Twitter : https://twitter.com/AMPPS_Stack Facebook : http://www.facebook.com/softaculousampps Google+ : https://plus.google.com/+AmppsStack |
Posted By: aniceman on August 1, 2013, 12:13 pm | Post: 6 |
I have managed to get Python to work with AMPPS thank you.
How do you get Ruby to work with AMPPS. |
Posted By: tidus on August 1, 2013, 12:37 pm | Post: 7 |
Quote From : aniceman August 1, 2013, 12:13 pm I have managed to get Python to work with AMPPS thank you.
How do you get Ruby to work with AMPPS. Hi, Sorry we do not provide Ruby with AMPPS. You will have to install it on your own. ----------------------- Follow AMPPS on, Twitter : https://twitter.com/AMPPS_Stack Facebook : http://www.facebook.com/softaculousampps Google+ : https://plus.google.com/+AmppsStack |
Posted By: tidus on August 2, 2013, 9:21 am | Post: 9 |
Quote From : aniceman August 2, 2013, 9:01 am I have already installed Ruby.
I have changed the line in C:\Program Files\Ampps\apache\config\httpd.conf AddHandler cgi-script .cgi .pl .py .rb I have ruby installed in C:\Ruby200 What else do I need to change in the Apache config file to get to work. I would greatfull any help, I sure other people will want to do this as well. Hi, Don't change the conf file directly. Change it from AMPPS Application -> Apache Tab -> Configuration. I think that is all. Now just restart apache. And put the following ruby script in path Ampps\www\cgi-bin\test.rb Code #!"C:\Ruby200\ruby.exe"
puts "Content-type: text/html" puts "" puts "" puts "" puts "Test Ruby Page." puts "" puts "" ----------------------- Follow AMPPS on, Twitter : https://twitter.com/AMPPS_Stack Facebook : http://www.facebook.com/softaculousampps Google+ : https://plus.google.com/+AmppsStack |