I am planning to make an application like cPanel/WHM in perl since i never worked out my own server in perl, and i was thinking of a few points that i wanted some advices/help:
cpanel and whm work on ports 2082/3 and 2086/7 to server their panel i was wondering in what language is their server done or if there is a nice module for perl...
Moved
Why does Exim puts emails on hold if there are frozen messages in the queue?
I've a CentOS with CPanel server working as a SMTP server, which currently uses 20 different hostnames and IP addresses to deliver email for an email newsletter service.
However, it's extremely slow in sending emails. It's sending like 10 emails pe...
Ok I creating an application that needs to query records from my remote database. I am logged into phpmyadmin and I need to connect to this from my new PHP application. I have the cpanel access and the phpmyadmin tab. Is there something i can do to get the info needed to do this
$connection = mysql_connect(DB_HOST,DB_USER,DB_PASS,true);...
I have created a pipe script in CPanel and have placed the hashbang:#!/usr/bin/php -q at the beginning of my script. The script does run and places a log of the email into a table in my DB as it should.
But...It sends an email back claiming that the email did not go through and appears as...
This message was created automatically by mai...
In cPanel, they tell you to insert this code into the beginning of Perl files. I'm not sure what it does. I've tried code with and without this in the beginning of the file and it seems to all work the same. I haven't tested that out with cron running the code, but only as myself. By "tested it out", I mean using print lines, databas...
I am trying to setup a Rails environment via CPanel. I've tried on several distinct hosting environments (on all of which I used CPanel to create the project) and I always get the following:
Is this something I've done wrong - I have to first create models/controllers etc - or something I need to bark up my hosting provider's tree abo...
Hi,
I was just glancing through my Cpanel's php.ini EZConfig (basically php.ini; it just allows me to change some settings in php.ini through Cpanel) and noticed track_errors ,
Can someone tell me what this means, i have searched the php website and google and cannot find out what it means exactly?
Thanks
PHPLOVER
...
Hello,
I am ruining the following code:
<?php
if (!isset($_SERVER['PHP_AUTH_USER'])) {
header('WWW-Authenticate: Basic realm="My Realm"');
header('HTTP/1.0 401 Unauthorized');
echo 'Text to send if user hits Cancel button';
exit;
} else {
echo "<p>Hello {$_SERVER['PHP_AUTH_USER']}.</p>";
echo "<p>You entered {$_...
I have CPanel access to a website with a MySQL database.
My question is, I want to give another user access to the database but only through PhpMyAdmin and not the CPanel login. Is there a way?
PS: (I am happy for this person to view, edit and download the data in Excel format)
Cheers
...
I've been referring to http://toroid.org/ams/git-website-howto as a starting point for a production web server running on a managed VPS. The VPS runs cPanel and WHM, and it will eventually host multiple client websites, each with its own cPanel account (thus, each with its own Linux user and home directory from which sites are served). E...
Hello,
I am about to start migrating sites to a clean install of cpanel. I do not have any backup files from the old hacked server but I do have access to the old harddrive. It is mounted on the new server as a drive.
I have found articles such as
http://linuxstuffs.wordpress.com/2008/08/31/directory-structure-of-cpanel/
and
http:...
Hi,
I have the following identical code on my development and production server. It works on the development end, but not on the production side:
<?php
$s = session_start();
mail('[email protected]', 'Site-test', "s=$s; SESSION=".serialize($_SESSION), "MIME...");
Development server shows:
s=1; SESSION=a:4:{s:20:"user_timezone_region";s...
I designed a small website last year in visual web developer. I added a small facility using smtp class, basically it allows people to write comments in a text box and once clicked "send" it sends me an email of whatever they typed.
I am now using cPanel, and there is no .net support from what I can see (I am not using a dedicated serve...
Hi all,
Here is the error from mongrel.log for my particular application. First time i've tried moving it to my web server (running cPanel, obviously not maintained by me...).
Before this was developing locally...can someone provide some pointers with the exception? I've done digging around and have gotten no where.
/home/midoucom/r...
Hi All,
I've setup my rails app in ~/rails_apps/testapp.
I've got it running on port 12004 (there are some issues with mongrel, but i've got it running now so that's sorted i believe).
I've set up the following in my ~/public_html/.htaccess file:
RewriteEngine On
RewriteCond %{HTTP_HOST} ^mysite.com.au$ [OR]
RewriteCond %{HTTP_HOST} ...
Hello,
I am using cpanel standard crontab set-up, I have the path to the file correct but the path leads to a password protected directory ie:
*php /home/example/public_html/admin/script.php*
admin is password protected, how would I allow the crontab access to the script?
Thanks in advance.
...
I am using cpanel and I wanted to grant a user create view privileges. When I created the user and database in cpanel it did not have an option for that.
So I tried to do it in phpmyadmin using
GRANT CREATE VIEW ON (dbname).* TO '(db username)'@'localhost';
and I get the error
#1044 - Access denied for user '(host username)'@'loca...
I'm trying to deploy an PHP application which is written with Zend Framework to a shared cPanel server.
There are not many tutorials available on this area online, however, I followed several of them. It is successful to run the test page which proves the zend framework is installed correctly.
However, since cPanel server has a defaul...
So I'm trying to figure out how to send an email to an address for example, [email protected] and instead of the e-mail going to there it would be instead sent or forwarded to a script that I create to read the contents of the email and store the contents into a database. Any suggestions on how to do it in PHP?
Thanks!
...
How to upgrade GD Library in cPanel VPS. Currently the GD Library doesn't support TTF and I want to use GD Library to support imagettftext function..
Many thanks,
...