IPB

Welcome Guest ( Log In | Register )

9 Pages V   1 2 3 > » 

ser_pros
Posted on: Jan 19 2006, 03:58 AM


Hostony staff


Group: Members
Posts: 214
Joined: 11-November 04
Member No.: 1165


By default scripts will be executed by PHP4. It's defined in main web server configuration file by default. Also you will be able to run php scripts with extenion .php5 without editing .htaccess. If you would like to run php scripts with other extensions by PHP 5, you will need to put the following line into your .htaccess :

AddHandler application/x-httpd-php5 .php (or other extensions)
  Forum: News and Announcements · Post Preview: #24096 · Replies: 12 · Views: 8472

ser_pros
Posted on: Jul 31 2005, 07:26 PM


Hostony staff


Group: Members
Posts: 214
Joined: 11-November 04
Member No.: 1165


You are welcome. laugh.gif
  Forum: General Support · Post Preview: #21437 · Replies: 3 · Views: 2119

ser_pros
Posted on: Jul 31 2005, 01:49 PM


Hostony staff


Group: Members
Posts: 214
Joined: 11-November 04
Member No.: 1165


Hello Bonnie,
You are welcome. smile.gif
  Forum: General Support · Post Preview: #21435 · Replies: 3 · Views: 1931

ser_pros
Posted on: Jul 31 2005, 01:46 PM


Hostony staff


Group: Members
Posts: 214
Joined: 11-November 04
Member No.: 1165


The latest version of ZendOptimizer has been installed on the server and PHP has been upgraded to version 4.4.0
  Forum: General Support · Post Preview: #21434 · Replies: 3 · Views: 2119

ser_pros
Posted on: Jul 30 2005, 07:39 PM


Hostony staff


Group: Members
Posts: 214
Joined: 11-November 04
Member No.: 1165


The server is ok now.
We were installing Ruby-on-Rails on the server. Thats why web server was down for a few minutes.
Sorry for the caused inconveniences.
  Forum: General Support · Post Preview: #21428 · Replies: 1 · Views: 1578

ser_pros
Posted on: Jul 30 2005, 04:39 PM


Hostony staff


Group: Members
Posts: 214
Joined: 11-November 04
Member No.: 1165


You can use ASP components installed on the server.
The following ASP components are installed on the server:

- ASP Simple Upload
- ASP Whois Version 3
- Persists ASPEMAIL (Free version)
- AspSmartMail
- AspSmartUpload
- Dundas Mailer
- Dundas Upload
- Dundas Pie Chart
- Dimac W3 Jmail Professional

We can't supply you with a MailEnable E-mail Form.
  Forum: Suggestions · Post Preview: #21425 · Replies: 1 · Views: 2453

ser_pros
Posted on: Jul 30 2005, 04:00 PM


Hostony staff


Group: Members
Posts: 214
Joined: 11-November 04
Member No.: 1165


Ruby-on-Rails has been installed on the server 20 (67.15.16.19).
  Forum: News and Announcements · Post Preview: #21424 · Replies: 25 · Views: 12796

ser_pros
Posted on: Jul 28 2005, 11:50 PM


Hostony staff


Group: Members
Posts: 214
Joined: 11-November 04
Member No.: 1165


You can find this script on
http://cpanelproxy.net/
  Forum: HowTo · Post Preview: #21414 · Replies: 28 · Views: 13877

ser_pros
Posted on: Jul 27 2005, 03:45 AM


Hostony staff


Group: Members
Posts: 214
Joined: 11-November 04
Member No.: 1165


You can open a trouble ticket and we'll transfer your account to the server where Ruby-on-Rails is installed.
  Forum: News and Announcements · Post Preview: #21384 · Replies: 25 · Views: 12796

ser_pros
Posted on: Jul 27 2005, 02:36 AM


Hostony staff


Group: Members
Posts: 214
Joined: 11-November 04
Member No.: 1165


The development setup that we tested this under was a server that running Red Hat Enterprise 3, cPanel, Apache 1.3.33

