I am having a problem making a sub directory act as the public_html for my main domain, and getting a solution that works with that domains sub directories too.
Background
My hosting allows me to host multiple sites, which are all working great. I have set up a subfolder under my ~/public_html/ directory called /domains/, where I creat...
Hi everyone,
I was wondering whether it is possible to create a new database and user, from PHP, on an WHM/cPanel server.
Thanks in advance for your answers,
Constantin TOVISI
...
I am wondering what actually happens behind the scenes on the server when I create a Ruby on Rails application through the cPanel interface.
Is it just calling
$ruby script\generate
$ruby script\server
Or is there more to it?
...
how can i install dBase on cpanel/whm with php version 5.3.2, i didn't see the option on EasyApache (Apache Update)
...
Hi I want to run a cron job to call a php script on my server. I am using Cpanel from my web host and these are the options
Minute:
Hour:
Day:
Month:
Weekday:
Command:
I am really strugling to point the command to my file i am using this line /home/abbeysof/public_html/adi/cron/daily.php
but I am getting this error
/bin/sh: /hom...
I am helping re-code a website that allows teachers to text message/email their students about upcoming new/assignments. Students can subscribe to their teacher's notifications by texting/emailing a flag to the inbox.
How would I go about watching these inbox's for incoming messages, to then flag php procedures (using cpanel scripts to...
Hello!
I have a big problem (even my server's admin seems to have some difficulties to solve it).
I used my cpanel (11.25.0-STABLE) to create a new ruby on rails application, which work fine when accessed to its original uri (with port number).
To make that uri more "user friendly", I have created a rewrite to access my RoR applicatio...
Is there a sort of reliable way to programmatically create MySQL databases and MySQL users on shared Linux hosting plans from a PHP page? For instance, accessing cpanel or phpmyadmin through an API or hook if I know my cpanel access information and/or my FTP information?
Occasionally I see this with some sites and products but don't kno...
On Linux-based shared hosting that is administered with cpanel, is there a programmatic way to create, sort of reliably, addon domains for my site if I know my cpanel login information and/or FTP information?
Note: interested in PHP and cpanel in this case.
...
Situation (directories tree) on an Apache server:
maindomain.com/
|
|_ .htaccess (just an empty file, no rule in here)
|
|_ addondomain1.com/
| |
| |_ .htaccess
| |_ index.html
|
|_ addondomain2.com/
|
|_ .htaccess
|_ index.html
Currently files in addondomain1.com can be viewed by going to:
http://www.addondomain1.com/ind...
Hi,
I am experiencing a weird problem.
I have a contact form written in php, in several computers the page works without any problems,
but in two specific computers, as i send the form i get a 403 error.
even weirder is, if the form isn't filled correctly, it doesn't give me the 403.
I gave every folder and file that might be related...
I'm having some issues with a cron job to delete emails after 21 days. I've read through many examples and have tried many different variations of this command but I can't get it to work:
find /home/cont/mail///cur -name "*" -mtime +21 -exec rm {} \;
Currently this runs and I get a message back from every mail box that doesn't have any...
Hi,
I am not a server person and I am having issues with this particular transfer. I have transferred accounts in the past with success.
With this particular transfer, I always come across this error:
ERROR: tar of split archive ran out of space
I increased the quota on the old server for this account but that did not correct the iss...
Why in cpanel database size is showing 0.00MB while when i take backup of database then it is 1.2 MB?
...
hi,
I'm having a Linux Webhosting account with cpanel & whm..
i also see something ssh on cpanel.. i have heard about tunneling to make proxy.
my friend is having VPS server and is able to make tunneling using ssh via 443port.
i need to know if there is some possibility to make proxy browsing using my webhosting account..
i google...
I want to make an email forwarder similar to cPanel's, where I have a database of email addresses, and where they should forward to, and I set a catch-all to pipe to my script.
I have completed this script, however, I would like to make the "To:" field in the header show the address it was sent to, rather than who is was being delivered...
Is it ok to use WHM's automatic backup tool to backup all accounts to a subfolder inside the /home/ directory such as /home/backups/?
In the whm backup manager there's a big bold line saying "Setting this to /home is a very bad idea." :)
Main reason being obviously the /home/ partition has all the disk space allocation, we'd like to ba...
You've seen it done on sites like basecamphq.com where you would have username.basecamphq.com
I'm wanting to do a similar thing, any subdomain is routed through to the same index.php file.
so username1.example.com will request /home/some/path/to/www (in here is index.php)
and username2.example.com will request the same file
I have it ...
Hello,
Can someone tell me how to correctly setup the main nameservers in WHM?
I have 5 usable IPs and I followed WHM setup instructions normally but they are not showing in Main >> Networking Setup >> Nameserver IPs.
Note: the main server site is working!
Please help.
...
Hello!
I've never set a Cronjob before.
Is it enough to just write the php file I want to execute (in this case send a mail every 24h) and follow through the CPanel GUI prompts?
Thanks!
...