cpanel

Cpanel & Mod Rewrite

so enabling mod_rewrite module for Apache is relativelly straightforward, it involves adding a few lines of configuration in the main apache configuration file (httpd.conf) which is currently located in /etc/httpd/conf/httpd.conf looking at this file I read the header at the top of it which says that the file itself is generated by cpan...

How can I sync a database driven website to a different server

I have a website using cPanel on a dedicated account, I would like to be able to automatically sync the website to a second hosting company or perhaps to a local (in house ) server. Basically this is a type of replication. The website is database driven (MySQL), so Ideally it would sync everything (content, database, emails etc.) , but...

Automated Appointment Reminder

I need to create a web application using php, I had many users having appointments on different days and time. What I need is to send emails say 1 day, 6 hours and 1 hour before their respective appointments, cron job seems to be the option but how to run script at the specific times(when email has to be sent) for every user? ...

website.com/cpanel access

Is it possible to use www.website.com/username(cpanel) instead of www.website.com/cpanel to access the cpanel Please suggest an idea ...

Mixing .htacess wildcard and cpanel pointed subdomains gives 500 internal server error for any subdir of the pointed subdomain

On my site, I've got Wordpress in www.mydomain.co.uk, I've got a search engine on find.mydomain.co.uk, and I've got subusers on a wildcard with a script in a subdirectory to work out what to serve, based on the subdomain. In cpanel, I have, for the subdomain redirect: *.mydomain.co.uk /mydomain find.mydomain.co.uk /mydomain/find in...

Install Postgis in cpanel with an already installed PostgreSQL?

How can i install Postgis in cpanel with an already installed PostgreSQL? ...

Emails backup from cpanel

Hi, can someone please tell me how i can backup emails from cpanel without having to backup the full site? Thanks for answering ...

Installing Hudson remotely?

I'm trying to install Hudson on a server. The article here says to just do java -jar hudson.war and it should install to the server. This is pretty straightforward to do on a local computer, but I want to do it on a remote website host that I manage via cPanel. So how on earth do I do this? I really am a newb when it comes to this sort o...

CPanel and Ruby on Rails issue

I am running CPanel and recently discovered that I can install RubyonRails there too (http://docs.cpanel.net/twiki/bin/view/AllDocumentation/RubyonRails/WebHome) I have the new icon RUBY ON RAILS in my CPanel (after installation following the instruction from the link above). Now when I create a test application, it runs OK but when I c...

Backup cPanel with PHP and upload to another FTP

I have a php script to backup automatically cPanel and upload the .tar.gz concurrently to an FTP server. The script works fine. The script requests the file then starts the ftp transfer and when the upload is complete it send also a confirmation email. The only problem is that even if the backup is, for example, of 1GB the uploaded fi...

Change owner of file uploaded in server

Hi guys, I have trying to overwrite or perform some file operation to the files uploaded in a webserver. Previously I have uploaded the files from joomla extension. It defined its owner as 99. Without changing its owner it my login name i am unable to perform file operation using ftp and cpanel. what can be done? ...

CPanel 11 Auto Login?

Hi everybody. Does anyone know if there's a way to automatically login to CPanel 11 and then redirecting to somewhere else? I've tried everything, some things work better than others, for example, using and iFrame I can achieve this but only in Firefox. Neither XMLHttpRequest nor Curl work. The only solution is recreating the form and au...

Automatic backup

I need to backup automatically daily my database in mysql and all image files on the server. Is there a way to backup these things and send it on my email address ? ...

Hiding URL when redirecting

Hey, Is it possible that I can hide the URL where I redirect in CPANEL. For example : My Website : www.abc.com My other website : www.xyz.com When redirecting from abc.com to xyz.com I want that the adresse stay abc.com ! How can I make it in CPANEL. ?? ...

Redirect failing - "...will never complete"

I am trying to redirect a blog page to a newly updated page. The old entry is gone, but it is indexed in Google, and other people have links to it. I get this error: "The page isn't redirecting properly" "Firefox has detected that the server is redirecting the request for this address in a way that will never complete." The (deleted) ...

Problem with 509 Bandwidth Limit Exceeded

Hey, I'm having this message 509 Bandwidth Limit Exceeded since yesterday because I exceeded my bandwidth for this month, but when I try to go to my cpanel it gives me the same error. How can I do in this case. ...

How Do I Change the Label of a Cpanel Icon?

The Cpanel product for Linux has a way with its SDK to create a new icon for your own custom form and PHP scripts to do various tasks. I joined a project where the original developer is no longer there, and left no documentation. We can change the PHP scripts and the form, but we have not been able to figure out how to change the label f...

how can i change my http secure pages to https in cpanel

how can i change my http sensitive pages to https while i don't now what is difference between http and https and how to do that ...

How to escalate database user permissions to create new databases?

I created new cPanel account, using this account created new database, new database user and connected user to database, simple stuff. Now, I want this particular user to be able to create new databases, how can I escalate this database user's permissions to allow creating new databases? I still want these databases to be associated with...

Moving from dedicated to shared cpanel - any scripts to do all / some of the install tasks ?

Hi, I have a few hundred phpld sites to move - each has its own cpanel, ( & the target may have shared cpanel) & I can do a full cpanel backup on the original server, but I don't have whm on the current host - the backups are fairly easy to organize but the installs so far means picking through files & setting up db's & mail etc by ha...