Install Ruby:
(You can grab the latest source package from http://ruby-lang.org/en/20020102.html)


$ cd /usr/local/src
$ wget ftp.ruby-lang.org/pub/ruby/ruby-1.8.2.tar.gz
$ tar -xvzf ruby-1.8.2.tar.gz
$ cd ruby-1.8.2
$ ./configure && make && make install

Next Ruby Gems:
(Latest version and localized mirrors here http://rubyforge.org/frs/?group_id=126)


$ cd /usr/local/src
$ wget rubyforge.org/frs/download.php/3700/rubygems-0.8.10.tgz
$ tar -xvzf rubygems-0.8.10.tgz
$ cd rubygems-0.8.10
$ ruby setup.rb

Once Gems are installed its a whirl to install Rails:


$ gem install rails

(Answer Y to all the dependancies)

Now for Fast CGI and getting it to play nicely with Apache.

Install Fast CGI:
(‘Sourced’ from http://fastcgi.com/dist/)


$ cd /usr/local/src
$ wget fastcgi.com/dist/fcgi-2.4.0.tar.gz
$ tar -xvzf fcgi-2.4.0.tar.gz
$ cd fcgi-2.4.0
$ ./configure && make && make install

And mod_fastcgi for Apache 1.3+

$ cd /usr/local/src
$ wget fastcgi.com/dist/mod_fastcgi-2.4.2.tar.gz
$ tar -xvzf mod_fastcgi-2.4.2.tar.gz
$ cd mod_fastcgi-2.4.2
$ /usr/local/apache/bin/apxs -o mod_fastcgi.so -c *.c
$ /usr/local/apache/bin/apxs -i -a -n fastcgi mod_fastcgi.so

Now for Ruby fcgi:

$ gem install fcgi

You now need to edit your Apache config file.
By default its (/etc/httpd/conf/httpd.conf)

Add these lines:


LoadModule fastcgi_module libexec/mod_fastcgi.so

<IfModule mod_fastcgi.c>
FastCgiIpcDir /tmp/fcgi_ipc/
AddHandler fastcgi-script .fcgi
</IfModule>


Make sure /tmp/fcgi_ipc/ is writable and executable by Apache (Apache runs as ‘nobody’ on our servers, this may differ for you)


$ chown nobody.nobody /tmp/fcgi_ipc -R
$ chmod 755 /tmp/fcgi_ipc -R

Now restart Apache:


$ /etc/rc.d/init.d/httpd restart

You can test Ruby-on-Rails out by creating a test virtual host:

Add rails.yourdomain.com to DNS
Add a new host for the rails test app

$ vi /usr/local/apache/conf/httpd.conf

On Apache2 it should looks like:

<VirtualHost *:80>
ServerName rails.yourdomain.com
ServerAdmin robin-rails@yourdomain.com
ErrorLog logs/rails.yourdomain.com-error_log
CustomLog logs/rails.yourdomain.com-access_log combined
DocumentRoot /home/apache/yourdomain.com/rails/live/public/
<Directory /home/apache/yourdomain.com/rails/live/public/>
Options ExecCGI FollowSymLinks
AllowOverride all
Allow from all
Order allow,deny
</Directory>
</VirtualHost>


Create a test app:

$ cd /home/apache/yourdomain.com/rails
$ rails test
$ ln -s test live
$ cd live
$ chown -R nobody:nobody .
$ vi public/dispatch.fcgi

Replace "require 'fcgi'" with:

require 'rubygems'
require_gem 'fcgi'


$ vi public/.htaccess

Change "RewriteRule ^(.*)$ dispatch.cgi [QSA,L]" to:

RewriteRule ^(.*)$ /dispatch.fcgi?$1 [QSA,L]

$ chmod 755 public/dispatch.fcgi
$ chmod 755 public/.htaccess

Check it out:

http://rails.yourdomain.com
  Forum: CLOUD VPS and Dedicated servers - Tuning · Post Preview: #21381 · Replies: 0 · Views: 4556

ser_pros
Posted on: Jul 27 2005, 01:18 AM


Hostony staff


Group: Members
Posts: 214
Joined: 11-November 04
Member No.: 1165


Ruby-on-Rails has been installed on the server 33 (70.86.2.146) and the server 34 (70.86.36.130).

All the customers whose accounts are on these servers can use Ruby-on-Rails.
  Forum: News and Announcements · Post Preview: #21380 · Replies: 25 · Views: 12796

ser_pros
Posted on: Jul 27 2005, 12:04 AM


Hostony staff


Group: Members
Posts: 214
Joined: 11-November 04
Member No.: 1165


First ssh into your machine as root, or switch to root by using su

Step 1. Get the goods
root@Server [~]# wget http://layer1.cpanel.net/apache-asp.sea


Step 2. Set permissions
root@Server [~]# chmod 755 apache-asp.sea

Step 3. Initial installation
root@Server [~]# ./apache-asp.sea

Step 4. restart apache
root@Server [~]# /etc/init.d/httpd restart

Step 5. Configure Apache (use vi/pico etc)
root@Server [~]# vi /usr/local/apache/conf/httpd.conf

Step 6. Find This:

<Files ~ "^.ht">
Order allow,deny
Deny from all
Satisfy All
</Files>


Step 7. Below that add the following data:

PerlModule Apache::ASP
<Files ~ (.asp)>
SetHandler perl-script
PerlHandler Apache::ASP
PerlSetVar Global .
PerlSetVar StateDir /tmp/asp
</Files>



Step 8. Now find in httpd.conf the following.

<IfModule mod_dir.c>
(Should contain index.html etc), now add index.asp (but do not delete the origional arguments).
</IfModule>

Step 9. Login to WHM as root.
Now restart Apache.
  Forum: Cpanel How To · Post Preview: #21378 · Replies: 0 · Views: 5776

ser_pros
Posted on: Jul 26 2005, 03:53 AM


Hostony staff


Group: Members
Posts: 214
Joined: 11-November 04
Member No.: 1165


1) OpenSSL Upgrade

wget http://www.openssl.org/source/openssl-0.9.8.tar.gz
tar -zxf openssl-0.9.8.tar.gz
cd openssl-0.9.8
./Configure --prefix=/usr linux-pentium
make
make install


2) OpenSSH Upgrade

wget http://ftp.belnet.be/packages/openbsd/Open...sh-4.1p1.tar.gz
tar -zxvf openssh-4.1p1.tar.gz
cd openssh-4.1p1
./configure --prefix=/usr --sysconfdir=/etc/ssh --with-ssl-dir=/usr/local/src/openssl-0.9.8 --with-pam
make
make install
/sbin/service sshd restart


3) After the command
ssh -V
you should see the result:
OpenSSH_4.1p1, OpenSSL 0.9.8 25 Jul 2005
  Forum: CLOUD VPS and Dedicated servers - Security · Post Preview: #21357 · Replies: 0 · Views: 3176

