Cpanel To Mess Around With At Home

Nov 14, 2008

What is the easiest way to get cpanel to install on a home server to play with it? Do they have some kind of unlimited trial that limits to private class IP range or something? Would be neat to mess around with. I'd run it in a VM in the 10.1.1.x range and afaik their licensing goes by IP so if they see that IP they obviously know its not being used for a real hosting company. (well you technically could nat I suppose...)
I also though of just ordering a cpanel dedicated server to mess around with but prefer to do it at home in a VM, and possibly at no cost. Anyway this can be done (legally)?

View 7 Replies


ADVERTISEMENT

SuPHP - 600 Permissions Mess Up Css/images

Jul 10, 2009

I'm using suphp to secure a shared web hosting server and am confused about one issue I'm having. It is my understanding that using suphp, you should be able to chmod 755 all directories and chmod 600 all files since apache runs the .php files as the user.

However, when I chmod 600 all files, the formatting of the sites gets messed up. It loses all css and if you try to view image files in the browser you get a permission denied error. Why is that?

As a temporary solution, I can chmod 644 all files and then 600 only sensitive files like config files (wp-config.php for WordPress for example), but I'd rather just chmod 600 everything.

Can anyone explain why 600 doesn't work?

With 644 permissions, any user could upload a script like:

Code:
<?php
$filename = realpath("/home/user/public_html/wp-config.php");
$handle = fopen($filename, "r");
$contents = fread($handle, filesize($filename));
fclose($handle);
echo '<textarea name="textareaName" rows="46" cols="103">'.$contents.'</textarea>';
?>
and view another users's file if it is 644.

View 4 Replies View Related

How Does A SuPHP Upgrade Mess Up A Website

Nov 20, 2008

One of my client's website is now hosed.

When I go to all of the html pages, I get a message box that says You have chosen to open [blank line] which is a: text/x-server-parsed-html. The blank line means there is nothing there no filename.

An email from the webhost said that a suPHP upgrade(?) caused this.

The only PHP file I have is one that reads text files to put up on a News page.

I am confused as to exactly how a suPHP upgrade which I have never heard of until today can cause this much damage.

View 10 Replies View Related

Cpanel /home Permission Hardening

Mar 26, 2009

Since this got lost (google cache of thread discussion so far)
[url]
im reposting because i think it was an interesting discussion.

I'm setting up a cpanel server for the first time. I was wondering if i could harden the default cpanel permissions for the user folders in /home The idea is to prevent users viewing each others files. Please don't suggest the php open_basedir option as its not secure and doesn't work with cgi based file browsers.

Note I'm using suexec/suphp.

currently new cpanel users folders are created with
group and user ownership and the permissions 755

I was thinking if i changed this to 711 would this break anything?

Could i lock this down even more by changing the group ownership to "nobody" and thus have permissions 710.

View 3 Replies View Related

Automated CPanel Home Dir Backup - How To

Apr 23, 2007

Is there a way to automate the generation and FTP of home directory backups in Cpanel?

CPanel lets you create a full account backup and ftp's the result to another server but can only be done manually from what i understand. Is there a way to initiate the process automatically? maybe schedule it for once a week.

View 3 Replies View Related

Set Up Cpanel Users To Use Different Partitions (home Dirs)

Dec 1, 2007

Is it possible to specify where your CPanel user's data is stored?

Let's say I have four hard drives without RAID, I have hard drive one on /home, hard drive two on /home2, hard drive three on /home3, and so on. Is it possible to setup users on the different partitions to spread out disk usage?

To explain further, I would like to set it so maybe one reseller account was using /home2, then another was using /home4, and another using /home.

Any ideas on how to go about splitting up user's data across seperate partitions?

View 5 Replies View Related

CPanel | JailShell | How Limit To Only /home/user

Jul 15, 2007

How to forbid the exit to the user too /home/user?

View 1 Replies View Related

CPanel Full Backup Not Saving Home Directory

Sep 28, 2008

I am trying to migrate a server to a new host.

When I try to restore a full backup on my new host, NONE of the home directory files are making the move. Everything else is fine though.

I'm not getting any errors, so I don't have a clue as to why this isn't working.

View 5 Replies View Related

/home/create1/public_html Does Not Exist Or Is Not A Directory! In Cpanel

Oct 30, 2007

created one problem for us cpanel

in create new account:

[an error occurred while processing this directive]

Setting up FrontpageŽ...
/home/create1/public_html does not exist or is not a directory!

View 8 Replies View Related

Home PC For Co-lo

Apr 4, 2007

i was just wondering can we build our own pc and send it to a data center?

I was planning on just building a cheap pc with maybe an xp3000+, 512mb of ram and stack in 2TB worth of HDD space on it, then just pay for the rack space and the b/w

But, is this possible, is a normal midi tower case to big for this?

View 14 Replies View Related

Home Server ...

Apr 16, 2008

I understand the risks of not using a datacenter, but for a smallish site to which uptime isn't key, is it possible to get server-quality bandwidth to my house? (No I don't mean like Gigabit, I mean like upwards of 5mbps)? I'd really like to maintain my own server (probably build one).

I live in Milwaukee, so colocation is, AFAIK, out. And while I can save up for and buy a computer every few years, I cannot sustain $80/month. (I am a middle school student. My income isn't exactly regular.)

So the question... can I get an ISP to let me run a server at decent speeds out of my house? Would its costs exceed colocation or that of a dedicated server?

View 7 Replies View Related

No One Home At Dedishack

Nov 6, 2009

Have had my support ticket open for over a week now, have added a few exta replies to it, no response from them. They haven't been on MSN either.

View 12 Replies View Related

Home Web Server

Mar 15, 2009

I have a spare machine which is fairly fast, i like to know what are the steps to make a web server from home that actually works well, i have a static IP and a fast internet too.

Which operating system works better and any guide to a step by step setup.

View 7 Replies View Related

/home/ Privacy

Apr 14, 2009

How do I keep users from spying on each others files? If I chmod -x /home/ all kinds of crap breaks. Would setting 660 along with setfacl u:apache:rwx work?

View 6 Replies View Related

Own Server At Home

Jun 5, 2008

I want to ask if what are the things needed to establish my own server here at home? What are racks? I did some research but I can't understand it.

What are the things needed? RAM? bandwidth where to get? by the way my location is here in philippines

View 14 Replies View Related

Snort On A Home LAN

Aug 8, 2008

to replace the current router/firewall/gateway on my home LAN with a lower-end PC running pfSense. (A FreeBSD-based distro with a web GUI for managing pf and the like.)

Since the system will be passing all the network traffic anyway, I'm interested in the possibility of having it watch for anything suspicious. Snort is the obvious choice: I want it to spot incoming/outgoing suspicious network activity.

What I wonder, though, is if there is really a lot of benefit to running this on a home LAN? If it was a big corporate network, I could see wanting it to keep an eye on things, but we only have a handful of machines, and they're all pretty secure.

It'd be running on a ~1 GHz PC with 512 MB RAM... Given that the machine would already be acting as firewall/router, caching DNS server, and running PHP/Apache for the management interface / graph generation, is piling Snort on top of that asking for trouble?

View 3 Replies View Related

Home Web Server

Feb 23, 2008

I'm just wondering what the practicalities and problems might be in setting up a web server from home. At the moment we have a 2Mb cable connection but our provider offers a 20Mb connection.

Would it be possible to set up a small hosting business from home with such a connection?

View 5 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved