Linux Host Supporting Ruby, Php 5 And Python
Oct 24, 2007Any good stable, secure Linux web host providing the same you know of?
View 3 RepliesAny good stable, secure Linux web host providing the same you know of?
View 3 RepliesI currently host my site with Sharkspace [url] and have been very very pleased. I would recommend them without any hesitation. PHP, MySQL, Cpanel, great and affordable hosting packages.....
However, I want to start developping using Python and the Django framework.
With Sharkspace, Mod_python is not enabled. Django framework cannot be used on their shared hosting servers.
So, I need recommendations on a host who has Mod_python enabled (LoadModule python_module modules/mod_python.so)and allows Django to be installed.
I was told by Sharkspace that Django requires root access. I am not very familar with this framework as I have been using PHP and Zend Framework up until this point.
I am planning to develop a few sites in Ruby on Rail.
Could anybody recommend me a reliable private label Ruby on Rail hosting provider?
What do most of you view as the best shared hosts in terms of hosting Ruby on Rails applications?
View 3 Replies View RelatedI cant restore my back up. Get following warnings:
Warning:
php_version 5.3 is not supported. It will be replaced with php_version 5.4 for the following service plans: Unlimited, Admin Simple, Default Domain, Default Simple, Web Presence Builder, SiteBuilder
Warning:
python is not supported. It will be disabled for the following objects: Service plan 'Unlimited', Service plan 'Admin Simple', Service plan 'Default Domain', Service plan 'Default Simple'
Warning:
The component fail2ban is not installed. It will be disabled for the following objects: Server settings
Warning:
php_version 5.3 is not supported. It will be replaced with php_version 5.4 for the following websites: swen.flugzeugbilder.orgClick to expand...
I have a python script that generates images and is able to write them into a directory on the same web space
However, I would like the same script to write files into another directory located in the web space of another domain on the same server.
For example, script lives here...
/var/www/vhosts/domain1.com/httpdocs/scripts/myscript.py
this works...
/var/www/vhosts/domain1.com/httpdocs/scripts/images/
this fails...
/var/www/vhosts/domain2.com/httpdocs/web/images/
The directory structure already exists, so there is no need to create any new directories
I have tried setting permissions for the destination "images" directory to 777 and that didn't work.
Do I need to specify something within Plesk to enable it to write to another directory?
to stop supporting php.ini files in clients account because they can turn off safe mode or any fucntions and options and they can hack server! how i can stop supporting this files
View 14 Replies View RelatedI was wondering if any UK people here know of good hosts that allow third party software like SMF?
After looking around a few I am dissapointed to find many UK based hosts don't support or allow third party software.
Any help much appreciated.
Also, for SMF, will that require a linux based server?
I sent a copyright complain to ecatel for one of his clients but I didnt get any replay and for more none of my copyright files were deleted.
what to do in order to delete my files in his client's server?
I'm hosting with site5.com now for over 2 years. I'm not so happy with them actually but was still working for me.
last days, I requested them to upgrade my account to PHP 5.x and MySQL 5.x. (still have PHP 4.x and MySQL 4.x with them) allthough PHP 5.x and MySQL 5.x is there for ages now, they told me they can't supply these to me. they gave me some long instructions to be able to use PHP 5.x but pehh...still no option for MySQL 5.x
is this normal ? this is seriously a nightmare for me as new scripts need PHP 5.x and MySQL 5.x
I was wondering if there's any Game Panels that support Ventrilo or would be after modification?
View 0 Replies View Relatedi have seen many posts here regarding godshost.com hosting company, as i have noticed that the owner of that company is hosting 80% of the identity theft networks for illegal credit cards trading.. i have reported this issue to admin@godshost.com and support@godshost.com / abuse@godshost.com a weeks ago without receving 1 reply from them about it,
all of the ircds server that keeping the illegal network up is from godshost.com 86.106.137.* - 89.40.71.*, Even this company used to supply alot of other illegal networks of ircds as i believe the reason behinde that is to force the network owners to pay more or even the double of the server cost so this how it make more profit!
I need a shared host account that can support wildcard mapping of all HTTP requests through the ASP.NET engine. This is required in order to fully support the UrlRewriting techniques I want to use. Anyone know of any affordable hosts that can support this? Of course, as my site grows I'll consider upgrading to a VPS (and further depending on the growth).
View 3 Replies View Relatedyesterday andhrahost.com hacked our WHMCS and sent emails to many of our customer
here is the screen shoot ,
[url]
[url]
he also deleted all admin logs but luckily.i took this screen shoot
Around 2 month back also this happen with us and we even informed OC3 about it but that time also. Mr Alex Ferrari From OC3 networks replied to me and didn't took any action on it.we daily get spam from oc3 networks ip.
regularly they were trying to hack our whmcs and yesterday they did it
i have even sent email to OC3 network and this time also ne reply from them and the hacker,spammer server is still up and selling warez hosting , illigal hosting openly.
Kindly guide me how to proceed to take actions against OC3 netwokrs and against that hostig company who is doing this regurarely.
I am following this guide to make my sitemap:
[url]
Here is the config file I am using (edited for my site):
Code:
<?xml version="1.0" encoding="UTF-8"?>
<!--
sitemap_gen.py example configuration script
This file specifies a set of sample input parameters for the
sitemap_gen.py client.
You should copy this file into "config.xml" and modify it for
your server.
********************************************************* -->
<!-- ** MODIFY **
The "site" node describes your basic web site.
Required attributes:
base_url - the top-level URL of the site being mapped
store_into - the webserver path to the desired output file.
This should end in '.xml' or '.xml.gz'
(the script will create this file)
Optional attributes:
verbose - an integer from 0 (quiet) to 3 (noisy) for
how much diagnostic output the script gives
suppress_search_engine_notify="1"
- disables notifying search engines about the new map
(same as the "testing" command-line argument.)
default_encoding
- names a character encoding to use for URLs and
file paths. (Example: "UTF-8")
-->
<site
base_url=[url]
store_into="domains/mydomain/public_html/sitemap.xml"
verbose="1"
>
<!-- ********************************************************
INPUTS
All the various nodes in this section control where the script
looks to find URLs.
MODIFY or DELETE these entries as appropriate for your server.
********************************************************* -->
<!-- ** MODIFY or DELETE **
"url" nodes specify individual URLs to include in the map.
Required attributes:
href - the URL
Optional attributes:
lastmod - timestamp of last modification (ISO8601 format)
changefreq - how often content at this URL is usually updated
priority - value 0.0 to 1.0 of relative importance in your site
-->
<url
href=[url]
changefreq="monthly"
priority="1"
/>
<url
href=[url]
changefreq="monthly"
priority="0.8"
/>
<url
href=[url]
changefreq="daily"
priority="0.8"
/>
<url
href=[url]
changefreq="yearly"
priority="0.8"
/>
<!-- ********************************************************
FILTERS
Filters specify wild-card patterns that the script compares
against all URLs it finds. Filters can be used to exclude
certain URLs from your Sitemap, for instance if you have
hidden content that you hope the search engines don't find.
Filters can be either type="wildcard", which means standard
path wildcards (* and ?) are used to compare against URLs,
or type="regexp", which means regular expressions are used
to compare.
Filters are applied in the order specified in this file.
An action="drop" filter causes exclusion of matching URLs.
An action="pass" filter causes inclusion of matching URLs,
shortcutting any other later filters that might also match.
If no filter at all matches a URL, the URL will be included.
Together you can build up fairly complex rules.
The default action is "drop".
The default type is "wildcard".
You can MODIFY or DELETE these entries as appropriate for
your site. However, unlike above, the example entries in
this section are not contrived and may be useful to you as
they are.
********************************************************* -->
<!-- Exclude URLs that end with a '~' (IE: emacs backup files) -->
<filter action="drop" type="wildcard" pattern="*~" />
<!-- Exclude URLs within UNIX-style hidden files or directories -->
<filter action="drop" type="regexp" pattern="/.[^/]*" />
</site>
I have put the config file and the python script file in the directory /domains/mydomain/public_html/
Now I am trying to run the script via SSH. I have logged in fine to the admin account, and I am running this command:
Code:
python domains/mydomain/public_html/sitemap_gen.py --config=config.xml
Here is what is returning:
Quote:
Reading configuration file: config.xml
[ERROR] Cannot read configuration file: config.xml
Configuration file errors -- exiting.
We are having an issue when trying to cache Fedora Core 10.
Code:
vzpkg create cache fedora-core-10-x86_64
Creation OS template cache for fedora-core-10-x86_64 template
Error: Python directory not found in /vz/pkgenv/rpm46x64
Error: Can't find environment directory /vz/pkgenv/rpm46x64: No such file or directory
The only recent changes that have been made is the Hostname. Before making this change, I was caching OS templates like it was christmas.
i have been thinking of getting dedicated server and was wondering is it easy to install python on CentOS or is it already installed?
View 8 Replies View Relatedto enable these on a shared cpanel server (which is using php 5x, apache 2x, suphp)
python
mod_python
django
How can I enable all these 3 safely without any negative conflicts?
I have Python on my server and it is using the most CPU and Memory on my server than any other process. I don't believe any of my clients use it so I am planning to delete it.
I am just wondering, does CentOS 5.2 (With cPanel) require Python, or is it not required so I can delete it without any problems caused?
If a shared hosting server has mod_python enabled, can we assume that it also has the MySQLdb module installed?
I mean, whats the point in having mod_python if theres no way to connect to a database?
My rails application does not start, it displays a 404 error. The application log (public_html/user/log/production.log) contains:
"MissingSourceFile (no such file to load -- postgres)"
The error message in the log file contains:
MissingSourcefile (no such file to load)
I installed Ruby Gems via whm > apache update and Ruby Rails manually. What else am I to do to get this working? Postgres was compiled as well and has always been installed.
root@server [~]# which postgres
/usr/bin/postgres
root@server [~]# php -m
[PHP Modules]
bcmath
calendar
ctype
curl
domxml
eAccelerator
exif
ftp
gd
gettext
ionCube Loader
mbstring
mcrypt
mysql
openssl
overload
pcre
pdf
pgsql
posix
pspell
session
sockets
standard
swf
tokenizer
xml
xmlrpc
Zend Optimizer
zlib
[Zend Modules]
Zend Extension Manager
Zend Optimizer
the ionCube PHP Loader
this only shows up in Centos 5, it seems.
You do the good ole "yum update"
and...something very bad happens:
Loading "installonlyn" plugin
>> Loading "rhnplugin" plugin
>>
>>
>> Could not find any working storages.
Ok..this is one of the times google fails me..I guess because this is a fairly new problem.
If you are lucky:
Visit the rpm repo of your choice..manually download:
python-sqlite*
and
sqlite*
and force a re-install:
rpm -ivh python-sqlite* --force
rpm -ivh sqlite* --force
Sadly..I did find that..and it was tried..and did not work for me.
The fix? Ohhh...you gonna love this:
I completely removed python and everything that depends on it.
Drastic? Oh yeah. But after wasting two days with fixes that did not help...I figured this was the only way. Drastic measures were called for.
It was. It worked. You put everything back..and it is fine.
Oh..I noticed yum.3.2.1is available..and decided to give that a shot as well. It is fine.
Certainly not as much fun as the time I decided to attempt a upgrade of glib2 on a vps..but close.
how may in disable pytion in cpanel?
View 4 Replies View RelatedService Temporarily Unavailable
The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.
a 503 Service Temporarily Unavailable error was encountered while trying to use an ErrorDocument to handle the request.
Cpanel server / Centos 5 / PHP 5
The rubygems installer first displays an error message: "Warning ... broken gem detected.. reinstalling!"
The server itself gives a "Service Temporarily Unavailable" error
** Daemonized, any open files are closed. Look at log/mongrel.pid and log/mongrel.log for info.
** Starting Mongrel listening at 0.0.0.0:12001
** Starting Rails with production environment...
/usr/local/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/connection_adapters/postgresql_adapter.rb:713:in `initialize': FATAL: password authentication failed for user "user" (PGError)
from /usr/local/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/connection_adapters/postgresql_adapter.rb:713:in `connect'
from /usr/local/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/connection_adapters/postgresql_adapter.rb:713:in `connect'
from /usr/local/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/connection_adapters/postgresql_adapter.rb:237:in `initialize'
from /usr/local/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/connection_adapters/postgresql_adapter.rb:23:in `new'
from /usr/local/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/connection_adapters/postgresql_adapter.rb:23:in `postgresql_connection'
from /usr/local/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/connection_adapters/abstract/connection_specification.rb:291:in `send'
from /usr/local/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/connection_adapters/abstract/connection_specification.rb:291:in `connection='
from /usr/local/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/connection_adapters/abstract/connection_specification.rb:259:in `retrieve_connection'
... 26 levels...
from /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/command.rb:212:in `run'
from /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/mongrel_rails:281
from /usr/local/bin/mongrel_rails:19:in `load'
from /usr/local/bin/mongrel_rails:19
.htaccess content:
Quote:
AddHandler fastcgi-script .fcgi
Options +FollowSymLinks +ExecCGI
RewriteEngine on
RewriteCond %{HTTP_HOST} ^domain.com$ [OR]
RewriteCond %{HTTP_HOST} ^www.domain.com$
RewriteRule ^(.*)$ http://127.0.0.1:12001%{REQUEST_URI} [P,QSA,L]
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://(www.)?domain.com/.*$ [NC]
RewriteRule .(gif|jpg|png|js|css)$ - [F]
#LoadModule fastcgi_module libexec/mod_fastcgi.so
#<IfModule mod_fastcgi.c>
# FastCgiIpcDir /tmp/fcgi_ipc/
# AddHandler fastcgi-script .fcgi
#</IfModule>
#FastCgiConfig -maxClassProcesses 20 -maxProcesses 20 -minProcesses 1 -processSlack 1 -initial-env RAILS_ENV=production -idle-timeout 120
#ErrorDocument 404 /user/public/404.html
I tried to install my rails application. However it does not work properly (the rails welcome screen's "About your application environment" link gives a "Application error Rails application failed to start properly" message), and the error log shows plenty of FastCGI warnings and fcg incomplete header errors:
[Thu Mar 6 07:44:20 2008] [warn] FastCGI: (dynamic) server "/home/user/public_html/dir/public/dispatch.fcgi" has failed to remain running for 30 seconds given 3 attempts, its restart interval has been backed off to 600 seconds
[Thu Mar 6 07:39:47 2008] [error] [client 91.120.172.159] FastCGI: incomplete headers (0 bytes) received from server "/home/user/public_html/dir/public/dispatch.fcgi"
[Thu Mar 6 07:39:47 2008] [warn] FastCGI: (dynamic) server "/home/user/public_html/dir/public/dispatch.fcgi" has failed to remain running for 30 seconds given 3 attempts, its restart interval has been backed off to 600 seconds
[Thu Mar 6 07:39:47 2008] [error] [client 91.120.172.159] FastCGI: comm with (dynamic) server "/home/user/public_html/dir/public/dispatch.fcgi" aborted: (first read) idle timeout (30 sec)
I have cpanel 11 / centos 5 / php w/ suexec
I was thinking about getting Ruby on Rails on one of my VPSs. But my host said that it might cause problems. I DO NOT WANT PROBLEMS. Ruby on rails really looks cool. I want to use it to run a CMS written in Ruby on Rails.
Here are the specs:
OS: Centos
Panel: WHM/Cpanel
Memory: 512
I plan to develop a nice website in Python,AJAX with backend as mySQL database. This website is gonna send out a lot of notifications depending on the kind of activities that every account/logins does.
I am not very sure whats the business going to be for this website but would want to wait for few months after launching.
So, Please suggest me a cheap Hosting provider who can help me host my code in Python , MySQL database and also allow 100s of emails every day. I would also want to register a domain for my website too. Would everything comes as package?
I should also have 100GB space atleast to be prepared to grow !
I have not hosted any of my code yet though have written a lot which runs in my system only. Please guide me folks! thank you.
While Installing Applications on VPS Container On virtuozzo I`am running Into a error given below.
Operation install with the Env(s) "web209" is finished with errors: Can not install packages: exec failed: Error: python-devel conflicts with python < 2.4.3-27.el5 Error: Missing Dependency: gnutls = 1.4.1-3.el5_2.1 is needed by package gnutls-devel Error: Missing Dependency: nspr = 4.7.4-1.el5_3.1 is needed by package nspr-devel Error: /usr/share/vzyum/bin/yum failed, exitcode=1 .
I installed RoR on my Mac OS X, but then I decided to use Locomotive and the RMagick bundle. I want to remove the copy I uninstalled, but how do you remove it on a mac?
View 2 Replies View RelatedI am currently a 1 and 1 customer, and unfortinately they do not support ROR . Anyways that put to one side can anyone recommend a free ROR hosting company, or a company that will charge around £20.00 to get my ROR website hosted?
View 13 Replies View RelatedRuby on Rails is running quite slow. I've had my server administration company look at it after I looked at it myself. I'm running out of ideas and was planning on trying a last-ditch memory upgrade to see if it helps. I'm not so sure it will.
Everything is installed and the app. is working, it just takes ~5-7 seconds to load. There are no errors or anything. Has anyone had this problem or could anyone suggest something to try?
This is a cPanel server. I've monitored the loading and dispatch.cgi runs during the load and all like it should.