ser_pros
Posted on: Jul 26 2005, 03:27 AM


Hostony staff


Group: Members
Posts: 214
Joined: 11-November 04
Member No.: 1165


1) Download Apache to the server:
cd /usr/local/
wget http://www.apache.org/dist/httpd/apache_1.3.33.tar.gz
tar -zxvf apache_1.3.33.tar.gz

2) Download and install Mod_SSL on the server:
wget http://www.modssl.org/source/mod_ssl-2.8.22-1.3.33.tar.gz
tar -zxvf mod_ssl-2.8.22-1.3.33.tar.gz
cd mod_ssl-2.8.22-1.3.33
./configure --with-apache=../apache_1.3.33
vi /etc/ld.so.conf
Add /usr/local/ssl/lib and /usr/local/lib there
ldconfig

3) Install Apache:

cd ../apache_1.3.33
EAPI_MM="/usr/local/mm-1.3.0" SSL_BASE="/usr/local/ssl" ./configure --enable-module=unique_id --enable-module=rewrite --enable-module=speling --enable-module=expires --enable-module=info --enable-module=log_agent --enable-module=log_referer --enable-module=usertrack --enable-module=proxy --enable-module=userdir --enable-module=so --enable-shared=ssl --enable-module=ssl
make
make install


Note: If the above throws up an error about SSL_BASE, make sure openssl is installed on the server and give the path to openssl source for SSL_BASE= For example, SSL_BASE=/usr/local/src/openssl-0.9.7g

4) vi /etc/rc.d/init.d/httpd
change the /usr/sbin/apachectl and /usr/sbin/httpd entries to /usr/local/apache/bin/apachectl and /usr/local/apache/bin/httpd respectively
Add the virtual host entries to the new httpd.conf from /etc/httpd/conf/httpd.conf
  Forum: CLOUD VPS and Dedicated servers - Security · Post Preview: #21356 · Replies: 0 · Views: 2321

ser_pros
Posted on: Jul 26 2005, 03:09 AM


Hostony staff


Group: Members
Posts: 214
Joined: 11-November 04
Member No.: 1165


1) Install Apache using the following command:
/scripts/easyapache

2) Choose (7) Advanced [Load Previous Config] (Experts Only, At Your Own Risk)

3) We also recommend you to check PHPSuEXEC to make the server more secure.
Win PHPSuExec enabled only owner of the php scripts can execute them.

4) Don't forget to install Zend Optimizer after that:
/scripts/installzendopt
  Forum: CLOUD VPS and Dedicated servers - Security · Post Preview: #21353 · Replies: 0 · Views: 1964

ser_pros
Posted on: Jul 25 2005, 04:01 AM


Hostony staff


Group: Members
Posts: 214
Joined: 11-November 04
Member No.: 1165


1. Download Eaccelerator, extract and CD into
wget http://easynews.dl.sourceforge.net/sourcef...or-0.9.3.tar.gz
tar -zxf eaccelerator-0.9.3.tar.gz
cd eaccelerator


2. Find out where php is
which php
Example: "/usr/local/php" you want to ignore the /php, all you want is the prefix to php directory. In my installation it was "/usr/local"
*All BLUE text represents where your php prefix should be.


3. Create configuration files, run in SSH, DO NOT MKDIR
/usr/local/bin/phpize


4. Compile eaccelerator
./configure --enable-eaccelerator=shared --with-php-config=/usr/local/bin/php-config

make
make install



5. Now install eaccelerator
You need to edit your php.ini file usually located (/etc/php.ini)

You now have two options of installing eaccelerator

A. As a Zend extension:
#the location of eaccelerator.so will vary on your installation
zend_extension="/usr/lib/php4/eaccelerator.so"
eaccelerator.shm_size="16"
eaccelerator.cache_dir="/tmp/eaccelerator"
eaccelerator.enable="1"
eaccelerator.optimizer="1"
eaccelerator.check_mtime="1"
eaccelerator.debug="0"
eaccelerator.filter=""
eaccelerator.shm_max="0"
eaccelerator.shm_ttl="0"
eaccelerator.shm_prune_period="0"
eaccelerator.shm_only="0"
eaccelerator.compress="1"
eaccelerator.compress_level="9"


B. As a PHP extension
#the location of eaccelerator.so will vary on your installation
extension="eaccelerator.so"
eaccelerator.shm_size="16"
eaccelerator.cache_dir="/tmp/eaccelerator"
eaccelerator.enable="1"
eaccelerator.optimizer="1"
eaccelerator.check_mtime="1"
eaccelerator.debug="0"
eaccelerator.filter=""
eaccelerator.shm_max="0"
eaccelerator.shm_ttl="0"
eaccelerator.shm_prune_period="0"
eaccelerator.shm_only="0"
eaccelerator.compress="1"
eaccelerator.compress_level="9"



6. Create cache directory
mkdir /tmp/eaccelerator
chmod 0777 /tmp/eaccelerator

7. Reboot Apache
/etc/rc.d/init.d/httpd restart
  Forum: CLOUD VPS and Dedicated servers - Tuning · Post Preview: #21342 · Replies: 1 · Views: 3295

ser_pros
Posted on: Jul 25 2005, 01:59 AM


Hostony staff


Group: Members
Posts: 214
Joined: 11-November 04
Member No.: 1165


WebDAV can be installed only on VPS. We don't offer WebDAV on the shared servers.
  Forum: General Support · Post Preview: #21341 · Replies: 7 · Views: 4245

ser_pros
Posted on: Jun 8 2005, 01:13 AM


Hostony staff


Group: Members
Posts: 214
Joined: 11-November 04
Member No.: 1165


Dear Martin,
We can't perform the following command:
'chown -R username,username /home/username' because, for example mail will not work and we'll need to fix mail permisions in this case.
username is the owner of /home/username/public_html by default
nobody is the group of /home/username/public_html by default
So we don't have to perform this command.
Some customers ased us to change the owners of their files. In this case they should open a trouble ticket to change it to default.
You will also see this error when permissions for php files are set to 777. Permissions should be set to 755, 744, 711 or 700.


If you have php values in your .htaccess file you should remove them from it and create a php.ini file in the directory where your php files are located. Put necessary entries (php values) into your php.ini file.
  Forum: General Support · Post Preview: #20605 · Replies: 2 · Views: 1933

ser_pros
Posted on: May 30 2005, 11:58 PM


Hostony staff


Group: Members
Posts: 214
Joined: 11-November 04
Member No.: 1165


laugh.gif biggrin.gif rolleyes.gif wink.gif
  Forum: General Support · Post Preview: #20479 · Replies: 32 · Views: 14706

ser_pros
Posted on: May 30 2005, 11:53 PM


Hostony staff


Group: Members
Posts: 214
Joined: 11-November 04
Member No.: 1165


Yes you can set up redirection.
In this case you should edit .htaccess using Rewrite Rules.
You will find more information how to do this by the following link:
http://apache.org
  Forum: General Support · Post Preview: #20478 · Replies: 5 · Views: 2909

ser_pros
Posted on: May 30 2005, 11:50 PM


Hostony staff


Group: Members
Posts: 214
Joined: 11-November 04
Member No.: 1165


We'll upgrade ASP.net to ASP.net 2.0 as soon as it comes out of beta.
  Forum: General Support · Post Preview: #20477 · Replies: 3 · Views: 1947

ser_pros
Posted on: May 22 2005, 12:57 PM


Hostony staff


Group: Members
Posts: 214
Joined: 11-November 04
Member No.: 1165


The service status is ok on the server.
Disk space is not overused now.
I've checked your site and it's working properly for me.
  Forum: General Support · Post Preview: #20308 · Replies: 4 · Views: 2493

ser_pros
Posted on: May 22 2005, 11:34 AM


Hostony staff


Group: Members
Posts: 214
Joined: 11-November 04
Member No.: 1165


Hello,
I've checked Cpanel Server Status and it's ok.
Sometimes Cpanel shows wrong results.
In this case we run the following command:
/etc/init.d/chkservd restart
  Forum: General Support · Post Preview: #20306 · Replies: 4 · Views: 2493

ser_pros
Posted on: May 22 2005, 11:33 AM


Hostony staff


Group: Members
Posts: 214
Joined: 11-November 04
Member No.: 1165


Hello,
I've checked Cpanel Server Status and it's ok.
Sometimes Cpanel shows wrong results.
In this case we run the following command:
/etc/init.d/chkservd restart
  Forum: General Support · Post Preview: #20305 · Replies: 4 · Views: 2493

ser_pros
Posted on: May 6 2005, 03:41 AM


Hostony staff


Group: Members
Posts: 214
Joined: 11-November 04
Member No.: 1165


Traxxton.
We have never configure awstats to analyze mail logs.
Please open a trouble ticket and we'll try to configure it for you.
  Forum: General Support · Post Preview: #20048 · Replies: 10 · Views: 5422

9 Pages V   1 2 3 > » 

New Posts  New Replies
No New Posts  No New Replies
Hot topic  Hot Topic (New)
No new  Hot Topic (No New)
Poll  Poll (New)
No new votes  Poll (No New)
Closed  Locked Topic
Moved  Moved Topic
 

Lo-Fi Version Time is now: 25th September 2017 - 04:57 PM